Do not reverse unwind

master
pgsocks 4 months ago
parent 92fabc4d03
commit 64a56b07cf

@ -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.

Loading…
Cancel
Save