Depsgraph: Fix face dependency cycle when bone uses id property from self

This commit is contained in:
Sergey Sharybin
2018-07-11 10:19:56 +02:00
parent d0920fba16
commit 0ed54cf9ba

View File

@@ -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. */