__init__.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:BCRYExporter 作者: AFCStudio 项目源码 文件源码
def execute(self, context):
        bcPrint(Configuration.rc_path, 'debug')
        try:
            config = ExportAnimations.Config(config=self)

            if self.run_in_profiler:
                import cProfile
                cProfile.runctx(
                    'export_animations.save(config)', {}, {
                        'export_animations': export_animations, 'config': config})
            else:
                export_animations.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'}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号