Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 5af8361

Browse files
Update multiple viewers
1 parent 381e5b5 commit 5af8361

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

viewers/templates/GLTF WebGPU.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,10 @@
891891
document.getElementById('export_tex_res').selectedIndex = 0;
892892
document.getElementById('export_tex_fmt').selectedIndex = 0;
893893

894+
tex_res = Infinity;
895+
tex_flip = false;
896+
tex_fmt = '';
897+
894898
if (gui_set === true && equi_enabled === true) document.getElementById('gui_position').style.display = 'block';
895899

896900
render_requested = true;

viewers/templates/OBJ WebGPU.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,10 @@
20472047
document.getElementById('export_tex_res').selectedIndex = 0;
20482048
document.getElementById('export_tex_fmt').selectedIndex = 0;
20492049

2050+
tex_res = Infinity;
2051+
tex_flip = false;
2052+
tex_fmt = '';
2053+
20502054
if (gui_set === true && equi_enabled === true) document.getElementById('gui_position').style.display = 'block';
20512055

20522056
render_requested = true;

0 commit comments

Comments
 (0)