[Bf-blender-cvs] [9ecbae6] depsgraph_refactor: Depsgraph: Correction to previous commit: non-geometry objects had more than one parameter eval nodes
Sergey Sharybin
noreply at git.blender.org
Wed Apr 1 17:20:21 CEST 2015
Commit: 9ecbae61d6e6261473008be6a1868560bbb4f80e
Author: Sergey Sharybin
Date: Wed Apr 1 20:17:14 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB9ecbae61d6e6261473008be6a1868560bbb4f80e
Depsgraph: Correction to previous commit: non-geometry objects had more than one parameter eval nodes
===================================================================
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 474cd2e..3e3cc86 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
@@ -374,13 +374,6 @@ void DepsgraphNodeBuilder::build_object(Scene *scene, Base *base, Object *ob)
/* standard components */
build_object_transform(scene, ob);
- /* TODO(sergey): This way using this object's
- * proeprties as driver target works fine.
- *
- * Does this depend on other nodes?
- */
- add_operation_node(&ob->id, DEPSNODE_TYPE_PARAMETERS, DEPSOP_TYPE_POST, NULL,
- DEG_OPCODE_PLACEHOLDER, "Parameters Eval");
/* object data */
if (ob->data) {
@@ -393,6 +386,14 @@ void DepsgraphNodeBuilder::build_object(Scene *scene, Base *base, Object *ob)
case OB_MBALL:
case OB_LATTICE:
{
+ /* TODO(sergey): This way using this object's
+ * proeprties as driver target works fine.
+ *
+ * Does this depend on other nodes?
+ */
+ add_operation_node(&ob->id, DEPSNODE_TYPE_PARAMETERS, DEPSOP_TYPE_POST, NULL,
+ DEG_OPCODE_PLACEHOLDER, "Parameters Eval");
+
build_obdata_geom(scene, ob);
/* TODO(sergey): Only for until we support granular
* update of curves.
More information about the Bf-blender-cvs
mailing list