From cfc9e31f045c36f9dde1ce61f7c62bfeb39044e9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 9 Sep 2006 13:44:27 +0000 Subject: [PATCH] fixed error fix in obj import mesh splitting. --- release/scripts/import_obj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/import_obj.py b/release/scripts/import_obj.py index 49ae879053c..a5daafb2fc4 100644 --- a/release/scripts/import_obj.py +++ b/release/scripts/import_obj.py @@ -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.