From 376dcacfd60997d37d4507bb31fab158d23bbf7d Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 15 Mar 2017 12:49:51 +0000 Subject: [PATCH] JAL-2438 corrected getFeatureRenderer() --- src/jalview/appletgui/AppletJmolBinding.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/jalview/appletgui/AppletJmolBinding.java b/src/jalview/appletgui/AppletJmolBinding.java index 8ddff52..9b8a235 100644 --- a/src/jalview/appletgui/AppletJmolBinding.java +++ b/src/jalview/appletgui/AppletJmolBinding.java @@ -54,15 +54,7 @@ class AppletJmolBinding extends JalviewJmolBinding public jalview.api.FeatureRenderer getFeatureRenderer( AlignmentViewPanel alignment) { - AlignmentPanel alignPanel = (AlignmentPanel) alignment; - if (alignPanel.av.isShowSequenceFeatures()) - { - return alignPanel.getFeatureRenderer(); - } - else - { - return null; - } + return appletJmolBinding.ap.getFeatureRenderer(); } @Override -- 1.7.10.2