diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-08-26 16:46:00 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-08-26 16:49:16 +0300 |
commit | 51d9f56f874d2aeea0dc8bc256eb9e12d1726187 (patch) | |
tree | 698d20c0f3936a95f5e8973ad1b43f5125810b17 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 742119bcb50a83b7f8bb6ceefb34861ac54d9cc8 (diff) |
GPencil: Invert Paste operator and make Paste to Active default
Before there were two options: Paste to original layer called "Paste" and Paste to active layer called "Paste & Merge"
Now, by default the paste is in active layer and the "Paste & Merge" has been renamed "Paste".
For old "Paste", now is called "Paste by Layer" and it's not the default value anymore.
Note: Minor edits to add icons not present in Differential revision.
Differential Revision: https://developer.blender.org/D5591
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 6f089f93f00..46e969b3959 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -169,8 +169,8 @@ class GreasePencilStrokeEditPanel: layout.label(text="Edit:") row = layout.row(align=True) row.operator("gpencil.copy", text="Copy") - row.operator("gpencil.paste", text="Paste").type = 'COPY' - row.operator("gpencil.paste", text="Paste & Merge").type = 'MERGE' + row.operator("gpencil.paste", text="Paste").type = 'ACTIVE' + row.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' col = layout.column(align=True) col.operator("gpencil.delete") @@ -507,8 +507,9 @@ class GPENCIL_MT_pie_tools_more(Menu): # gpd = context.gpencil_data col = pie.column(align=True) - col.operator("gpencil.copy", icon='COPYDOWN', text="Copy") - col.operator("gpencil.paste", icon='PASTEDOWN', text="Paste") + col.operator("gpencil.copy", text="Copy", icon='COPYDOWN') + col.operator("gpencil.paste", text="Paste", icon='PASTEDOWN').type = 'ACTIVE' + col.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' col = pie.column(align=True) col.operator("gpencil.select_more", icon='ADD') |