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:
authorCampbell Barton <ideasman42@gmail.com>2014-02-12 03:29:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-12 03:29:15 +0400
commitbfd0b582ca6c9d7a851490a1f37fb98d4a9cf050 (patch)
tree05c7d782ea0bd26ac107827d420ba87db5f9cb95 /source/blender/editors/include/UI_interface.h
parent18a8d88923e69fad33c29bddd1f67cb1b6790bef (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/include/UI_interface.h')
-rw-r--r--source/blender/editors/include/UI_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 1dbef0ba014..d235441d53e 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -418,7 +418,7 @@ void uiExplicitBoundsBlock(uiBlock *block, int minx, int miny, int maxx, int max
int uiBlocksGetYMin(struct ListBase *lb);
-void uiBlockSetDirection(uiBlock *block, int direction);
+void uiBlockSetDirection(uiBlock *block, char direction);
void uiBlockFlipOrder(uiBlock *block);
void uiBlockSetFlag(uiBlock *block, int flag);
void uiBlockClearFlag(uiBlock *block, int flag);