[Bf-extensions-cvs] [65ef5263] master: io_coat3D: tweak number 2 for last commit

Kalle-Samuli Riihikoski noreply at git.blender.org
Tue Oct 27 16:21:49 CET 2020


Commit: 65ef52639ec89def2f0f7fe0f7f9d50619c5b0a6
Author: Kalle-Samuli Riihikoski
Date:   Tue Oct 27 17:21:44 2020 +0200
Branches: master
https://developer.blender.org/rBA65ef52639ec89def2f0f7fe0f7f9d50619c5b0a6

io_coat3D: tweak number 2 for last commit

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

M	io_coat3D/tex.py

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

diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index 47ab63eb..33634409 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -397,7 +397,7 @@ def createnodes(active_mat,texcoat, create_group_node, objekti, ind, is_new, udi
 
         if(platform == 'darwin'):
             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'
-            json_address.replace('MacOS', 'Resources')
+            json_address = json_address.replace('MacOS', 'Resources')
 
         else:
             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'



More information about the Bf-extensions-cvs mailing list