diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-27 04:29:40 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-27 04:29:40 +0300 |
commit | 18aece4424f29b7d560373843fd41002862aa575 (patch) | |
tree | 0f123315423ecb4b7f050846153e03fe386c887d /source/blender | |
parent | 6a2e5ad59913a486752699095a8bcd1713b0ad60 (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.c | 2 |
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); |