summarylogtreecommitdiffstats
path: root/sagemath-threejs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sagemath-threejs.patch')
-rw-r--r--sagemath-threejs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sagemath-threejs.patch b/sagemath-threejs.patch
new file mode 100644
index 000000000000..ec9453c03e67
--- /dev/null
+++ b/sagemath-threejs.patch
@@ -0,0 +1,11 @@
+--- a/src/sage/repl/rich_output/display_manager.py
++++ b/src/sage/repl/rich_output/display_manager.py
+@@ -744,7 +744,7 @@ class DisplayManager(SageObject):
+ """
+ if online:
+ from sage.misc.package import installed_packages
+- version = installed_packages()['threejs']
++ version = 'r80'
+ return """
+ <script src="https://cdn.rawgit.com/mrdoob/three.js/{0}/build/three.min.js"></script>
+ <script src="https://cdn.rawgit.com/mrdoob/three.js/{0}/examples/js/controls/OrbitControls.js"></script>