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

Revert "fix jittering in markdown in viewer beta"

This reverts commit 70ade42e46.
This commit is contained in:
Justin Kerr 2023-10-10 17:12:21 -07:00
parent 70ade42e46
commit 622342cdce

View File

@ -270,9 +270,10 @@ class ControlPanel:
step: the train step to set the model to
"""
with self.viser_server.atomic(), self.stat_folder:
# TODO change to a .value call instead of remove() and add, this makes it jittery
with self.viser_server.atomic():
self.markdown.remove()
self.markdown.content = f"Step: {step}"
self.markdown = self.viser_server.add_gui_markdown(f"Step: {step}")
def update_output_options(self, new_options: List[str]):
"""