def execute(self, context): sdk_path = get_sdk_path(context) scripts_path = sdk_path + "/armory/blender/" if not os.path.exists(scripts_path): return {"CANCELLED"} import start start.unregister() ArmAddonStartButton.running = False return {"FINISHED"}
def stop_armory(): global is_running if not is_running: return import start start.unregister() sys.path.remove(last_scripts_path) is_running = False
def execute(self, context): import start start.unregister() ArmAddonStartButton.running = False return {"FINISHED"}
def execute(self, context): import start start.unregister() StartPanel.running = False return {'FINISHED'}