myla b95535c8b7 Fixing bug in rasterizer.py caused by duplicate line (#1421)
Summary:
The file [rasterizer.py](de3a474d2b/pytorch3d/renderer/mesh/rasterizer.py (L201)) contains a duplicate line before the check if the projection_transform exists. This causes an exception in the case that a projection transform matrix is already provided. The corresponding lines should be (and are already) in the else case of the if-statement.

Removing these lines fixes the bug and produces the desired behavior.

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1421

Reviewed By: shapovalov

Differential Revision: D42450999

Pulled By: bottler

fbshipit-source-id: f7464e87ec9ff8768455656324b0b008132c8a54
2023-01-19 05:49:56 -08:00
..
2023-01-12 14:25:40 -08:00
2022-12-20 04:07:04 -08:00
2022-07-14 04:21:44 -07:00
2023-01-12 14:25:40 -08:00
2022-11-29 03:13:40 -08:00
2022-10-03 08:36:47 -07:00
2022-12-15 16:15:45 -08:00