Cleanup: format

This commit is contained in:
Campbell Barton
2023-10-27 12:13:46 +11:00
parent ce027579e0
commit e8279ff4ee
2 changed files with 3 additions and 4 deletions
@@ -4627,9 +4627,8 @@ def km_grease_pencil_edit(params):
("grease_pencil.cyclical_set", {"type": 'C', "value": 'PRESS',
"alt": True}, {"properties": [("type", "TOGGLE")]}),
# Context menu
*_template_items_context_menu("VIEW3D_MT_greasepencil_edit_context_menu", params.context_menu_event),
# Context menu
*_template_items_context_menu("VIEW3D_MT_greasepencil_edit_context_menu", params.context_menu_event),
])
return keymap
+1 -1
View File
@@ -5832,6 +5832,7 @@ class VIEW3D_MT_edit_greasepencil_stroke(Menu):
layout.operator("grease_pencil.cyclical_set", text="Toggle Cyclic").type = 'TOGGLE'
class VIEW3D_MT_edit_greasepencil_point(Menu):
bl_label = "Point"
@@ -8107,7 +8108,6 @@ class VIEW3D_MT_greasepencil_edit_context_menu(Menu):
col.menu("VIEW3D_MT_mirror")
def draw_gpencil_layer_active(context, layout):
gpl = context.active_gpencil_layer
if gpl: