From: gmungoc Date: Wed, 15 Mar 2017 12:49:51 +0000 (+0000) Subject: JAL-2438 corrected getFeatureRenderer() X-Git-Tag: Release_2_10_2~3^2~155 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=376dcacfd60997d37d4507bb31fab158d23bbf7d;p=jalview.git JAL-2438 corrected getFeatureRenderer() --- 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