GP: New Fade no active layer overlay option
This option allows to fade all layers except active one. This can help in very crowded scenes with a lot of layers, to verify you are working in the right one.
This commit is contained in:
@@ -4937,18 +4937,24 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
|
||||
layout.prop(overlay, "use_gpencil_onion_skin", text="Onion Skin")
|
||||
|
||||
col = layout.column()
|
||||
row = col.row()
|
||||
row.prop(overlay, "use_gpencil_grid", text="")
|
||||
sub = row.row()
|
||||
sub.active = overlay.use_gpencil_grid
|
||||
sub.prop(overlay, "gpencil_grid_opacity", text="Canvas", slider=True)
|
||||
|
||||
row = col.row()
|
||||
row.prop(overlay, "use_gpencil_paper", text="")
|
||||
sub = row.row()
|
||||
sub.active = overlay.use_gpencil_paper
|
||||
sub.prop(overlay, "gpencil_paper_opacity", text="Fade 3D Objects", slider=True)
|
||||
|
||||
col = layout.column()
|
||||
row = col.row()
|
||||
row.prop(overlay, "use_gpencil_grid", text="")
|
||||
sub = row.row()
|
||||
sub.active = overlay.use_gpencil_grid
|
||||
sub.prop(overlay, "gpencil_grid_opacity", text="Canvas", slider=True)
|
||||
if context.object.mode == 'GPENCIL_PAINT':
|
||||
row = col.row()
|
||||
row.prop(overlay, "use_gpencil_fade_layers", text="")
|
||||
sub = row.row()
|
||||
sub.active = overlay.use_gpencil_fade_layers
|
||||
sub.prop(overlay, "gpencil_fade_layer", text="Fade Layers", slider=True)
|
||||
|
||||
if context.object.mode in {'GPENCIL_EDIT', 'GPENCIL_SCULPT', 'GPENCIL_WEIGHT'}:
|
||||
layout.prop(overlay, "use_gpencil_edit_lines", text="Edit Lines")
|
||||
|
||||
Reference in New Issue
Block a user