From 80a53718a56a3639da42f6cc8ebd884bc625dec8 Mon Sep 17 00:00:00 2001 From: Stephen Leger Date: Sat, 6 Jan 2018 17:23:14 +0100 Subject: fix #T53706 : write cmd script into writeable temp folder --- materials_library_vx/__init__.py | 4 ++-- 1 file 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) -- cgit v1.2.3