diff options
Diffstat (limited to 'io_coat3D')
-rw-r--r-- | io_coat3D/tex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index 2473cf47..fd2e893e 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -482,7 +482,7 @@ def createnodes(active_mat,texcoat, create_group_node, tile_list, objekti, ind, # READ DATA.JSON FILE - json_address = os.path.dirname(bpy.app.binary_path) + os.sep + '2.80' + os.sep + 'scripts' + os.sep + 'addons' + os.sep + 'io_coat3D' + os.sep + 'data.json' + json_address = os.path.dirname(bpy.app.binary_path) + os.sep + str(bpy.app.version[0]) + '.' + str(bpy.app.version[1]) + os.sep + 'scripts' + os.sep + 'addons' + os.sep + 'io_coat3D' + os.sep + 'data.json' with open(json_address, encoding='utf-8') as data_file: data = json.loads(data_file.read()) |