[Bf-blender-cvs] [538888e] alembic_basic_io: Fix missing depsgraph update of new constraint.

Kévin Dietrich noreply at git.blender.org
Mon May 30 09:51:07 CEST 2016


Commit: 538888eafff862dc1c7e06051771454627331189
Author: Kévin Dietrich
Date:   Mon May 30 08:50:31 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB538888eafff862dc1c7e06051771454627331189

Fix missing depsgraph update of new constraint.

Only covers old depsgraph for now.

===================================================================

M	source/blender/blenkernel/intern/depsgraph.c

===================================================================

diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 14c230e..1535b48 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2173,7 +2173,7 @@ static void dag_object_time_update_flags(Main *bmain, Scene *scene, Object *ob)
 			
 			if (cti) {
 				/* special case for camera tracking -- it doesn't use targets to define relations */
-				if (ELEM(cti->type, CONSTRAINT_TYPE_FOLLOWTRACK, CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_OBJECTSOLVER)) {
+				if (ELEM(cti->type, CONSTRAINT_TYPE_FOLLOWTRACK, CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_OBJECTSOLVER, CONSTRAINT_TYPE_TRANSFORMCACHE)) {
 					ob->recalc |= OB_RECALC_OB;
 				}
 				else if (cti->get_constraint_targets) {




More information about the Bf-blender-cvs mailing list