mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 11:24:00 +08:00
Show viewer resolution as WxH instead of HxW (#2948)
This commit is contained in:
1 parent
29ddd2ca3a
commit
4dcbfc55fb
1 file changed
+1
-1
@@ -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]:
|
||||
|
||||
Reference in new issue
Block a user