diff options
author | Julian Eisel <julian@blender.org> | 2020-12-27 17:50:26 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-12-27 17:55:58 +0300 |
commit | 960a0b892c096965696bbd93d0782001d53c869e (patch) | |
tree | ba5ca66923b7fce8c24bcb19dfb567112b8b7820 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | e56fe477489e190cc43f3128088f2b402068b108 (diff) |
Fix T84101: Duplicate operator not available for some data-block selectors
In some operators that previously allowed duplicating the selected data-block,
the operator would not be available now. 2250b5cefee7 split the "new" operators
into "new" and "delete" to allow clearly differentiating between the two. But I
apparently didn't amend all affected data-block selectors to use the added
"duplicate" operators.
I went over all operators that were split now and made sure all affected
data-block selectors are updated.
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 | 2 |
1 files changed, 1 insertions, 1 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 8b404c4a306..80e5b49f4fe 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -592,7 +592,7 @@ class GreasePencilMaterialsPanel: if show_full_ui: row = layout.row() - row.template_ID(ob, "active_material", new="material.new", live_icon=True) + row.template_ID(ob, "active_material", new="material.new", duplicate="material.duplicate", live_icon=True) slot = context.material_slot if slot: |