diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-17 09:49:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-17 09:49:07 +0400 |
commit | 1142a504cbd2085ee0b3bd1a25fbe4443ecf3a3a (patch) | |
tree | aaa0d9e777ba1c0d36528113d156e4aa993fa4ad /release/scripts/templates/operator_file_export.py | |
parent | 0de1ed57876edb5324a08e79f4d920919f9f5df9 (diff) |
remove the poll function from import/export templates
Diffstat (limited to 'release/scripts/templates/operator_file_export.py')
-rw-r--r-- | release/scripts/templates/operator_file_export.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/templates/operator_file_export.py b/release/scripts/templates/operator_file_export.py index 7703d14de67..e3e0217e26a 100644 --- a/release/scripts/templates/operator_file_export.py +++ b/release/scripts/templates/operator_file_export.py @@ -46,10 +46,6 @@ class ExportSomeData(Operator, ExportHelper): default='OPT_A', ) - @classmethod - def poll(cls, context): - return context.active_object is not None - def execute(self, context): return write_some_data(context, self.filepath, self.use_setting) |