mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
obj2dl: Improve error message
This commit is contained in:
parent
76dc2f9901
commit
7cd5d3999c
@ -84,7 +84,10 @@ def convert_obj(input_file, output_file, texture_size,
|
||||
elif faces_number == 4:
|
||||
dl.switch_vtxs("quads")
|
||||
else:
|
||||
raise OBJFormatError(f"Unsupported polygons with {faces_number} faces")
|
||||
raise OBJFormatError(
|
||||
f"Unsupported polygons with {faces_number} faces. "
|
||||
"Please, split the polygons in your model to triangles."
|
||||
)
|
||||
|
||||
# Read vertices
|
||||
for vertex in face:
|
||||
|
Loading…
Reference in New Issue
Block a user