[Bf-blender-cvs] [f0cfa94d94c] master: Fix T95397: Grease Pencil Icons do not match in Outliner vs Dope Sheet Editor

Antonio Vazquez noreply at git.blender.org
Wed Feb 2 16:33:32 CET 2022


Commit: f0cfa94d94c70b2410cc9e7474ebb3c6edcb2e16
Author: Antonio Vazquez
Date:   Wed Feb 2 16:33:15 2022 +0100
Branches: master
https://developer.blender.org/rBf0cfa94d94c70b2410cc9e7474ebb3c6edcb2e16

Fix T95397: Grease Pencil Icons do not match in Outliner vs Dope Sheet Editor

There was an inconsistency between icons.

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

M	source/blender/editors/animation/anim_channels_defines.c

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

diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index 2eaa42ee578..5afb9334612 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -3418,7 +3418,7 @@ static void acf_gpd_color(bAnimContext *UNUSED(ac), bAnimListElem *UNUSED(ale),
 /* TODO: just get this from RNA? */
 static int acf_gpd_icon(bAnimListElem *UNUSED(ale))
 {
-  return ICON_GREASEPENCIL;
+  return ICON_OUTLINER_OB_GREASEPENCIL;
 }
 
 /* check if some setting exists for this channel */



More information about the Bf-blender-cvs mailing list