Revision: 5248
Author:   hansonr
Date:     2006-06-28 06:23:08 -0700 (Wed, 28 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/jmol/?rev=5248&view=rev

Log Message:
-----------
bob200603 frame dipole fix for multiple models

Modified Paths:
--------------
    branches/bob200603/Jmol/src/org/jmol/viewer/Frame.java
Modified: branches/bob200603/Jmol/src/org/jmol/viewer/Frame.java
===================================================================
--- branches/bob200603/Jmol/src/org/jmol/viewer/Frame.java      2006-06-28 
13:22:16 UTC (rev 5247)
+++ branches/bob200603/Jmol/src/org/jmol/viewer/Frame.java      2006-06-28 
13:23:08 UTC (rev 5248)
@@ -39,7 +39,7 @@
 import java.util.Vector;
 import java.awt.Rectangle;
 
-final class Frame {
+public final class Frame {
 
   final Viewer viewer;
   final JmolAdapter adapter;
@@ -58,7 +58,7 @@
   float maxVanderwaalsRadius = Integer.MIN_VALUE;
 
   int atomCount;
-  Atom[] atoms;
+  public Atom[] atoms;
   ////////////////////////////////////////////////////////////////
   // these may or may not be allocated
   // depending upon the AtomSetCollection characteristics
@@ -2552,6 +2552,7 @@
           //System.out.println(atom1.getInfo() + atom2.getInfo() + value);
         }
         dipole.type = Dipole.DIPOLE_TYPE_BOND;
+        dipole.modelIndex = atom1.modelIndex;
       }
     }
   }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to