diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-23 05:44:27 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-23 05:47:32 +0300 |
commit | 1540a1ddd19d565a3e57ba2ddc34931caf363458 (patch) | |
tree | 68c475577d5a8362d7969a345ef6c62fc28f4816 | |
parent | 1ffb2bf917acf19aa5d3c0b9215371a771a2ccb1 (diff) |
UI: Icons in context menu for copy/paste
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 27013081ce4..c83d3f55666 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1140,9 +1140,9 @@ class VIEW3D_MT_select_edit_text(Menu): def draw(self, context): layout = self.layout - layout.operator("font.text_paste", text="Paste") layout.operator("font.text_cut", text="Cut") - layout.operator("font.text_copy", text="Copy") + layout.operator("font.text_copy", text="Copy", icon="COPYDOWN") + layout.operator("font.text_paste", text="Paste", icon="PASTEDOWN") layout.separator() @@ -1626,8 +1626,8 @@ class VIEW3D_MT_object(Menu): layout.separator() - layout.operator("view3d.copybuffer", text="Copy Objects") - layout.operator("view3d.pastebuffer", text="Paste Objects") + layout.operator("view3d.copybuffer", text="Copy Objects", icon="COPYDOWN") + layout.operator("view3d.pastebuffer", text="Paste Objects", icon="PASTEDOWN") layout.separator() @@ -2465,8 +2465,8 @@ class VIEW3D_MT_pose(Menu): layout.separator() - layout.operator("pose.copy") - layout.operator("pose.paste").flipped = False + layout.operator("pose.copy", icon="COPYDOWN") + layout.operator("pose.paste", icon="PASTEDOWN").flipped = False layout.operator("pose.paste", text="Paste Pose Flipped").flipped = True layout.separator() @@ -2648,8 +2648,8 @@ class VIEW3D_MT_pose_specials(Menu): layout.separator() - layout.operator("pose.copy") - layout.operator("pose.paste").flipped = False + layout.operator("pose.copy", icon="COPYDOWN") + layout.operator("pose.paste", icon="PASTEDOWN").flipped = False layout.operator("pose.paste", text="Paste X-Flipped Pose").flipped = True layout.separator() @@ -3727,8 +3727,8 @@ class VIEW3D_MT_edit_gpencil(Menu): layout.separator() - layout.operator("gpencil.copy", text="Copy") - layout.operator("gpencil.paste", text="Paste").type = 'COPY' + layout.operator("gpencil.copy", text="Copy", icon="COPYDOWN") + layout.operator("gpencil.paste", text="Paste", icon="PASTEDOWN").type = 'COPY' layout.operator("gpencil.paste", text="Paste & Merge").type = 'MERGE' layout.separator() |