mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-01-17 03:40:34 +08:00
fix pts scale, save ply
Summary: Fix: * Scaling of point clouds for scalars * save_ply compatible cat Reviewed By: nikhilaravi Differential Revision: D22298609 fbshipit-source-id: abe94a5b64baf325587202d20adfc36912cc1478
This commit is contained in:
committed by
Facebook GitHub Bot
parent
275ddade66
commit
2f0fd60186
@@ -510,8 +510,8 @@ class TestMeshes(TestCaseMixin, unittest.TestCase):
|
||||
|
||||
N = 5
|
||||
for test in ["tensor", "scalar"]:
|
||||
mesh = TestMeshes.init_mesh(N, 10, 100)
|
||||
for force in [0, 1]:
|
||||
for force in (False, True):
|
||||
mesh = TestMeshes.init_mesh(N, 10, 100)
|
||||
if force:
|
||||
# force mesh to have computed attributes
|
||||
mesh.verts_packed()
|
||||
|
||||
Reference in New Issue
Block a user