freealise commited on
Commit
dc6d762
1 Parent(s): 29acd5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -301,7 +301,7 @@ def get_mesh(image, depth, blur_data, loadall):
301
 
302
  #mesh = trimesh.Trimesh(vertices=verts, faces=triangles, vertex_colors=colors)
303
  mesh.append(trimesh.PointCloud(verts, colors=clrs))
304
- mesh[len(mesh)-1] = mesh[len(mesh)-1].merge_vertices()
305
  #material = trimesh.visual.texture.SimpleMaterial(image=image)
306
  #texture = trimesh.visual.TextureVisuals(uv=uv, image=image, material=material)
307
  #mesh.visual = texture
 
301
 
302
  #mesh = trimesh.Trimesh(vertices=verts, faces=triangles, vertex_colors=colors)
303
  mesh.append(trimesh.PointCloud(verts, colors=clrs))
304
+ mesh[len(mesh)-1].merge_vertices()
305
  #material = trimesh.visual.texture.SimpleMaterial(image=image)
306
  #texture = trimesh.visual.TextureVisuals(uv=uv, image=image, material=material)
307
  #mesh.visual = texture