diff Resources/CMake/NexusViewer-4.2.patch @ 66:88e98907b140

provide a way to go back to Nexus viewer 4.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 15 Jun 2024 17:01:32 +0200
parents Resources/CMake/nexus-viewer-4.2.patch@5e11f5880e6d
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/CMake/NexusViewer-4.2.patch	Sat Jun 15 17:01:32 2024 +0200
@@ -0,0 +1,12 @@
+diff -urEb nexus.orig/threejs.html nexus/threejs.html
+--- nexus.orig/threejs.html	2024-06-15 16:27:10.763574203 +0200
++++ nexus/threejs.html	2024-06-15 16:28:03.807136118 +0200
+@@ -5,7 +5,7 @@
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
+ <style>body { margin: 0px; overflow: hidden; }</style>
+-<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/84/three.js"></script>
++<script src="three-84.js"></script>
+ <script src="js/TrackballControls.js"></script>
+ <script src="js/nexus.js"></script>
+ <script src="js/nexus_three.js"></script>