Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-12-16 06:29:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-16 06:54:32 +0300
commit165afb3ad097a8e89ab3b8547b7e947029a23fe2 (patch)
tree91b482bd2ea360c4af67b2d4e2154c09e01a72b4 /release/scripts/startup/bl_ui/space_graph.py
parent31ac2e292e5fc5d4d85d00d97645bfcb9cd4e6c2 (diff)
Cleanup: pep8, unused vars, line length
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 968492db374..2e853a287ea 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -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