ensure feature renderer settings come from the given view
authorjprocter <Jim Procter>
Thu, 5 May 2011 13:53:46 +0000 (13:53 +0000)
committerjprocter <Jim Procter>
Thu, 5 May 2011 13:53:46 +0000 (13:53 +0000)
src/jalview/gui/AppJmolBinding.java

index 22202e5..231d4e2 100644 (file)
@@ -62,10 +62,10 @@ public class AppJmolBinding extends jalview.ext.jmol.JalviewJmolBinding
     {
       if (fr == null)
       {
-        fr = new FeatureRenderer((AlignmentPanel)alignment);
+        fr = new FeatureRenderer(ap);
       }
 
-      fr.transferSettings(((AlignmentPanel)alignment).
+      fr.transferSettings(ap.
               seqPanel.seqCanvas.getFeatureRenderer());
     }