Revision: 21514 http://sourceforge.net/p/jmol/code/21514 Author: hansonr Date: 2017-04-13 04:12:17 +0000 (Thu, 13 Apr 2017) Log Message: ----------- minor model tweaks
Modified Paths: -------------- trunk/Jmol/src/org/gennbo/NBOModel.java trunk/Jmol/src/org/gennbo/NBOView.java Modified: trunk/Jmol/src/org/gennbo/NBOModel.java =================================================================== --- trunk/Jmol/src/org/gennbo/NBOModel.java 2017-04-13 03:43:04 UTC (rev 21513) +++ trunk/Jmol/src/org/gennbo/NBOModel.java 2017-04-13 04:12:17 UTC (rev 21514) @@ -843,7 +843,8 @@ dialog.runScriptQueued("set refreshing true; measurements delete"); // just in case clearSelected(true); if (action != MODEL_ACTION_LINK) { - measures = ""; + if (action != MODEL_ACTION_CLIP) + measures = ""; innerLinkOptionBox.setVisible(false); } switch (action) { @@ -1392,9 +1393,6 @@ setCurrentValue(sval); break; case MODEL_ACTION_HBOND: - dialog.logValue("testing HBOND: " + s); - if (s.length() < 3) - s = "1\n1\n4"; measures = ""; processHBonds(s); break; Modified: trunk/Jmol/src/org/gennbo/NBOView.java =================================================================== --- trunk/Jmol/src/org/gennbo/NBOView.java 2017-04-13 03:43:04 UTC (rev 21513) +++ trunk/Jmol/src/org/gennbo/NBOView.java 2017-04-13 04:12:17 UTC (rev 21514) @@ -1063,6 +1063,7 @@ * @param sb */ private void appendCameraParams(SB sb) { + int n = camFields.length; for (int i = 0; i < n; i++) NBOUtil.postAddGlobalT(sb, "CAMERA_" + camFieldIDs[i], camFields[i]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits