diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-12 03:29:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-12 03:29:15 +0400 |
commit | bfd0b582ca6c9d7a851490a1f37fb98d4a9cf050 (patch) | |
tree | 05c7d782ea0bd26ac107827d420ba87db5f9cb95 /source/blender/editors/interface/interface.c | |
parent | 18a8d88923e69fad33c29bddd1f67cb1b6790bef (diff) |
fix/workaround for v3d object mode selector flipping direction
Allow menu functions to define their own direction, this way
menu_item_enum_opname_menu can keep menu flipping from 2.69.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-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 2e6cb35faaa..aa3be71aa5d 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -3684,7 +3684,7 @@ int uiBlocksGetYMin(ListBase *lb) return min; } -void uiBlockSetDirection(uiBlock *block, int direction) +void uiBlockSetDirection(uiBlock *block, char direction) { block->direction = direction; } |