Blender Git Loki

Git Commits -> Revision f543fe1

Revision f543fe1 by Ton Roosendaal (master)
December 23, 2010, 13:16 (GMT)
Bugfix #25341

Child-of constraint issue: on adding, it wasn't checking owner
correctly for Bones, resulting in a constraint working in wrong
space; it looked as if transform was applied double when moving
the object. Only adding via Py API went wrong btw.

Also found a silly check for drawing constraints, which caused
constraint initialization to happen for every object on every
redraw!

Implementation note: con->flag CONSTRAINT_SPACEONCE was only used
for child-of constraints in Bones, so I've patched it on file
reading to always set the flag. Marked with XXX, so it can be
removed one day. Now at least things get corrected well for
imported armatures.




Commit Details:

Full Hash: f543fe1500740d1d8adc03d61a3506cf800e80fc
SVN Revision: 33876
Parent Commit: 1ea491d
Lines Changed: +12, -4

5 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+6, -0) (Diff)
/source/blender/editors/armature/poseobject.c (+1, -1) (Diff)
/source/blender/editors/object/object_constraint.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021