[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2394] trunk/py/scripts/addons/ io_import_scene_mhx.py: MHX importer v1.9: Added support for material animation data.
Thomas Larsson
thomas_larsson_01 at hotmail.com
Wed Oct 5 08:04:59 CEST 2011
Revision: 2394
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2394
Author: thomasl
Date: 2011-10-05 06:04:58 +0000 (Wed, 05 Oct 2011)
Log Message:
-----------
MHX importer v1.9: Added support for material animation data.
Modified Paths:
--------------
trunk/py/scripts/addons/io_import_scene_mhx.py
Modified: trunk/py/scripts/addons/io_import_scene_mhx.py
===================================================================
--- trunk/py/scripts/addons/io_import_scene_mhx.py 2011-10-05 04:52:58 UTC (rev 2393)
+++ trunk/py/scripts/addons/io_import_scene_mhx.py 2011-10-05 06:04:58 UTC (rev 2394)
@@ -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 @@
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 @@
'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 @@
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())
More information about the Bf-extensions-cvs
mailing list