GPv3: Delete operator

Adds the delete operator to edit mode grease pencil, and also adds it to the delete menu.

Pull Request: https://projects.blender.org/blender/blender/pulls/111571
This commit is contained in:
casey bianco-davis
2023-11-17 10:35:56 +01:00
committed by Falk David
parent 39f30e848c
commit 4dfed520a3
2 changed files with 149 additions and 0 deletions

View File

@@ -5007,6 +5007,10 @@ class VIEW3D_MT_edit_greasepencil_delete(Menu):
def draw(self, _context):
layout = self.layout
layout.operator("grease_pencil.delete")
layout.separator()
layout.operator_enum("grease_pencil.dissolve", "type")
layout.separator()