コード例 #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
ファイル: armory.py プロジェクト: MoritzBrueckner/armsdk
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
ファイル: cyclesgame.py プロジェクト: bradparks/cyclesgame
 def execute(self, context):
     import start
     start.unregister()
     StartPanel.running = False
     return {'FINISHED'}