diff options
author | Stephen Leger <stephen@3dservices.ch> | 2018-01-06 19:23:14 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-01-08 13:46:13 +0300 |
commit | 80a53718a56a3639da42f6cc8ebd884bc625dec8 (patch) | |
tree | 5754bdc3a5eeca8f13068a6677a3a96258f8be04 | |
parent | e354e29d801337e13fcffc262b158cdeeff7b698 (diff) |
fix #T53706 : write cmd script into writeable temp folder
-rw-r--r-- | materials_library_vx/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/materials_library_vx/__init__.py b/materials_library_vx/__init__.py index 5891bdc5..1eb8de42 100644 --- a/materials_library_vx/__init__.py +++ b/materials_library_vx/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "Material Library", "author": "Mackraken (mackraken2023@hotmail.com)", - "version": (0, 5, 7), + "version": (0, 5, 8), "blender": (2, 7, 8), "api": 60995, "location": "Properties > Material", @@ -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(matlib_path, output)) + scriptpath = winpath(os.path.join(bpy.app.tempdir, output)) with open(scriptpath, "w") as f: f.write(cmd) |