UI: remove unused emboss-table define
This commit is contained in:
@@ -102,8 +102,7 @@ enum {
|
||||
UI_EMBOSS = 0, /* use widget style for drawing */
|
||||
UI_EMBOSS_NONE = 1, /* Nothing, only icon and/or text */
|
||||
UI_EMBOSS_PULLDOWN = 2, /* Pulldown menu style */
|
||||
UI_EMBOSS_TABLE = 3, /* Table */
|
||||
UI_EMBOSS_RADIAL = 4, /* Pie Menu */
|
||||
UI_EMBOSS_RADIAL = 3, /* Pie Menu */
|
||||
};
|
||||
|
||||
/* uiBlock->direction */
|
||||
|
@@ -3517,7 +3517,8 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
|
||||
wt = widget_type(UI_WTYPE_MENU_ITEM_RADIAL);
|
||||
}
|
||||
else {
|
||||
|
||||
BLI_assert(but->dt == UI_EMBOSS);
|
||||
|
||||
switch (but->type) {
|
||||
case UI_BTYPE_LABEL:
|
||||
if (but->block->flag & UI_BLOCK_LOOP)
|
||||
|
@@ -775,8 +775,6 @@ static void outliner_draw_rnabuts(uiBlock *block, Scene *scene, ARegion *ar, Spa
|
||||
TreeStoreElem *tselem;
|
||||
PointerRNA *ptr;
|
||||
PropertyRNA *prop;
|
||||
|
||||
UI_block_emboss_set(block, UI_EMBOSS_TABLE);
|
||||
|
||||
for (te = lb->first; te; te = te->next) {
|
||||
tselem = TREESTORE(te);
|
||||
|
Reference in New Issue
Block a user