diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-03 11:26:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-03 11:26:27 +0400 |
commit | 3c4c1ed512c84ab06ec74fba5151b36062d639ec (patch) | |
tree | bd0599dd07048c31e015afe7b89a8de80c2e5513 /io_import_scene_mhx.py | |
parent | 722806d6731447273dc470fb1bf6e9bf280da658 (diff) |
updates for changes in blender.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r-- | io_import_scene_mhx.py | 2 |
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: |