+
+ /*
+ * only instantiate collection colour scheme once, thereafter update it
+ * this means that any conservation or PID threshold settings
+ * persist when the alignment colour scheme is changed
+ */
+ if (globalColourScheme == null)
+ {
+ globalColourScheme = new ResidueShader();
+ }
+ globalColourScheme.setColourScheme(cs);
+
+ // boolean recalc = false;
+ // TODO: do threshold and increment belong in ViewStyle or colour scheme?
+ // problem: groups need this but do not currently have a ViewStyle
+