Merge branch 'master' into blender2.8

This commit is contained in:
Sergey Sharybin 2018-04-23 14:55:38 +02:00
commit 054d7038cc
1 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,11 @@ static bool pointer_to_component_node_criteria(
*type = DEG_NODE_TYPE_SHADING;
return true;
}
else if (ptr->type == &RNA_Curve) {
*id = (ID *)ptr->id.data;
*type = DEG_NODE_TYPE_GEOMETRY;
return true;
}
if (prop != NULL) {
/* All unknown data effectively falls under "parameter evaluation". */
if (RNA_property_is_idprop(prop)) {