forked from expo/troggle
bug fix
This commit is contained in:
parent
e4112431be
commit
c7494fe379
@ -18,8 +18,7 @@
|
||||
const viewer = new CV2.CaveViewer( 'scene', {
|
||||
home: '/javascript/CaveView/',
|
||||
//Wookey old code surveyDirectory: '/expowebcache/3d/',
|
||||
//Martin old code surveyDirectory: '/cave/3d/',
|
||||
surveyDirectory: '/',
|
||||
surveyDirectory: '/cave/3d/',
|
||||
terrainDirectory: '/loser/surface/terrain/' // cannot work, apache not handling this url
|
||||
} );
|
||||
|
||||
@ -28,8 +27,7 @@
|
||||
const ui = new CV2.CaveViewUI( viewer );
|
||||
|
||||
//Wookey old code: ui.loadCave('{{svx3d}}.3d');
|
||||
//Martin old code: ui.loadCave('{{ cave }}.3d');
|
||||
ui.loadCave('{% url "cave3d" cave %}');
|
||||
ui.loadCave('{{ cave }}.3d');
|
||||
}
|
||||
window.onload = onLoad;
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user