mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Update cameras.py - removed duplicate lines (#2661)
The self.times was being computed twice in cameras.py in the same function which was unnecessary
This commit is contained in:
1 parent
73fc3dcd63
commit
281f81f1ec
1 file changed
-2
@@ -872,8 +872,6 @@ class Cameras(TensorDataclass):
|
||||
else:
|
||||
metadata = {"directions_norm": directions_norm[0].detach()}
|
||||
|
||||
times = self.times[camera_indices, 0] if self.times is not None else None
|
||||
|
||||
return RayBundle(
|
||||
origins=origins,
|
||||
directions=directions,
|
||||
|
||||
Reference in new issue
Block a user