From 0ed54cf9ba9f5b5df8fbcbe15243dd88621205a0 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 11 Jul 2018 10:19:56 +0200 Subject: Depsgraph: Fix face dependency cycle when bone uses id property from self --- source/blender/depsgraph/intern/depsgraph.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender') 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. */ -- cgit v1.2.3