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:
authorCampbell Barton <ideasman42@gmail.com>2010-09-03 11:26:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-03 11:26:27 +0400
commit3c4c1ed512c84ab06ec74fba5151b36062d639ec (patch)
treebd0599dd07048c31e015afe7b89a8de80c2e5513 /io_import_scene_mhx.py
parent722806d6731447273dc470fb1bf6e9bf280da658 (diff)
updates for changes in blender.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 9230f9c7..765ba0d9 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -1128,7 +1128,7 @@ def parseMesh (args, tokens):
parseShapeKeys(ob, me, val, sub)
elif key == 'Material':
try:
- me.materials.link(loadedData['Material'][val[0]])
+ me.materials.append(loadedData['Material'][val[0]])
except:
print("Could not add material", val[0])
else: