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:
authorThomas Larsson <thomas_larsson_01@hotmail.com>2011-10-05 10:04:58 +0400
committerThomas Larsson <thomas_larsson_01@hotmail.com>2011-10-05 10:04:58 +0400
commitf25c170bb8adb49bafb73f2414835325d98031d4 (patch)
treef9ae78ef680c26118fc031845a38761e0cf025b8 /io_import_scene_mhx.py
parent360d41a2df8451c6249ebf354c2a2cf2e644d459 (diff)
MHX importer v1.9: Added support for material animation data.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 21239dd9..e34fbfde 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -26,7 +26,7 @@
"""
Abstract
MHX (MakeHuman eXchange format) importer for Blender 2.5x.
-Version 1.8.3
+Version 1.9.0
This script should be distributed with Blender.
If not, place it in the .blender/scripts/addons dir
@@ -39,7 +39,7 @@ Alternatively, run the script in the script editor (Alt-P), and access from the
bl_info = {
'name': 'Import: MakeHuman (.mhx)',
'author': 'Thomas Larsson',
- 'version': (1, 8, 3),
+ 'version': (1, 9, 0),
"blender": (2, 5, 9),
"api": 40335,
'location': "File > Import > MakeHuman (.mhx)",
@@ -51,8 +51,8 @@ bl_info = {
'category': 'Import-Export'}
MAJOR_VERSION = 1
-MINOR_VERSION = 8
-SUB_VERSION = 3
+MINOR_VERSION = 9
+SUB_VERSION = 0
BLENDER_VERSION = (2, 59, 2)
#
@@ -844,6 +844,8 @@ def parseMaterial(args, tokens):
elif key == 'NodeTree':
mat.use_nodes = True
parseNodeTree(mat.node_tree, val, sub)
+ elif key == 'AnimationData':
+ parseAnimationData(mat, val, sub)
else:
exclude = ['specular_intensity', 'tangent_shading']
defaultKey(key, val, sub, 'mat', [], globals(), locals())