Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-11-09 19:00:27 +0400
committerTon Roosendaal <ton@blender.org>2012-11-09 19:00:27 +0400
commit1d90323637d55cc07cbdc9a5a5005e6dc5eb2b5f (patch)
tree99996ffc7e2dfbc8253746693b7db0097e4e3b38 /source/blender/editors/interface/interface.c
parent6cdb555e6ebef2b9c3dde8672deef027d9d70d1a (diff)
UI scripting:
Layout separator should end button aligning.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c2
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)