From 129ea355c8b77a24d6cd27e3180c2caa2c8da224 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Wed, 1 Jun 2022 18:23:16 +0200 Subject: GPencil: Add support to name new layer when moving to layer To make it consistent with collections, now it's possible to name the new layer created using the `Move to Layer` option. Differential Revision: https://developer.blender.org/D15092 --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release/scripts/startup/bl_ui') 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 f186fca0849..0f1652b9813 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -250,6 +250,7 @@ class GPENCIL_MT_move_to_layer(Menu): layout.separator() + layout.operator_context = 'INVOKE_REGION_WIN' layout.operator("gpencil.move_to_layer", text="New Layer", icon='ADD').layer = -1 -- cgit v1.2.3