diff options
author | Stephen Leger <stephen@3dservices.ch> | 2018-01-06 19:23:14 +0300 |
---|---|---|
committer | Stephen Leger <stephen@3dservices.ch> | 2018-01-06 19:23:36 +0300 |
commit | 4bac8438df999fdcfcbfff6574ffbf38024dd62e (patch) | |
tree | e4a17c30aa09b95604f5d2b644dabc8b0d785704 /materials_library_vx | |
parent | ea4245645cbf68421738d445c2380ef54919186d (diff) |
fix #T53706 : write cmd script into writeable temp folder
Diffstat (limited to 'materials_library_vx')
-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 9a8b47f9..4693b739 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) |