Depsgraph: Fix missing update with animated curve path
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Apr 2018 12:53:54 +0000 (14:53 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 Apr 2018 12:53:54 +0000 (14:53 +0200)
source/blender/depsgraph/intern/depsgraph.cc

index da7ac03146ec20bd4c834e4921bf44045faa890c..34fb20ee2bace1f9ee73b21e37f2f54ed0a1f80a 100644 (file)
@@ -214,6 +214,11 @@ static bool pointer_to_component_node_criteria(
                *subdata = seq->name; // xxx?
                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)) {