[Bf-blender-cvs] [6510e40] master: Fix T45240: New depsgraph ignores animation applied on the curve data

Sergey Sharybin noreply at git.blender.org
Tue Jun 30 18:11:52 CEST 2015


Commit: 6510e4050089451fcb1182f9553f2609377fbbcd
Author: Sergey Sharybin
Date:   Tue Jun 30 18:11:21 2015 +0200
Branches: master
https://developer.blender.org/rB6510e4050089451fcb1182f9553f2609377fbbcd

Fix T45240: New depsgraph ignores animation applied on the curve data

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

M	source/blender/depsgraph/intern/depsgraph_build_relations.cc

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
index 8ee113e..9bd448a 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
@@ -1690,6 +1690,10 @@ void DepsgraphRelationBuilder::build_obdata_geom(Main *bmain, Scene *scene, Obje
 		ComponentKey parameters_key(obdata, DEPSNODE_TYPE_PARAMETERS);
 		add_relation(animation_key, parameters_key,
 		             DEPSREL_TYPE_COMPONENT_ORDER, "Geom Parameters");
+		/* Evaluation usually depends on animation.
+		 * TODO(sergey): Need to re-hook it after granular update is implemented..
+		 */
+		add_relation(animation_key, obdata_geom_eval_key, DEPSREL_TYPE_GEOMETRY_EVAL, "Animation");
 	}
 }




More information about the Bf-blender-cvs mailing list