GP: New Autolock Inactive Layer

This option locks any layer no active to avoid any accidental change.
This commit is contained in:
Antonioya
2018-10-31 11:00:02 +01:00
parent 7bc84559aa
commit 14e1dfda4e
4 changed files with 52 additions and 1 deletions

View File

@@ -160,6 +160,10 @@ class DATA_PT_gpencil_datapanel(Panel):
if gpl:
row.prop(gpl, "opacity", text="Opacity", slider=True)
# autolock layers
row = layout.row(align=True)
row.prop(gpd, "use_autolock_layers", text="Autolock Inactive Layers")
class DATA_PT_gpencil_layer_optionpanel(LayerDataButtonsPanel, Panel):
bl_space_type = 'PROPERTIES'