diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 68d334dfaea..eeb00fe09f8 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1485,12 +1485,13 @@ class VIEW3D_PT_tools_grease_pencil_brush(View3DPanel, Panel): col = row.column() brush = context.active_gpencil_brush - gp_settings = brush.gpencil_settings sub = col.column(align=True) sub.operator("gpencil.brush_presets_create", icon='HELP', text="") if brush is not None: + gp_settings = brush.gpencil_settings + # XXX: Items in "sub" currently show up beside the brush selector in a separate column if brush.gpencil_tool == 'ERASE': sub.prop(gp_settings, "use_default_eraser", text="") |