remove the poll function from import/export templates

This commit is contained in:
Campbell Barton 2012-04-17 05:49:07 +00:00
parent 0de1ed5787
commit 1142a504cb
2 changed files with 0 additions and 8 deletions

@ -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)

@ -49,10 +49,6 @@ class ImportSomeData(Operator, ImportHelper):
default='OPT_A',
)
@classmethod
def poll(cls, context):
return context.active_object is not None
def execute(self, context):
return read_some_data(context, self.filepath, self.use_setting)