mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 15:32:15 -05:00
Cleanup: use operator_enum to avoid inlining values
This commit is contained in:
parent
0d0f8fa8f4
commit
70f44c6204
1 changed files with 1 additions and 4 deletions
|
@ -794,10 +794,7 @@ class GREASE_PENCIL_MT_stroke_simplify(Menu):
|
|||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
layout.operator("grease_pencil.stroke_simplify", text="Fixed").mode = 'FIXED'
|
||||
layout.operator("grease_pencil.stroke_simplify", text="Adaptive").mode = 'ADAPTIVE'
|
||||
layout.operator("grease_pencil.stroke_simplify", text="Sample").mode = 'SAMPLE'
|
||||
layout.operator("grease_pencil.stroke_simplify", text="Merge").mode = 'MERGE'
|
||||
layout.operator_enum("grease_pencil.stroke_simplify", "mode")
|
||||
|
||||
|
||||
classes = (
|
||||
|
|
Loading…
Reference in a new issue