GP: Back Stroke projection mode

Back the old 2.7x  stroke mode when drawing. This mode try to project the new strokes over the previous strokes.
This commit is contained in:
2018-10-30 12:59:36 +01:00
parent 5f0cee26f0
commit 500fbfd02a
7 changed files with 42 additions and 20 deletions

View File

@@ -233,7 +233,9 @@ class VIEW3D_HT_header(Header):
lk_icon = getattr(gp_lock, "icon", "BLANK1")
lk_name = getattr(gp_lock, "name", "None")
layout.popover(
row = layout.row()
row.enabled = tool_settings.gpencil_stroke_placement_view3d in {'ORIGIN', 'CURSOR'}
row.popover(
panel="VIEW3D_PT_gpencil_lock",
text=lk_name,
icon=lk_icon,