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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-06-11 15:54:04 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-11 15:54:04 +0300
commit070830c62d388b111a1e7996fb422b9a69d6aab0 (patch)
tree009eccf34cafa291041f22045d6dfa444a2bc4f5 /source
parentd90fc119c204c760c4c8dcb269706c82bf51ca4b (diff)
Fix separator element for headers with multiple directions
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index f031017c213..9888c6d65cc 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -2227,8 +2227,8 @@ void uiItemSpacer(uiLayout *layout)
return;
}
- if (block->direction != UI_DIR_RIGHT) {
- printf("Error: separator_spacer() only supported in horizontal blocks\n.");
+ if (block->direction & UI_DIR_RIGHT) {
+ printf("Error: separator_spacer() only supported in horizontal blocks.\n");
return;
}