stretchGroup = av.getRubberbandGroup();\r
\r
if(stretchGroup == null)\r
- stretchGroup = av.alignment.findGroup((Sequence)av.getAlignment().getSequenceAt(seq));\r
+ {\r
+ stretchGroup = av.alignment.findGroup( (Sequence) av.getAlignment().\r
+ getSequenceAt(seq));\r
+ av.setRubberbandGroup( stretchGroup );\r
+ }\r
\r
else if(!stretchGroup.sequences.contains((Sequence)av.getAlignment().getSequenceAt(seq))\r
|| stretchGroup.getStartRes()>res\r
seqCanvas.paintFlag = true;\r
repaint();\r
\r
-\r
}\r
\r
boolean changeEndSeq = false;\r