[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34521] trunk/blender/source/blender/ blenkernel/intern/object.c: Bugfix [#25823] When objects are parented to the same objects that

Joshua Leung aligorith at gmail.com
Thu Jan 27 02:29:42 CET 2011


Revision: 34521
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34521
Author:   aligorith
Date:     2011-01-27 01:29:40 +0000 (Thu, 27 Jan 2011)
Log Message:
-----------
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"

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/object.c

Modified: trunk/blender/source/blender/blenkernel/intern/object.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/object.c	2011-01-27 00:02:25 UTC (rev 34520)
+++ trunk/blender/source/blender/blenkernel/intern/object.c	2011-01-27 01:29:40 UTC (rev 34521)
@@ -2068,7 +2068,7 @@
 	}
 
 	/* 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);




More information about the Bf-blender-cvs mailing list