diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-04 20:24:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-06 12:21:33 +0300 |
commit | 9f9b666d9a281e813c50ee2de8337713066482f1 (patch) | |
tree | fa808c74042946cc2a4789e6f5903a8fe810ce52 /source/blender/depsgraph | |
parent | b5a8d0acaf86f3767b2ec9e6e9ccc7d859dc67b9 (diff) |
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.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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; |