Fix T38231: Export/import separate vertices (bunch of points) via Wavefront OBJ do not works
This commit is contained in:
parent
53fbbe43ac
commit
cd712f003b
Notes:
blender-bot
2023-02-14 20:11:58 +01:00
Referenced by issue #38231, Export/import separate vertices (bunch of points) via Wavefront OBJ do not works
|
@ -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]
|
||||
|
||||
if not SPLIT_OB_OR_GROUP:
|
||||
# use the filename for the object name since we arnt chopping up the mesh.
|
||||
if not SPLIT_OB_OR_GROUP or not faces:
|
||||
# use the filename for the object name since we aren't chopping up the mesh.
|
||||
return [(verts_loc, faces, unique_materials, filename)]
|
||||
|
||||
def key_to_name(key):
|
||||
|
|
Loading…
Reference in New Issue