[Bf-blender-cvs] [a352baccc39] blender-v2.91-release: Fix grease pencil draw mode icon color in outliner

Nathan Craddock noreply at git.blender.org
Wed Nov 18 03:52:31 CET 2020


Commit: a352baccc399378333c4352ed83772b49f7ba852
Author: Nathan Craddock
Date:   Tue Nov 17 18:49:33 2020 -0700
Branches: blender-v2.91-release
https://developer.blender.org/rBa352baccc399378333c4352ed83772b49f7ba852

Fix grease pencil draw mode icon color in outliner

ICON_GREASEPENCIL was defined as an object data icon when it was used as
a mode icon. This caused it to draw green in the outliner.

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

M	source/blender/editors/include/UI_icons.h

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

diff --git a/source/blender/editors/include/UI_icons.h b/source/blender/editors/include/UI_icons.h
index d99ecf2fd56..b7eb5cab7f9 100644
--- a/source/blender/editors/include/UI_icons.h
+++ b/source/blender/editors/include/UI_icons.h
@@ -263,7 +263,7 @@ DEF_ICON(LIBRARY_DATA_BROKEN)
 DEF_ICON(BOIDS)
 DEF_ICON(STRANDS)
 DEF_ICON(LIBRARY_DATA_INDIRECT)
-DEF_ICON_OBJECT_DATA(GREASEPENCIL)
+DEF_ICON(GREASEPENCIL)
 DEF_ICON_SHADING(LINE_DATA)
 DEF_ICON(LIBRARY_DATA_OVERRIDE)
 DEF_ICON(GROUP_BONE)



More information about the Bf-blender-cvs mailing list