diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 0f8aaa89667..ee5bdb38db7 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -110,7 +110,7 @@ class TOPBAR_HT_lower_bar(Header): # Object Mode Options # ------------------- - # Example of how toolsettings can be accessed as pop-overs. + # Example of how tool_settings can be accessed as pop-overs. # TODO(campbell): editing options should be after active tool options # (obviously separated for from the users POV) @@ -339,8 +339,8 @@ class _draw_left_context_mode: row.prop(gp_settings, "use_material_pin", text="") row = layout.row(align=True) - ts = context.scene.tool_settings - settings = ts.gpencil_paint + tool_settings = context.scene.tool_settings + settings = tool_settings.gpencil_paint row.template_ID_preview(settings, "brush", rows=3, cols=8, hide_buttons=True) if brush.gpencil_tool == 'ERASE': |