Cleanup: pep8, unused vars, line length
This commit is contained in:
@@ -294,7 +294,9 @@ class GRAPH_MT_key(Menu):
|
||||
operator_context = layout.operator_context
|
||||
|
||||
layout.operator("graph.decimate", text="Decimate (Ratio)").mode = 'RATIO'
|
||||
# Using the modal operation doesn't make sense for this variant as we do not have a modal mode for it, so just execute it.
|
||||
|
||||
# Using the modal operation doesn't make sense for this variant
|
||||
# as we do not have a modal mode for it, so just execute it.
|
||||
layout.operator_context = 'EXEC_DEFAULT'
|
||||
layout.operator("graph.decimate", text="Decimate (Allowed Change)").mode = 'ERROR'
|
||||
layout.operator_context = operator_context
|
||||
|
||||
Reference in New Issue
Block a user