Merge branch 'master' into blender2.8
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 11 Jul 2018 08:23:54 +0000 (10:23 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 11 Jul 2018 08:23:54 +0000 (10:23 +0200)
source/blender/depsgraph/intern/depsgraph.cc

index ddc6e44ee1beec46802f9bbd889cfd835d1f8845..2a24d72eb67f99ceefe776b98ec954b9b43408dd 100644 (file)
@@ -140,9 +140,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. */