diff options
Diffstat (limited to 'release/scripts/md2_export.py')
-rw-r--r-- | release/scripts/md2_export.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/md2_export.py b/release/scripts/md2_export.py index bf214dd1b58..15561388d1a 100644 --- a/release/scripts/md2_export.py +++ b/release/scripts/md2_export.py @@ -603,6 +603,9 @@ class md2_obj: ###################################################### def validation(object): global user_frame_list + + #move the object to the origin if it's not already there + object.setLocation(0.0,0.0,0.0) #get access to the mesh data mesh=object.getData(False, True) #get the object (not just name) and the Mesh, not NMesh @@ -1200,4 +1203,4 @@ def save_md2(filename): #cleanup md2=0 - print "Closed the file" + print "Closed the file"
\ No newline at end of file |