JAL-4134 colour by annotation needs distinct annotation elements to hold colours
[jalview.git] / src / jalview / datamodel / Sequence.java
index 2b331d7..cbd17c8 100755 (executable)
@@ -2145,8 +2145,8 @@ public class Sequence extends ASequence implements SequenceI
     AlignmentAnnotation aa = cmholder.addContactList(cm);
 
     Annotation _aa[] = new Annotation[getLength()];
-    Annotation dummy = new Annotation(0.0f);
-    for (int i = 0; i < _aa.length; _aa[i++] = dummy)
+    
+    for (int i = 0; i < _aa.length; _aa[i++] = new Annotation(0.0f))
     {
       ;
     }