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>2018-12-17 09:20:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-17 09:22:50 +0300
commit42b9df5907d041a5a68585308b1e11b2eac2c947 (patch)
tree571862dcfcafbd707a44eb2b7d5b98718c012d9b /release/scripts/startup/bl_ui/space_graph.py
parent98f43ba3e4cb0a26eb62ea98e27a313265f8948c (diff)
Cleanup: use 'tool_settings' name everywhere in UI scripts
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 5ed58a57e47..7a920435b18 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -29,7 +29,7 @@ class GRAPH_HT_header(Header):
from .space_dopesheet import dopesheet_filter
layout = self.layout
- toolsettings = context.tool_settings
+ tool_settings = context.tool_settings
st = context.space_data
@@ -50,10 +50,10 @@ class GRAPH_HT_header(Header):
row = layout.row(align=True)
- row.prop(toolsettings, "use_proportional_fcurve",
+ row.prop(tool_settings, "use_proportional_fcurve",
text="", icon_only=True)
- if toolsettings.use_proportional_fcurve:
- row.prop(toolsettings, "proportional_edit_falloff",
+ if tool_settings.use_proportional_fcurve:
+ row.prop(tool_settings, "proportional_edit_falloff",
text="", icon_only=True)
layout.prop(st, "auto_snap", text="")