MDD Importer/Exporter - Bugfixes:

* MDD export failed when using a particle-instance modifier due to the use of different ways of retrieving a mesh to count it's vertices. 
* MDD importer now shows up in menu of importers again
This commit is contained in:
Joshua Leung 2008-01-14 05:55:24 +00:00
parent 442ff2c322
commit da4c1cd8d3
2 changed files with 4 additions and 3 deletions

@ -58,7 +58,8 @@ def mdd_export(filepath, ob, PREF_STARTFRAME, PREF_ENDFRAME, PREF_FPS):
Window.EditMode(0)
Blender.Window.WaitCursor(1)
mesh_orig = ob.getData(mesh=1)
mesh_orig = Mesh.New()
mesh_orig.getFromObject(ob.name)
#Flip y and z
'''

@ -1,11 +1,11 @@
#!BPY
#"""
"""
#Name: 'Load MDD to Mesh RVKs'
#Blender: 242
#Group: 'Import'
#Tooltip: 'baked vertex animation to active mesh object.'
#"""
"""
__author__ = "Bill L.Nieuwendorp"
__bpydoc__ = """\
This script Imports Lightwaves MotionDesigner format.