[Bf-blender-cvs] [4c542f6c37d] greasepencil-object: Fix: Added "missing link" preventing depsgraph id_tag getting to GPencil updates

Joshua Leung noreply at git.blender.org
Sat Nov 4 05:48:52 CET 2017


Commit: 4c542f6c37d3687096390654c9cd9503a1c23a0f
Author: Joshua Leung
Date:   Sat Nov 4 13:07:13 2017 +1300
Branches: greasepencil-object
https://developer.blender.org/rB4c542f6c37d3687096390654c9cd9503a1c23a0f

Fix: Added "missing link" preventing depsgraph id_tag getting to GPencil updates

This was causing problems like making the modifier show/hide button not
work for Grease Pencil objects

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 8c7afa89033..edb3f27db91 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -165,6 +165,7 @@ void id_tag_update_object_data(Depsgraph *graph, IDDepsNode *id_node)
 				case OB_SURF:
 				case OB_FONT:
 				case OB_MBALL:
+				case OB_GPENCIL:
 					data_comp = id_node->find_component(DEG_NODE_TYPE_GEOMETRY);
 					break;
 				case OB_ARMATURE:



More information about the Bf-blender-cvs mailing list