4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00

Update nerfstudio/viewer/server/render_state_machine.py

Co-authored-by: Paul Wais <paulwais@gmail.com>
This commit is contained in:
Justin Kerr 2023-10-16 08:59:38 -07:00 committed by GitHub
parent 46fde7c9e6
commit 8a3e24738b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ class RenderStateMachine(threading.Thread):
)
with background_color_override_context(background_color), torch.no_grad():
if isGaussianSplattingModel:
outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera)
outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera_ray_bundle, camera=camera)
else:
outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera_ray_bundle)
else: