mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-26 02:05:22 +00:00
docm .3d file generation for CaveView
This commit is contained in:
@@ -440,7 +440,6 @@ div#scene {
|
||||
|
||||
|
||||
<script type="text/javascript" >
|
||||
|
||||
function onLoad () {
|
||||
|
||||
// display the user interface - and a blank canvas
|
||||
@@ -455,7 +454,8 @@ div#scene {
|
||||
// Note the special code in views.caves.py to do this. The appropriate .svx/.3d file may not be simply the cave name +.3d
|
||||
CV.UI.loadCave('{{svx3d}}.3d');
|
||||
}
|
||||
window.onload = onLoad;
|
||||
// comment out loading CaveView until we have fixed everything
|
||||
// window.onload = onLoad;
|
||||
</script>
|
||||
{% endif %} <!-- all the above only loads if cave.survex_file is not empty-->
|
||||
{% endblock %}
|
||||
@@ -524,6 +524,7 @@ div#scene {
|
||||
{% endif %}
|
||||
{% if cave.survex_file %}
|
||||
<h2>Survex File</h2>
|
||||
<p><a href="https://aardgoose.github.io/CaveView.js/">CaveView</a> display of the .3d file is temporarily disabled while we fix things (Nov.2021). See <a href="/handbook/computing/todo.html">/handbook/computing/todo.html</a>.
|
||||
<a href="/survexfile">All survex files</a>
|
||||
<a href="{% if cave.kataster_number %}{% url "cave3d" cave.kataster_number %}{% else %}{% url "cave3d" cave.unofficial_number %}{% endif %}">3d file download</a>
|
||||
<a href="{% url "svx" svxstem %}">This survex file</a>
|
||||
|
||||
Reference in New Issue
Block a user