diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:13:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:13:56 +0300 |
commit | 54d8faa93a4dee556b12ef1ec3c607d5a72f396a (patch) | |
tree | 7139153b44d567d7f138fc55381c137255e625ea /release/scripts/startup/bl_ui/properties_data_shaderfx.py | |
parent | ad4cbc5a58fec30ce52592cdeb5e3eaafc6a2c24 (diff) |
Cleanup: remove redundant poll functions
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_shaderfx.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_shaderfx.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_shaderfx.py b/release/scripts/startup/bl_ui/properties_data_shaderfx.py index 5ada588e31a..fce86446dfc 100644 --- a/release/scripts/startup/bl_ui/properties_data_shaderfx.py +++ b/release/scripts/startup/bl_ui/properties_data_shaderfx.py @@ -30,11 +30,12 @@ class ShaderFxButtonsPanel: class DATA_PT_shader_fx(ShaderFxButtonsPanel, Panel): bl_label = "Effects" - @classmethod - def poll(cls, context): - return True - ob = context.object - return ob and ob.type == 'GPENCIL' + # Unused: always show for now. + + # @classmethod + # def poll(cls, context): + # ob = context.object + # return ob and ob.type == 'GPENCIL' def draw(self, context): layout = self.layout |