From d98700360838e5dbb52ac633d0a32c5558754eb7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 23 Sep 2009 01:35:45 +0000 Subject: remove rna function convert_to_triface because it uses an internal editmesh function and only the OBJ exporter called this. Converting to tri's on export isnt very important. --- release/io/export_obj.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/io/export_obj.py b/release/io/export_obj.py index d52ee8ec158..bd323b6586a 100644 --- a/release/io/export_obj.py +++ b/release/io/export_obj.py @@ -451,6 +451,9 @@ def write(filename, objects, scene, else: faceuv = False + # XXX - todo, find a better way to do triangulation + # ...removed convert_to_triface because it relies on editmesh + ''' # We have a valid mesh if EXPORT_TRI and me.faces: # Add a dummy object to it. @@ -468,7 +471,8 @@ def write(filename, objects, scene, newob.convert_to_triface(scene) # mesh will still be there scene.remove_object(newob) - + ''' + # Make our own list so it can be sorted to reduce context switching face_index_pairs = [ (face, index) for index, face in enumerate(me.faces)] # faces = [ f for f in me.faces ] -- cgit v1.2.3