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:55:38 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-04-23 15:55:38 +0300
commit054d7038cc97ee022baec6aef7c6e6deff0e56f1 (patch)
tree59a51769671f0a63f4502f79b2aaa7d31c70500c /source/blender/depsgraph/intern
parent4529192157135bfdc5f5fb48c798f7b205f25570 (diff)
parent0ca7a78f20db6f34bf158f671fc5bbc32ee5702c (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/depsgraph/intern')
-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 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)) {