[Bf-blender-cvs] [4e8532c1450] modifier-panels-ui: Remove emboss around modifier remove button.
William Reynish
noreply at git.blender.org
Mon Apr 6 12:55:56 CEST 2020
Commit: 4e8532c145061aa9d9b43a7019e861cd07d3cd1f
Author: William Reynish
Date: Mon Apr 6 12:55:08 2020 +0200
Branches: modifier-panels-ui
https://developer.blender.org/rB4e8532c145061aa9d9b43a7019e861cd07d3cd1f
Remove emboss around modifier remove button.
===================================================================
M source/blender/modifiers/intern/MOD_ui_common.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c
index 71c04c48e5b..c7a92fda492 100644
--- a/source/blender/modifiers/intern/MOD_ui_common.c
+++ b/source/blender/modifiers/intern/MOD_ui_common.c
@@ -324,12 +324,9 @@ static void modifier_panel_header_modes(const bContext *C, Panel *panel)
uiItemR(row, &ptr, "show_render", 0, "", ICON_NONE);
}
- uiItemS(layout);
-
row = uiLayoutRow(layout, false);
+ uiLayoutSetEmboss(row, UI_EMBOSS_NONE);
uiItemO(row, "", ICON_X, "OBJECT_OT_modifier_remove");
-
- uiItemS(layout);
}
/**
More information about the Bf-blender-cvs
mailing list