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:
Diffstat (limited to 'source/blender/editors/transform/transform_ops.c')
-rw-r--r--source/blender/editors/transform/transform_ops.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c
index f5a581fc4fd..46a6f121990 100644
--- a/source/blender/editors/transform/transform_ops.c
+++ b/source/blender/editors/transform/transform_ops.c
@@ -119,11 +119,13 @@ static int select_orientation_exec(bContext *C, wmOperator *op)
static int select_orientation_invoke(bContext *C, wmOperator *op, wmEvent *event)
{
- uiMenuItem *head;
+ uiPopupMenu *pup;
+ uiLayout *layout;
- head= uiPupMenuBegin("Orientation", 0);
- BIF_menuTransformOrientation(C, head, NULL);
- uiPupMenuEnd(C, head);
+ pup= uiPupMenuBegin("Orientation", 0);
+ layout= uiPupMenuLayout(pup);
+ BIF_menuTransformOrientation(C, layout, NULL);
+ uiPupMenuEnd(C, pup);
return OPERATOR_CANCELLED;
}