diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 15:55:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 15:55:38 +0300 |
commit | 054d7038cc97ee022baec6aef7c6e6deff0e56f1 (patch) | |
tree | 59a51769671f0a63f4502f79b2aaa7d31c70500c | |
parent | 4529192157135bfdc5f5fb48c798f7b205f25570 (diff) | |
parent | 0ca7a78f20db6f34bf158f671fc5bbc32ee5702c (diff) |
Merge branch 'master' into blender2.8
-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 a87358187f2..c90279b0e90 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -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)) { |