From 960535ddf3446204dbfcc0f23040bdb74f7a9720 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 7 May 2021 18:27:47 +0200 Subject: GPencil: New Append operators Now it's possible to append materials of one grease pencil object into another one. The operator allows active material or all materials. Also, the Layer Copy To Object has been renamed to Layer Append to Object to keep consistency and now allows to append all layers at once. --- release/scripts/startup/bl_ui/properties_material_gpencil.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py') diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index 6a5c000116f..ed5863b463a 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -53,6 +53,10 @@ class GPENCIL_MT_material_context_menu(Menu): layout.operator("gpencil.material_to_vertex_color", text="Convert Materials to Vertex Color") layout.operator("gpencil.extract_palette_vertex", text="Extract Palette from Vertex Color") + layout.separator() + layout.menu("VIEW3D_MT_gpencil_append_active_material") + layout.menu("VIEW3D_MT_gpencil_append_all_materials") + class GPENCIL_UL_matslots(UIList): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): -- cgit v1.2.3