mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 03:14:00 +08:00
some pyright type fixes
This commit is contained in:
1 parent
12c454a074
commit
e1ac0e56cd
3 files changed
+3
-3
No files matched your search
@@ -455,7 +455,7 @@ class BaseRender:
|
||||
"""If true, checks line-of-sight occlusions when computing camera distance and rejects cameras not visible to each other"""
|
||||
camera_idx: Optional[int] = None
|
||||
"""Index of the training camera to render."""
|
||||
kill_flag: Optional[List[bool]] = field(default_factory=lambda: [False])
|
||||
kill_flag: List[bool] = field(default_factory=lambda: [False])
|
||||
"""Stop execution of render if set to True."""
|
||||
|
||||
def kill(self) -> None:
|
||||
|
||||
@@ -40,7 +40,7 @@ def populate_export_tab(
|
||||
def _(_) -> None:
|
||||
control_panel.crop_viewport = crop_output.value
|
||||
|
||||
server.add_gui_markdown("<small>Export available after a checkpoint is saved (default minimum 2000 steps)</small>")
|
||||
server.gui.add_markdown("<small>Export available after a checkpoint is saved (default minimum 2000 steps)</small>")
|
||||
with server.gui.add_folder("Splat"):
|
||||
populate_splat_tab(server, control_panel, config_path, viewing_gsplat)
|
||||
with server.gui.add_folder("Point Cloud"):
|
||||
|
||||
@@ -1067,7 +1067,7 @@ def populate_render_tab(
|
||||
disabled=True,
|
||||
)
|
||||
|
||||
def _write_json() -> json:
|
||||
def _write_json() -> Path:
|
||||
num_frames = int(framerate_number.value * duration_number.value)
|
||||
json_data = {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user