Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'archimesh/achm_tools.py')
-rw-r--r--archimesh/achm_tools.py6
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