def execute(self, context): if state.proc_build != None: return {"CANCELLED"} if not arm.utils.check_saved(self): return {"CANCELLED"} if not arm.utils.check_sdkpath(self): return {"CANCELLED"} if not arm.utils.check_engine(self): return {"CANCELLED"} arm.utils.check_default_props() assets.invalidate_enabled = False make.play(is_viewport=False) assets.invalidate_enabled = True return{'FINISHED'}
def execute(self, context): if state.compileproc != None: return {"CANCELLED"} if not arm.utils.check_saved(self): return {"CANCELLED"} if not arm.utils.check_sdkpath(self): return {"CANCELLED"} if not arm.utils.check_engine(self): return {"CANCELLED"} arm.utils.check_default_rp() state.is_export = False assets.invalidate_enabled = False make.play(in_viewport=False) assets.invalidate_enabled = True return {'FINISHED'}