Permalink
Browse files

Fixed issue

  • Loading branch information...
1 parent e503984 commit 7a69adaa0a26e759ebc0a41114e8827901cc1e52 Jeff LaMarche committed Jul 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Blender Export/objc_blend_2.62/io_export_objective_c_header.py
View
1 Blender Export/objc_blend_2.62/io_export_objective_c_header.py
@@ -38,6 +38,7 @@ def triangulateNMesh(object):
object.select = True
scene.objects.active = object #set the mesh object to current
print("Checking mesh if needs to convert quad to Tri...")
+ object.data.update(calc_tessface=True)
for face in object.data.tessfaces:
if (len(face.vertices) > 3):
bneedtri = True

0 comments on commit 7a69ada

Please sign in to comment.