|
@@ -39,8 +39,10 @@ def triangulate_mesh(mesh):
|
|
|
tri_mesh, faces=tri_mesh.faces, quad_method="ALTERNATE")
|
|
|
tri_mesh.to_mesh(mesh)
|
|
|
tri_mesh.free()
|
|
|
-
|
|
|
- mesh.update(calc_loop_triangles=True)
|
|
|
+ if bpy.app.version[1] > 80:
|
|
|
+ mesh.update()
|
|
|
+ else:
|
|
|
+ mesh.update(calc_loop_triangles=True)
|
|
|
|
|
|
|
|
|
class MeshResourceKey:
|