def execute(self, context):
bcPrint(Configuration.rc_path, 'debug', True)
try:
config = Export.Config(config=self)
if self.run_in_profiler:
import cProfile
cProfile.runctx('export.save(config)', {},
{'export': export, 'config': config})
else:
export.save(config)
self.filepath = '//'
except exceptions.BCryException as exception:
bcPrint(exception.what(), 'error')
bpy.ops.screen.display_error(
'INVOKE_DEFAULT', message=exception.what())
return {'FINISHED'}
评论列表
文章目录