diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-23 05:35:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-23 05:35:45 +0400 |
commit | d98700360838e5dbb52ac633d0a32c5558754eb7 (patch) | |
tree | f1b4283ad2e9bb5bfe4de340453699cd9a329bee /release | |
parent | 7b1e5f4d8e38fa39e2b97f4602031bd990ec8524 (diff) |
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.
Diffstat (limited to 'release')
-rw-r--r-- | release/io/export_obj.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 ] |