UI:
[blender-staging.git] / source / blender / editors / object / object_edit.c
index 1a3b3e5e031ee4d51268d6e88ef50f49928a1704..37b50da39b43b6d4a03801dd3c5e84a81bc738df 100644 (file)
@@ -637,9 +637,9 @@ static int object_primitive_add_invoke(bContext *C, wmOperator *op, wmEvent *eve
        uiPopupMenu *pup= uiPupMenuBegin("Add Object", 0);
        uiLayout *layout= uiPupMenuLayout(pup);
        
-       uiItemLevelEnumO(layout, NULL, 0, "OBJECT_OT_mesh_add", "type");
-       uiItemLevelEnumO(layout, NULL, 0, "OBJECT_OT_curve_add", "type");
-       uiItemLevelEnumO(layout, NULL, 0, "OBJECT_OT_surface_add", "type");
+       uiItemMenuEnumO(layout, NULL, 0, "OBJECT_OT_mesh_add", "type");
+       uiItemMenuEnumO(layout, NULL, 0, "OBJECT_OT_curve_add", "type");
+       uiItemMenuEnumO(layout, NULL, 0, "OBJECT_OT_surface_add", "type");
        uiItemO(layout, NULL, 0, "OBJECT_OT_text_add");
        uiItemEnumO(layout, NULL, 0, "OBJECT_OT_object_add", "type", OB_MBALL);
        uiItemEnumO(layout, NULL, 0, "OBJECT_OT_object_add", "type", OB_CAMERA);