Merge branch 'master' into blender2.8
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Apr 2018 12:55:38 +0000 (14:55 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Apr 2018 12:55:38 +0000 (14:55 +0200)
1  2 
source/blender/depsgraph/intern/depsgraph.cc

index a87358187f26902d2e7c3d3444a9a5de8cfb6e9d,34fb20ee2bace1f9ee73b21e37f2f54ed0a1f80a..c90279b0e90d1bd9050558e4f024c82640bfffb1
@@@ -232,10 -214,11 +232,15 @@@ static bool pointer_to_component_node_c
                *subdata = seq->name; // xxx?
                return true;
        }
 +      else if (RNA_struct_is_a(ptr->type, &RNA_NodeSocket)) {
 +              *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)) {