mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
parent
7887b14ca0
commit
2da4eee9fb
@ -177,7 +177,7 @@ class ViewerState:
|
||||
scene_box = SceneBox(aabb=torch.stack([crop_min, crop_max], dim=0))
|
||||
self.viser_server.update_scene_box(scene_box)
|
||||
crop_scale = crop_max - crop_min
|
||||
crop_center = crop_max + crop_min
|
||||
crop_center = (crop_max + crop_min) / 2.0
|
||||
self.viser_server.send_crop_params(
|
||||
crop_enabled=self.control_panel.crop_viewport,
|
||||
crop_bg_color=self.control_panel.background_color,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user