|| newFeatureAdded)\r
{\r
findAllFeatures();\r
+ newFeatureAdded = false;\r
if(av.featuresDisplayed.size()<1)\r
return;\r
\r
}\r
}\r
\r
- synchronized public void featuresAdded()\r
+\r
+ public void featuresAdded()\r
{\r
newFeatureAdded = true;\r
findAllFeatures();\r
- newFeatureAdded = false;\r
}\r
\r
+ boolean findingFeatures = false;\r
synchronized void findAllFeatures()\r
{\r
+\r
+ if(findingFeatures)\r
+ return;\r
+\r
+ findingFeatures = true;\r
jalview.schemes.UserColourScheme ucs = new\r
jalview.schemes.UserColourScheme();\r
\r
renderOrder[i] = en.nextElement().toString();\r
i--;\r
}\r
+\r
+ findingFeatures = false;\r
}\r
\r
public Color getColour(String featureType)\r