Depsgraph: Fix node sockets as driver variables

Fixes empty not moving int deg_anim_material_driving_empty.

Reported by Mai in IRC, thanks!
This commit is contained in:
Sergey Sharybin
2018-02-07 10:57:54 +01:00
parent da128c12b5
commit 60eef5c7ff

View File

@@ -220,6 +220,10 @@ static bool pointer_to_component_node_criteria(
*subdata = seq->name; // xxx?
return true;
}
else if (RNA_struct_is_a(ptr->type, &RNA_NodeSocket)) {
*type = DEG_NODE_TYPE_SHADING;
return true;
}
if (prop != NULL) {
/* All unknown data effectively falls under "parameter evaluation". */
*type = DEG_NODE_TYPE_PARAMETERS;