[Bf-blender-cvs] [8e9c16b0cf4] master: Fix T59072: Text extrusion cannot be animated

Sergey Sharybin noreply at git.blender.org
Thu Jan 3 15:48:07 CET 2019


Commit: 8e9c16b0cf488d3e849405387f7b2e6cf8d7d57a
Author: Sergey Sharybin
Date:   Thu Jan 3 15:44:53 2019 +0100
Branches: master
https://developer.blender.org/rB8e9c16b0cf488d3e849405387f7b2e6cf8d7d57a

Fix T59072: Text extrusion cannot be animated

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index 2982225bc3a..dabab482eff 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -261,7 +261,7 @@ static bool pointer_to_component_node_criteria(
 		*type = DEG_NODE_TYPE_SHADING;
 		return true;
 	}
-	else if (ptr->type == &RNA_Curve) {
+	else if (ELEM(ptr->type, &RNA_Curve, &RNA_TextCurve)) {
 		*id = (ID *)ptr->id.data;
 		*type = DEG_NODE_TYPE_GEOMETRY;
 		return true;



More information about the Bf-blender-cvs mailing list