diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-11 17:08:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-11 17:08:54 +0400 |
commit | 4bf4c4111e63466c42987e185d8f2e09d7b17186 (patch) | |
tree | 8d8e329932bfdaf3e940fb7394a267b7bb8a58a5 /source/blender/editors/space_buttons | |
parent | c0a13322cdea417885ce9f88d0b42ff0ef62483c (diff) |
Own recent removal of string encoded menus missed render layers/passes
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_texture.c b/source/blender/editors/space_buttons/buttons_texture.c index eb992b65010..7c42ea9a13b 100644 --- a/source/blender/editors/space_buttons/buttons_texture.c +++ b/source/blender/editors/space_buttons/buttons_texture.c @@ -576,8 +576,8 @@ void uiTemplateTextureUser(uiLayout *layout, bContext *C) } /* some cosmetic tweaks */ - but->type = MENU; - but->drawflag |= UI_BUT_TEXT_LEFT; + uiButSetMenuFromPulldown(but); + but->flag &= ~UI_ICON_SUBMENU; } |