From: Dr. C. G. <chr...@ch...> - 2010-11-12 16:54:50
|
Here is a reproducable bug: I noticed it in STRAP but it can be reproduced with the stand alone Jmol It can be reproduced on Linux with the following steps: Download Jmol and start the script ./jmol Open Jmol console $ load /home/n/m1/pdb1sbt.ent $ cartoon on $ load append /home/n/m1/pdb1sbc.ent 2 models $ cartoon on Open ContextMenu select models [all] Now both are shown $ zoom $ select all 3,876 atoms selected $ zoom $ select 1.1 1,955 atoms selected $ cartoon off $ zap 1.1 1,955 atoms deleted 1,921 atoms selected $ The view is frozen. Not rotating. No menu items. This is due to Exception: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 3850 at org.jmol.shapebio.BioShape.setModelClickability(Unknown Source) at org.jmol.shapebio.BioShapeCollection.setModelClickability(Unknown Source) at org.jmol.viewer.ShapeManager.setModelVisibility(Unknown Source) at org.jmol.viewer.Viewer.setModelVisibility(Unknown Source) at org.jmol.viewer.Viewer.renderScreenImage(Unknown Source) at org.jmol.viewer.Viewer.renderScreenImage(Unknown Source) The Line numbers correspond to the current svn version. Christoph |