[Bf-blender-cvs] [8e887ce] depsgraph_refactor: Depsgraph: Mark geometry uber eval as the post operation

Sergey Sharybin noreply at git.blender.org
Wed Dec 31 16:51:25 CET 2014


Commit: 8e887ce48bc5882ba1d672b200da5e16a5060c70
Author: Sergey Sharybin
Date:   Wed Dec 31 20:47:13 2014 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB8e887ce48bc5882ba1d672b200da5e16a5060c70

Depsgraph: Mark geometry uber eval as the post operation

This way geometry component has proper exit operation which makes
relations happy.

it is still not enough to make the most simple scene here to work.

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

M	source/blender/depsgraph/intern/depsgraph_build_nodes.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
index 881c875..6fee6cb 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
@@ -269,7 +269,7 @@ void DepsgraphNodeBuilder::build_object(Scene *scene, Base *base, Object *ob)
 	if (ob->type != OB_ARMATURE) {
 		/* Armatures does no longer require uber node. */
 		add_operation_node(&ob->id, DEPSNODE_TYPE_GEOMETRY,
-		                   DEPSOP_TYPE_EXEC, function_bind(BKE_object_eval_uber_data, _1, scene, ob),
+		                   DEPSOP_TYPE_POST, function_bind(BKE_object_eval_uber_data, _1, scene, ob),
 		                   DEG_OPCODE_GEOMETRY_UBEREVAL);
 	}




More information about the Bf-blender-cvs mailing list