diff --git a/import_geo.py b/import_geo.py index d5ff73f..3d6422b 100644 --- a/import_geo.py +++ b/import_geo.py @@ -70,7 +70,6 @@ def convert_model(geo_model, mesh_data, obj, scale): mesh_data.vertices.foreach_set("co", coords) - mesh_data.vertices.foreach_set("normal", normals) mesh_data.loops.foreach_set("vertex_index", indices) mesh_data.polygons.foreach_set("loop_start", loop_starts) mesh_data.polygons.foreach_set("loop_total", loop_totals) @@ -96,9 +95,6 @@ def convert_model(geo_model, mesh_data, obj, scale): mesh_data.validate() mesh_data.update() - mesh_data.vertices.foreach_set("normal", normals) - mesh_data.update() - mesh_data.flip_normals() #todo: attempt to load textures/images