freealise commited on
Commit
c415584
1 Parent(s): 9af8d2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -320,7 +320,7 @@ def get_mesh(image, depth, blur_data, loadall):
320
  i=i+1
321
 
322
  el = trimesh.path.entities.Line(ln)
323
- mesh.append(trimesh.path.path.Path3D(entities=[el], vertices=verts, colors=[clrs]))
324
  mesh_n.append(str(fnum))
325
 
326
  #theta = locations[fnum]["heading"] / 180 * np.pi
 
320
  i=i+1
321
 
322
  el = trimesh.path.entities.Line(ln)
323
+ mesh.append(trimesh.path.path.Path3D(entities=[el], vertices=verts, colors=[clrs.flatten()]))
324
  mesh_n.append(str(fnum))
325
 
326
  #theta = locations[fnum]["heading"] / 180 * np.pi