From 18aece4424f29b7d560373843fd41002862aa575 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 27 Jan 2011 01:29:40 +0000 Subject: [PATCH] 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" --- source/blender/blenkernel/intern/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);