From 296224a34569a6b13564fe000b5d7891de60ac91 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 5 May 2011 13:53:46 +0000 Subject: [PATCH] ensure feature renderer settings come from the given view --- src/jalview/gui/AppJmolBinding.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AppJmolBinding.java b/src/jalview/gui/AppJmolBinding.java index 22202e5..231d4e2 100644 --- a/src/jalview/gui/AppJmolBinding.java +++ b/src/jalview/gui/AppJmolBinding.java @@ -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()); } -- 1.7.10.2