From 90646d93ab6a5b4e494c0869ae5cccbc80975fdf Mon Sep 17 00:00:00 2001 From: generatedunixname1417043136753450 Date: Sun, 22 Feb 2026 07:13:09 -0800 Subject: [PATCH] fbcode/vision/fair/pytorch3d/pytorch3d/renderer/mesh/clip.py Reviewed By: bottler Differential Revision: D93715239 fbshipit-source-id: 7417015251fe96be72daf4894e946edd43bb9c46 --- pytorch3d/renderer/mesh/clip.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pytorch3d/renderer/mesh/clip.py b/pytorch3d/renderer/mesh/clip.py index 3c4b7cca..b10bd4fa 100644 --- a/pytorch3d/renderer/mesh/clip.py +++ b/pytorch3d/renderer/mesh/clip.py @@ -434,13 +434,7 @@ def clip_faces( # These will then be filled in for each case. ########################################### F_clipped = ( - F - # pyre-fixme[58]: `+` is not supported for operand types `int` and - # `Union[bool, float, int]`. - + faces_delta_cum[-1].item() - # pyre-fixme[58]: `+` is not supported for operand types `int` and - # `Union[bool, float, int]`. - + faces_delta[-1].item() + F + int(faces_delta_cum[-1].item()) + int(faces_delta[-1].item()) ) # Total number of faces in the new Meshes face_verts_clipped = torch.zeros( (F_clipped, 3, 3), dtype=face_verts_unclipped.dtype, device=device