[Bf-extensions-cvs] [961d9e24] master: matlibvx, fix save library path

meta-androcto noreply at git.blender.org
Mon Apr 15 03:13:08 CEST 2019


Commit: 961d9e240c2af834d7c604ac0bc7cfe225609ecc
Author: meta-androcto
Date:   Mon Apr 15 11:12:22 2019 +1000
Branches: master
https://developer.blender.org/rBA961d9e240c2af834d7c604ac0bc7cfe225609ecc

matlibvx, fix save library path

===================================================================

M	materials_library_vx/__init__.py

===================================================================

diff --git a/materials_library_vx/__init__.py b/materials_library_vx/__init__.py
index 0df437a3..01157def 100644
--- a/materials_library_vx/__init__.py
+++ b/materials_library_vx/__init__.py
@@ -114,7 +114,7 @@ def check_index(collection, index):
 
 def send_command(cmd, output="sendmat.py"):
     bin = winpath(bpy.app.binary_path)
-    scriptpath = winpath(os.path.join(bpy.app.tempdir, output))
+    scriptpath = winpath(os.path.join(matlib_path, output))
 
     with open(scriptpath, "w") as f:
       f.write(cmd)



More information about the Bf-extensions-cvs mailing list