diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 09:16:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 09:20:19 +0300 |
commit | 51b26228149b232c8f6940c7d6664e040487bc25 (patch) | |
tree | 6464d80983f122c2a015c8334fdeb3b41a7968f0 /release | |
parent | b611cecf4e0de070e89464a285506abe886d42d9 (diff) |
UI: move copy/paste into the object menu
We already have per mode copy/paste in mode specific menus.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 5 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 16 |
2 files changed, 11 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 7fc36d5d447..53acc29dfad 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -610,11 +610,6 @@ class INFO_MT_edit(Menu): layout.separator() - layout.operator("view3d.copybuffer", text="Copy Objects", icon='COPYDOWN') - layout.operator("view3d.pastebuffer", text="Paste Objects", icon='PASTEDOWN') - - layout.separator() - layout.operator("screen.userpref_show", text="User Preferences...", icon='PREFERENCES') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c93b564bc6b..e45a6f2bcb8 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1380,16 +1380,17 @@ class VIEW3D_MT_object(Menu): layout.separator() - layout.operator("object.shade_smooth", text="Smooth Shading") - layout.operator("object.shade_flat", text="Flat Shading") - - layout.separator() - layout.operator("object.duplicate_move") layout.operator("object.duplicate_move_linked") layout.operator("object.join") layout.separator() + + layout.operator("view3d.copybuffer", text="Copy Objects") + layout.operator("view3d.pastebuffer", text="Paste Objects") + + layout.separator() + layout.menu("VIEW3D_MT_object_parent") layout.menu("VIEW3D_MT_object_collection") layout.menu("VIEW3D_MT_object_relations") @@ -1399,6 +1400,11 @@ class VIEW3D_MT_object(Menu): layout.separator() + layout.operator("object.shade_smooth", text="Smooth Shading") + layout.operator("object.shade_flat", text="Flat Shading") + + layout.separator() + layout.menu("VIEW3D_MT_object_animation") layout.menu("VIEW3D_MT_object_rigid_body") |