diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 05:15:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 05:32:10 +0300 |
commit | a4b6ef30dc84358623eb94c0589962de20848d64 (patch) | |
tree | 8afe32657659fd5876605e8c52416b42b29b3375 /release/scripts/startup/bl_ui/properties_material_gpencil.py | |
parent | d6e6a0f90603bb730e1f8eecbae6b3100fc9f960 (diff) |
Cleanup: redundant staticmethod use
staticmethod shouldn't be used unless it's necessary,
in that case a comment should be included especially when
subclassing non-staticmethods from RNA.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material_gpencil.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index c60d2676021..e33628658fc 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -107,7 +107,6 @@ class MATERIAL_PT_gpencil_surface(GPMaterialButtonsPanel, Panel): def draw_header_preset(self, context): MATERIAL_PT_gpencil_material_presets.draw_panel_header(self.layout) - @staticmethod def draw(self, context): layout = self.layout layout.use_property_split = True @@ -123,7 +122,6 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel): gpcolor = ma.grease_pencil self.layout.prop(gpcolor, "show_stroke", text="") - @staticmethod def draw(self, context): layout = self.layout layout.use_property_split = True @@ -160,7 +158,6 @@ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel): gpcolor = ma.grease_pencil self.layout.prop(gpcolor, "show_fill", text="") - @staticmethod def draw(self, context): layout = self.layout layout.use_property_split = True @@ -244,7 +241,6 @@ class MATERIAL_PT_gpencil_options(GPMaterialButtonsPanel, Panel): bl_label = "Options" bl_options = {'DEFAULT_CLOSED'} - @staticmethod def draw(self, context): layout = self.layout layout.use_property_split = True |