Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / depsgraph.cc
index a87358187f26902d2e7c3d3444a9a5de8cfb6e9d..c90279b0e90d1bd9050558e4f024c82640bfffb1 100644 (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)) {