diff options
author | Ton Roosendaal <ton@blender.org> | 2012-11-09 19:00:27 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-11-09 19:00:27 +0400 |
commit | 1d90323637d55cc07cbdc9a5a5005e6dc5eb2b5f (patch) | |
tree | 99996ffc7e2dfbc8253746693b7db0097e4e3b38 /source/blender/editors/interface | |
parent | 6cdb555e6ebef2b9c3dde8672deef027d9d70d1a (diff) |
UI scripting:
Layout separator should end button aligning.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index c6e25ab9a34..e2f105b5761 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -2424,7 +2424,7 @@ void uiBlockEndAlign(uiBlock *block) int ui_but_can_align(uiBut *but) { - return !ELEM3(but->type, LABEL, OPTION, OPTIONN); + return !ELEM4(but->type, LABEL, OPTION, OPTIONN, SEPR); } static void ui_block_do_align_but(uiBut *first, short nr) |