|
|
@ -41,7 +41,7 @@ def convert_model(geo_model, mesh_data, obj, scale):
|
|
|
|
#Convert the geo_model into a GeoMesh.
|
|
|
|
#Convert the geo_model into a GeoMesh.
|
|
|
|
geomesh = geo_model.saveToGeoMesh()
|
|
|
|
geomesh = geo_model.saveToGeoMesh()
|
|
|
|
|
|
|
|
|
|
|
|
indices = [i for face in geomesh.face for i in import_fix_winding(face.vert_indexes)]
|
|
|
|
indices = [i for face in geomesh.face for i in face.vert_indexes]
|
|
|
|
texture_indices = [face.texture_index for face in geomesh.face]
|
|
|
|
texture_indices = [face.texture_index for face in geomesh.face]
|
|
|
|
|
|
|
|
|
|
|
|
#Create materials for textures.
|
|
|
|
#Create materials for textures.
|
|
|
|