diff options
Diffstat (limited to 'archimesh')
-rw-r--r-- | archimesh/achm_tools.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_tools.py b/archimesh/achm_tools.py index 2078801f..4aab64c4 100644 --- a/archimesh/achm_tools.py +++ b/archimesh/achm_tools.py @@ -803,9 +803,9 @@ def create_fabric_material(matname, replace, r, g, b, rv=0.8, gv=0.636, bv=0.315 node = nodes.new('ShaderNodeMapping') node.name = 'UVMapping' node.location = 266, 380 - node.scale[0] = 1000 - node.scale[1] = 1000 - node.scale[2] = 1000 + node.inputs['Scale'].default_value[0] = 1000 + node.inputs['Scale'].default_value[1] = 1000 + node.inputs['Scale'].default_value[2] = 1000 # =========================================================================== # Image texture |