diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 08:51:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 08:51:14 +0300 |
commit | 082d7e8d5f8d85449257a68418fbd672bc49b60a (patch) | |
tree | 6d1731c40ab092d5e8f30797239b776f2ebf9e7a /release/scripts/startup/bl_ui/space_topbar.py | |
parent | ba44602b2389385b4c7f719f980df2f7b9b6fff0 (diff) |
Cleanup: use staticmethod where appropriate
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index fad1fafa523..79769f1597c 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -260,6 +260,7 @@ class TOPBAR_MT_file_new(Menu): return sorted(app_templates) + @staticmethod def draw_ex(layout, _context, *, use_splash=False, use_more=False): layout.operator_context = 'EXEC_DEFAULT' @@ -639,7 +640,6 @@ class TOPBAR_PT_gpencil_fill(Panel): bl_region_type = 'HEADER' bl_label = "Advanced" - @staticmethod def draw(self, context): paint = context.tool_settings.gpencil_paint brush = paint.brush |