Blender Git Commit Log
Git Commits -> Revision cf2baa5
Revision cf2baa5 by Sebastian Parborg (master) April 8, 2021, 13:52 (GMT) |
Fix T81707: Spline IK Joints "Floating" above curve The issue was that where_on_path uses a resampled curve to get the data from the curve. This leads to disconnects between the curve the user sees and the evaluated location data. To fix this we simply use the actual curve data the user can see. The older code needed a cleanup either way as there were hacks in other parts of the code trying to work around some brokenness. This is now fixed and we no longer need to clamp the evaluation range to 0-1 or make helper functions to make it do what we actually want. Reviewed By: Campbell, Sybren Differential Revision: https://developer.blender.org/D10898 |
Commit Details:
Full Hash: cf2baa585cc8788b29147d6e34fa8c46609e5bf9
Parent Commit: f031791
Lines Changed: +310, -350
16 Modified Paths:
/source/blender/blenkernel/BKE_anim_path.h (+17, -11) (Diff)
/source/blender/blenkernel/BKE_curve.h (+8, -1) (Diff)
/source/blender/blenkernel/intern/anim_path.c (+227, -186) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/constraint.c (+10, -25) (Diff)
/source/blender/blenkernel/intern/curve_deform.c (+11, -75) (Diff)
/source/blender/blenkernel/intern/displist.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/font.c (+5, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+3, -4) (Diff)
/source/blender/editors/object/object_relations.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+0, -19) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+3, -2) (Diff)
/source/blender/blenkernel/BKE_curve.h (+8, -1) (Diff)
/source/blender/blenkernel/intern/anim_path.c (+227, -186) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/constraint.c (+10, -25) (Diff)
/source/blender/blenkernel/intern/curve_deform.c (+11, -75) (Diff)
/source/blender/blenkernel/intern/displist.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/font.c (+5, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+3, -4) (Diff)
/source/blender/editors/object/object_relations.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+0, -19) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+2, -1) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+3, -2) (Diff)