diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-11 11:19:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-07-11 11:19:56 +0300 |
commit | 0ed54cf9ba9f5b5df8fbcbe15243dd88621205a0 (patch) | |
tree | dfcc279841804281e78cb274363cc856a658b519 /source/blender | |
parent | d0920fba1609b864adb38f0ec469e6b1581890e4 (diff) |
Depsgraph: Fix face dependency cycle when bone uses id property from self
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc index 34fb20ee2ba..241c3fb9ac3 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -128,9 +128,9 @@ static bool pointer_to_component_node_criteria( bPoseChannel *pchan = (bPoseChannel *)ptr->data; if (prop != NULL && RNA_property_is_idprop(prop)) { *type = DEG_NODE_TYPE_PARAMETERS; - *subdata = ""; - *operation_code = DEG_OPCODE_PARAMETERS_EVAL; - *operation_name = pchan->name; + *operation_code = DEG_OPCODE_ID_PROPERTY; + *operation_name = RNA_property_identifier((PropertyRNA *)prop); + *operation_name_tag = -1; } else { /* Bone - generally, we just want the bone component. */ |