From: cmzmasek@gmail.com Date: Mon, 7 Jul 2014 21:27:13 +0000 (+0000) Subject: in progress X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e6ea1a1dcb0a9b96cad1bc08c3b80a6f876344d2;p=jalview.git in progress --- diff --git a/forester/java/src/org/forester/archaeopteryx/TreePanel.java b/forester/java/src/org/forester/archaeopteryx/TreePanel.java index d786ad6..7825bb7 100644 --- a/forester/java/src/org/forester/archaeopteryx/TreePanel.java +++ b/forester/java/src/org/forester/archaeopteryx/TreePanel.java @@ -2471,8 +2471,11 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee } } if ( additional_nodes != null ) { - for( final PhylogenyNode n : additional_nodes ) { - n.getBranchData().setBranchColor( new BranchColor( c ) ); + for( final PhylogenyNode an : additional_nodes ) { + // n.getBranchData().setBranchColor( new BranchColor( c ) ); + for( final PreorderTreeIterator it = new PreorderTreeIterator( an ); it.hasNext(); ) { + it.next().getBranchData().setBranchColor( new BranchColor( c ) ); + } } } repaint();