Skip to content
Snippets Groups Projects
Commit cd712f00 authored by Bastien Montagne's avatar Bastien Montagne
Browse files

Fix T38231: Export/import separate vertices (bunch of points) via Wavefront OBJ do not works

parent 53fbbe43
No related branches found
No related tags found
No related merge requests found
...@@ -379,8 +379,8 @@ def split_mesh(verts_loc, faces, unique_materials, filepath, SPLIT_OB_OR_GROUP): ...@@ -379,8 +379,8 @@ def split_mesh(verts_loc, faces, unique_materials, filepath, SPLIT_OB_OR_GROUP):
filename = os.path.splitext((os.path.basename(filepath)))[0] filename = os.path.splitext((os.path.basename(filepath)))[0]
if not SPLIT_OB_OR_GROUP: if not SPLIT_OB_OR_GROUP or not faces:
# use the filename for the object name since we arnt chopping up the mesh. # use the filename for the object name since we aren't chopping up the mesh.
return [(verts_loc, faces, unique_materials, filename)] return [(verts_loc, faces, unique_materials, filename)]
def key_to_name(key): def key_to_name(key):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment