From 65de468396aaf5f43fffdc6d42e304412f75fcb8 Mon Sep 17 00:00:00 2001 From: Charlie Jolly Date: Tue, 26 Feb 2019 16:04:27 +0000 Subject: GP: Draw: Stroke Trim New edit mode operator and post-processing brush option. Trim works on a single GP stroke. It removes trailing points before and after the first intersection (or loop) nearest to the start of the stroke. --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py') diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 2ba84ac166e..254a893be52 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1599,6 +1599,9 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(View3DPanel, Panel): col.prop(gp_settings, "pen_subdivision_steps") col.prop(gp_settings, "random_subdiv", text="Randomness", slider=True) + col = layout.column(align=True) + col.prop(gp_settings, "trim") + class VIEW3D_PT_tools_grease_pencil_brush_random(View3DPanel, Panel): bl_context = ".greasepencil_paint" -- cgit v1.2.3