GPv3: Clean loose points operator

Similar to the legacy operator. Removes strokes with a number of points less than or equal to the "limit" property.
Resolves #113599.

Pull Request: https://projects.blender.org/blender/blender/pulls/115923
This commit is contained in:
Pratik Borhade
2023-12-08 16:53:09 +01:00
committed by Falk David
parent b9cbc5b335
commit 2e5d4a8799
2 changed files with 59 additions and 0 deletions

View File

@@ -5844,6 +5844,10 @@ class VIEW3D_MT_edit_greasepencil(Menu):
layout.menu("VIEW3D_MT_edit_greasepencil_delete")
layout.separator()
layout.operator("grease_pencil.clean_loose")
class VIEW3D_MT_edit_greasepencil_stroke(Menu):
bl_label = "Stroke"