Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-04-23 15:53:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-04-23 15:53:54 +0300
commit0ca7a78f20db6f34bf158f671fc5bbc32ee5702c (patch)
treebd88c81992a77fd45d406cd0165a17c529dd77c4 /source/blender/depsgraph
parent41cf2d9042bfe96d8515ffd2f27a3e671464bc21 (diff)
Depsgraph: Fix missing update with animated curve path
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.cc5
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)) {