Skip to content
Snippets Groups Projects
Commit 90262b4e authored by Brendon Murphy's avatar Brendon Murphy
Browse files

further fix, missed one faces > tessfaces line 1139

parent 5c40d733
No related branches found
No related tags found
No related merge requests found
......@@ -1136,7 +1136,7 @@ def build_objects(object_layers, object_surfs, object_tags, object_name, add_sub
for vi in range(len(ng)):
v_locs.append(mathutils.Vector(layer_data.pnts[ngons[ng_key][vi]]))
tris= tessellate_polygon([v_locs])
me.faces.add(len(tris))
me.tessfaces.add(len(tris))
for tri in tris:
face= me.tessfaces[face_offset]
face.vertices_raw[0]= ng[tri[0]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment