[sagenb] 136/157: Set platform speed to 8

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:52:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit f5eef910f7791ed80a0538193dc2ba00c84d0c09
Author: kcrisman <kcrisman at gmail.com>
Date:   Thu Nov 6 09:54:38 2014 -0500

    Set platform speed to 8
    
    This will enable rotating plots to maintain all their attributes, at the expense of some slowdown for very large plots on certain slower platforms.
---
 sagenb/data/sage/js/jmol_lib.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sagenb/data/sage/js/jmol_lib.js b/sagenb/data/sage/js/jmol_lib.js
index d3ff68c..c3b1a95 100644
--- a/sagenb/data/sage/js/jmol_lib.js
+++ b/sagenb/data/sage/js/jmol_lib.js
@@ -50,6 +50,7 @@ SageJmolManager.prototype.default_info = function() {
         zIndexBase: 5,
         menuFile: "/java/jmol/appletweb/SageMenu.mnu", //special sagemenu
         //platformSpeed: 6, does not work have to do it in the ready function
+        //or set to 7 or 8 for additional rotation graphics capabilities
     };
 };
 
@@ -57,7 +58,7 @@ SageJmolManager.prototype.ready_callback = function (name, applet) {
     console.log('Jmol applet has launched ' + name);
     this._applets[name] = applet;
     this._lru_names.push(name);
-    Jmol.script(applet, "set platformSpeed 6;");
+    Jmol.script(applet, "set platformSpeed 8;"); // 8 for best rotation graphics
     this.enforce_limit();
     jQuery('#'+name).parent().append('<div id="'+name+'_hint">Right-click to get options menu.</div>');
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list