diff options
Diffstat (limited to 'release/scripts/ui/properties_data_empty.py')
-rw-r--r-- | release/scripts/ui/properties_data_empty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_data_empty.py b/release/scripts/ui/properties_data_empty.py index b4725647a0a..bf2f3b3d0ba 100644 --- a/release/scripts/ui/properties_data_empty.py +++ b/release/scripts/ui/properties_data_empty.py @@ -25,8 +25,8 @@ class DataButtonsPanel(): bl_region_type = 'WINDOW' bl_context = "data" - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): return (context.object and context.object.type == 'EMPTY') |