Replaced cave viewer link to 3d file with the working orginal

This commit is contained in:
Martin Green 2023-06-07 23:20:51 +01:00
parent e42f0569fd
commit ee34f87563

View File

@ -25,8 +25,8 @@
// Note the special code in views.caves.py to do this. The appropriate .svx/.3d file may not be simply the cave name +.3d // Note the special code in views.caves.py to do this. The appropriate .svx/.3d file may not be simply the cave name +.3d
const ui = new CV2.CaveViewUI( viewer ); const ui = new CV2.CaveViewUI( viewer );
//ui.loadCave('{{svx3d}}.3d'); ui.loadCave('{{svx3d}}.3d');
ui.loadCave('{% url "cave3d" cave %}'); //ui.loadCave('{% url "cave3d" cave %}');
} }
window.onload = onLoad; window.onload = onLoad;
</script> </script>