Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2005-04-10 03:38:35 +0400
committerChris Want <cwant@ualberta.ca>2005-04-10 03:38:35 +0400
commitae91ba8ba6c08a734d588dc46a2ecded4459e3fd (patch)
tree21ae03fcbbfa72da73181911b733d60e57cc6fcb /source/blender/src/transform.c
parent6275dd5b14e94f06e73bc97ed5ee244f215fffeb (diff)
Fix for bug #1576.
Constraints on bones that point to objects/bones outside of an armature weren't working. The figure_pose_updating() does a bunch of flagging based on the constraints on the scene to figure out what armatures/bones need updating (even when it is not the armature that is being manipulated).
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index e7d4b3bc22d..fb3efe60a5f 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -1407,7 +1407,14 @@ static void createTransObject(TransInfo *t)
reset_slowparents();
set_trans_object_base_flags(t);
-
+
+ /* this has to be done, or else constraints on armature
+ * bones that point to objects/bones that are outside
+ * of the armature don't work outside of posemode
+ * (and yes, I know it's confusing ...).
+ */
+ figure_pose_updating();
+
/* count */
for(base= FIRSTBASE; base; base= base->next) {
if TESTBASELIB(base) {