[Bf-blender-cvs] [0ca7a78f20d] master: Depsgraph: Fix missing update with animated curve path

Sergey Sharybin noreply at git.blender.org
Mon Apr 23 14:54:09 CEST 2018


Commit: 0ca7a78f20db6f34bf158f671fc5bbc32ee5702c
Author: Sergey Sharybin
Date:   Mon Apr 23 14:53:54 2018 +0200
Branches: master
https://developer.blender.org/rB0ca7a78f20db6f34bf158f671fc5bbc32ee5702c

Depsgraph: Fix missing update with animated curve path

===================================================================

M	source/blender/depsgraph/intern/depsgraph.cc

===================================================================

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)) {



More information about the Bf-blender-cvs mailing list