[Bf-blender-cvs] [b81b1279288] master: GPencil: Remove background to Dopesheet buttons

Antonio Vazquez noreply at git.blender.org
Wed Mar 18 13:06:13 CET 2020


Commit: b81b127928898fc85003dc53e7a8ba10344e76da
Author: Antonio Vazquez
Date:   Wed Mar 18 13:05:55 2020 +0100
Branches: master
https://developer.blender.org/rBb81b127928898fc85003dc53e7a8ba10344e76da

GPencil: Remove background to Dopesheet buttons

This was missing in previous commit.

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

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 07743f3b4bd..949d7008820 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -5318,6 +5318,7 @@ void ANIM_channel_draw_widgets(const bContext *C,
 
             /* Layer onion skinning switch. */
             offset -= ICON_WIDTH;
+            UI_block_emboss_set(block, UI_EMBOSS_NONE);
             prop = RNA_struct_find_property(&ptr, "use_onion_skinning");
             gp_rna_path = RNA_path_from_ID_to_property(&ptr, prop);
             if (RNA_path_resolve_property(&id_ptr, gp_rna_path, &ptr, &prop)) {



More information about the Bf-blender-cvs mailing list