Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit c67e9b9

Browse files
committed
Start addon when sdk path is entered
1 parent 6b29053 commit c67e9b9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Armory SDK
22

33
Welcome to Armory! Please visit the setup page:
4-
https://armory3d.org/manual/#/getting_started/setup
4+
https://github.com/armory3d/armory/wiki/setup

armory.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"location": "Properties -> Render -> Armory Player",
77
"description": "3D Game Engine for Blender",
88
"author": "Armory3D.org",
9-
"version": (2019, 6, 0),
9+
"version": (2019, 7, 0),
1010
"blender": (2, 80, 0),
1111
"wiki_url": "https://armory3d.org/manual",
1212
"tracker_url": "https://github.com/armory3d/armory/issues"
@@ -42,6 +42,9 @@ def sdk_path_update(self, context):
4242
return
4343
self.skip_update = True
4444
self.sdk_path = bpy.path.reduce_dirs([bpy.path.abspath(self.sdk_path)])[0] + '/'
45+
if ArmAddonStartButton.running:
46+
return
47+
bpy.ops.arm_addon.start()
4548

4649
def ide_path_update(self, context):
4750
if self.skip_update:

0 commit comments

Comments
 (0)