[Bf-blender-cvs] [9f9b666d9a2] master: Depsgraph: Correct fallback for the parameters calculation
Sergey Sharybin
noreply at git.blender.org
Wed Dec 6 10:32:49 CET 2017
Commit: 9f9b666d9a281e813c50ee2de8337713066482f1
Author: Sergey Sharybin
Date: Mon Dec 4 18:24:38 2017 +0100
Branches: master
https://developer.blender.org/rB9f9b666d9a281e813c50ee2de8337713066482f1
Depsgraph: Correct fallback for the parameters calculation
We can't use a single component here, sine it might consist of multiple
operations. So, for example, having driver operation will confuse targets
of another driver.
===================================================================
M source/blender/depsgraph/intern/depsgraph.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index 0cc31a53732..e7811ce47fb 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -204,6 +204,9 @@ static bool pointer_to_component_node_criteria(
if (prop != NULL) {
/* All unknown data effectively falls under "parameter evaluation". */
*type = DEG_NODE_TYPE_PARAMETERS;
+ *operation_code = DEG_OPCODE_PARAMETERS_EVAL;
+ *operation_name = "";
+ *operation_name_tag = -1;
return true;
}
return false;
More information about the Bf-blender-cvs
mailing list