[Bf-blender-cvs] [1cdcd77831e] greasepencil-object: Fix one of many warnings ...

Dalai Felinto noreply at git.blender.org
Tue Jan 23 15:15:51 CET 2018


Commit: 1cdcd77831e49d93183ba9d2e52d1b07c3f76856
Author: Dalai Felinto
Date:   Tue Jan 23 12:14:02 2018 -0200
Branches: greasepencil-object
https://developer.blender.org/rB1cdcd77831e49d93183ba9d2e52d1b07c3f76856

Fix one of many warnings ...

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

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 807f0ffef71..080ac4896f6 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -93,7 +93,6 @@ void depsgraph_geometry_tag_to_component(const ID *id,
 				case OB_SURF:
 				case OB_FONT:
 				case OB_MBALL:
-					*component_type = DEG_NODE_TYPE_GEOMETRY;
 				case OB_GPENCIL:
 					*component_type = DEG_NODE_TYPE_GEOMETRY;
 					break;



More information about the Bf-blender-cvs mailing list