Fix #129784: GPv3: Non-functiona Trim tool in menus

Accidentally added in d70b10dcd4 and moved in dc652aeedb, the
`GREASE_PENCIL_OT_stroke_trim` operator is meant for usage in draw mode
(as the Cutter tool), but not in editmode. It is not the same as the
GPv2 Trim operator, see 4fbef3dc6b

To resolve, remove this from the menu again.

Pull Request: https://projects.blender.org/blender/blender/pulls/129805
This commit is contained in:
Philipp Oeser
2024-11-04 17:00:05 +01:00
committed by Falk David
parent 6f0cd39eab
commit adac5c97f0

View File

@@ -5722,7 +5722,6 @@ class VIEW3D_MT_edit_greasepencil_stroke(Menu):
layout.operator("grease_pencil.stroke_subdivide", text="Subdivide")
layout.operator("grease_pencil.stroke_subdivide_smooth", text="Subdivide and Smooth")
layout.operator("grease_pencil.stroke_simplify", text="Simplify")
layout.operator("grease_pencil.stroke_trim", text="Trim")
layout.separator()