예제 #1
0
 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"}
예제 #2
0
def stop_armory():
    global is_running

    if not is_running:
        return

    import start
    start.unregister()

    sys.path.remove(last_scripts_path)
    is_running = False
예제 #3
0
 def execute(self, context):
     import start
     start.unregister()
     ArmAddonStartButton.running = False
     return {"FINISHED"}
예제 #4
0
 def execute(self, context):
     import start
     start.unregister()
     StartPanel.running = False
     return {'FINISHED'}