save all
This commit is contained in:
@@ -35,6 +35,8 @@ def fix_collision(V: torch.Tensor, B: torch.Tensor, mask: torch.Tensor, thr=.004
|
||||
F_fix_coll_local = F_fix_coll_orig
|
||||
else:
|
||||
raise ValueError("V must have 14475 or 3638 vertices")
|
||||
if V.shape[0] == 1:
|
||||
F_fix_coll_local = F_fix_coll_local[:1]
|
||||
mesh = Meshes(B, F_fix_coll_local)
|
||||
B_vn = torch.stack(mesh.verts_normals_list())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user