Revision: 20586 http://sourceforge.net/p/jmol/code/20586 Author: hansonr Date: 2015-06-18 06:31:30 +0000 (Thu, 18 Jun 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.15_2015.06.18"
bug fix: Polygons not indicating visibility when they are the only thing visible. Modified Paths: -------------- trunk/Jmol/src/org/jmol/shapebio/Backbone.java trunk/Jmol/src/org/jmol/shapespecial/Dots.java trunk/Jmol/src/org/jmol/shapespecial/Ellipsoids.java trunk/Jmol/src/org/jmol/shapespecial/Polyhedra.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/shapebio/Backbone.java =================================================================== --- trunk/Jmol/src/org/jmol/shapebio/Backbone.java 2015-06-18 05:40:34 UTC (rev 20585) +++ trunk/Jmol/src/org/jmol/shapebio/Backbone.java 2015-06-18 06:31:30 UTC (rev 20586) @@ -108,7 +108,7 @@ public void addDisplayedBackbone(Atom a, boolean isVisible) { a.nBackbonesDisplayed += (isVisible ? 1 : -1); - a.setShapeVisibility(vf, isVisible); + setShapeVisibility(a, isVisible); } @Override Modified: trunk/Jmol/src/org/jmol/shapespecial/Dots.java =================================================================== --- trunk/Jmol/src/org/jmol/shapespecial/Dots.java 2015-06-18 05:40:34 UTC (rev 20585) +++ trunk/Jmol/src/org/jmol/shapespecial/Dots.java 2015-06-18 06:31:30 UTC (rev 20586) @@ -252,7 +252,7 @@ } for (int i = ac; --i >= 0;) { - atoms[i].setShapeVisibility(vf, bsOn.get(i)); + setShapeVisibility(atoms[i], bsOn.get(i)); } if (!isVisible) return; Modified: trunk/Jmol/src/org/jmol/shapespecial/Ellipsoids.java =================================================================== --- trunk/Jmol/src/org/jmol/shapespecial/Ellipsoids.java 2015-06-18 05:40:34 UTC (rev 20585) +++ trunk/Jmol/src/org/jmol/shapespecial/Ellipsoids.java 2015-06-18 06:31:30 UTC (rev 20586) @@ -423,7 +423,7 @@ setVis(simpleEllipsoids, bsModels, atoms); if (atomEllipsoids != null) for (int i = atoms.length; --i >= 0;) - atoms[i].setShapeVisibility(vf, false); + setShapeVisibility(atoms[i], false); setVis(atomEllipsoids, bsModels, atoms); } @@ -438,7 +438,7 @@ boolean isModAtom = ms.isModulated(t.atomIndex1); isOK =(!isModTensor && !isUnmodTensor || isModTensor == isModAtom); } - atoms[t.atomIndex1].setShapeVisibility(vf, true); + setShapeVisibility(atoms[t.atomIndex1], true); } e.visible = isOK && (e.modelIndex < 0 || bs.get(e.modelIndex)); } Modified: trunk/Jmol/src/org/jmol/shapespecial/Polyhedra.java =================================================================== --- trunk/Jmol/src/org/jmol/shapespecial/Polyhedra.java 2015-06-18 05:40:34 UTC (rev 20585) +++ trunk/Jmol/src/org/jmol/shapespecial/Polyhedra.java 2015-06-18 06:31:30 UTC (rev 20586) @@ -908,6 +908,9 @@ && !ms.isAtomHidden(p.centralAtom.i) && !ms.at[p.centralAtom.i].isDeleted() ? vf : 0); + if (p.visibilityFlags != 0) + setShapeVisibility(atoms[p.centralAtom.i], true); + } } Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-06-18 05:40:34 UTC (rev 20585) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-06-18 06:31:30 UTC (rev 20586) @@ -14,8 +14,12 @@ TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) -Jmol.___JmolVersion="14.3.15_2015.06.17" +Jmol.___JmolVersion="14.3.15_2015.06.18" +bug fix: Polygons not indicating visibility when they are the only thing visible. + +JmolVersion="14.3.15_2015.06.17" + new feature: extracting array of sequential arrays from array of associative arrays -- pull out just the values desired into a sequential array -- example, where b is an array of associative arrays [....., energy:..., pointGroup....] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits