fixed error fix in obj import mesh splitting.

This commit is contained in:
Campbell Barton 2006-09-09 13:44:27 +00:00
parent 276e63c3f1
commit cfc9e31f04

@ -168,7 +168,7 @@ def create_materials(filepath, material_libs, unique_materials, unique_material_
def split_mesh(verts_loc, faces, unique_materials, SPLIT_OBJECTS, SPLIT_MATERIALS):
if not SPLIT_OBJECTS and not SPLIT_MATERIALS:
return [(verts_loc, faces)]
return [(verts_loc, faces, unique_materials)]
# Return a key that makes the faces unique.