diff options
author | Tom Musgrove <LetterRip@gmail.com> | 2006-05-25 15:59:35 +0400 |
---|---|---|
committer | Tom Musgrove <LetterRip@gmail.com> | 2006-05-25 15:59:35 +0400 |
commit | ab38a1c317e1a7b881659b8c433fc4d71b462e8e (patch) | |
tree | 3166fc803412d8751b8e9e435471c4d5587f0700 /release | |
parent | 44806b034b66c665349458855e59cc54acca9234 (diff) |
==md2 export update==
centers object to export correctly by Bob Holcomb
Diffstat (limited to 'release')
-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 |