kopia lustrzana https://github.com/vilemduha/blendercam
Path edits
rodzic
309f836ab5
commit
20ec417c35
|
@ -13,6 +13,8 @@ warnings.simplefilter("once")
|
|||
# bpy.ops.extensions.repo_sync_all(use_active_only=False)
|
||||
# bpy.ops.extensions.package_install_files(filepath=f"{sys.argv[1]}", repo="user_default")
|
||||
|
||||
sys.path.insert(0, os.path.abspath(".."))
|
||||
|
||||
# Get the scene
|
||||
s = bpy.context.scene
|
||||
s.render.engine = "FABEX_RENDER"
|
||||
|
|
|
@ -36,7 +36,7 @@ with tempfile.TemporaryDirectory() as td:
|
|||
)
|
||||
print("installed addon okay")
|
||||
sys.exit(0)
|
||||
except Exception as e:
|
||||
except subprocess.CalledProcessError as e:
|
||||
print("Install addon failed, retrying:", e)
|
||||
print("Command output:")
|
||||
print("------------------------------")
|
||||
|
|
Ładowanie…
Reference in New Issue