diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 15:53:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 15:53:54 +0300 |
commit | 0ca7a78f20db6f34bf158f671fc5bbc32ee5702c (patch) | |
tree | bd88c81992a77fd45d406cd0165a17c529dd77c4 /source/blender/depsgraph | |
parent | 41cf2d9042bfe96d8515ffd2f27a3e671464bc21 (diff) |
Depsgraph: Fix missing update with animated curve path
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc index da7ac03146e..34fb20ee2ba 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -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)) { |