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:
authorJoshua Leung <aligorith@gmail.com>2011-01-27 04:29:40 +0300
committerJoshua Leung <aligorith@gmail.com>2011-01-27 04:29:40 +0300
commit18aece4424f29b7d560373843fd41002862aa575 (patch)
tree0f123315423ecb4b7f050846153e03fe386c887d /source/blender
parent6a2e5ad59913a486752699095a8bcd1713b0ad60 (diff)
Bugfix [#25823] When objects are parented to the same objects that
they have some rotation-affecting constraint (i.e. Track To and Copy Rotation) targetting, transforming the objects (directly, using GKEY -> grab) becomes unreliable. This was caused by a typo in some code checking for some OB_NO_CONSTRAINTS under "flag" instead of "transflag"
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 43a13b27736..0b9798f861b 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -2068,7 +2068,7 @@ void where_is_object_time(Scene *scene, Object *ob, float ctime)
}
/* solve constraints */
- if (ob->constraints.first && !(ob->flag & OB_NO_CONSTRAINTS)) {
+ if (ob->constraints.first && !(ob->transflag & OB_NO_CONSTRAINTS)) {
bConstraintOb *cob;
cob= constraints_make_evalob(scene, ob, NULL, CONSTRAINT_OBTYPE_OBJECT);