mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 10:34:29 +08:00
Update nerfstudio/viewer/server/render_state_machine.py
Co-authored-by: Paul Wais <paulwais@gmail.com>
This commit is contained in:
parent
46fde7c9e6
commit
8a3e24738b
@ -151,7 +151,7 @@ class RenderStateMachine(threading.Thread):
|
|||||||
)
|
)
|
||||||
with background_color_override_context(background_color), torch.no_grad():
|
with background_color_override_context(background_color), torch.no_grad():
|
||||||
if isGaussianSplattingModel:
|
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:
|
else:
|
||||||
outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera_ray_bundle)
|
outputs = self.viewer.get_model().get_outputs_for_camera_ray_bundle(camera_ray_bundle)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user