forked from bartvdbraak/blender
==md2 export update==
centers object to export correctly by Bob Holcomb
This commit is contained in:
parent
44806b034b
commit
ab38a1c317
@ -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"
|
Loading…
Reference in New Issue
Block a user