mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-10 18:17:31 +08:00
Show viewer resolution as WxH instead of HxW (#2948)
This commit is contained in:
parent
29ddd2ca3a
commit
4dcbfc55fb
@ -306,7 +306,7 @@ class RenderStateMachine(threading.Thread):
|
||||
jpeg_quality=jpg_quality,
|
||||
depth=depth,
|
||||
)
|
||||
res = f"{selected_output.shape[0]}x{selected_output.shape[1]}px"
|
||||
res = f"{selected_output.shape[1]}x{selected_output.shape[0]}px"
|
||||
self.viewer.stats_markdown.content = self.viewer.make_stats_markdown(None, res)
|
||||
|
||||
def _calculate_image_res(self, aspect_ratio: float) -> Tuple[int, int]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user