From b3ffe0751d3797ce3a467937a5400d7ddd62c77f Mon Sep 17 00:00:00 2001
From: Philipp Oeser <info@graphics-engineer.com>
Date: Mon, 18 Jun 2012 17:40:20 +0000
Subject: [PATCH] revert r3501 - needs further investigation

---
 io_scene_obj/import_obj.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index 890d1203c..b60cb907f 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -672,8 +672,8 @@ def create_mesh(new_objects,
 #                 me_edges[ed].flag |= SHARP
 #         del SHARP
 
-    me.update(calc_edges=use_edges)
     me.validate()
+    me.update(calc_edges=use_edges)
 
     ob = bpy.data.objects.new(me.name, me)
     new_objects.append(ob)
-- 
GitLab