diff --git a/cpp/open3d/geometry/VoxelGridFactory.cpp b/cpp/open3d/geometry/VoxelGridFactory.cpp index 11aa70366ea..4bfc37510be 100644 --- a/cpp/open3d/geometry/VoxelGridFactory.cpp +++ b/cpp/open3d/geometry/VoxelGridFactory.cpp @@ -143,7 +143,6 @@ std::shared_ptr VoxelGrid::CreateFromTriangleMeshWithinBounds( box_center, box_half_size, v0, v1, v2)) { Eigen::Vector3i grid_index(widx, hidx, didx); output->AddVoxel(geometry::Voxel(grid_index)); - break; } } }