git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f700a0
)
avoid race condition when featureRenderer for structure is updated by its associated...
author
jprocter
<Jim Procter>
Tue, 19 Apr 2011 13:56:07 +0000
(13:56 +0000)
committer
jprocter
<Jim Procter>
Tue, 19 Apr 2011 13:56:07 +0000
(13:56 +0000)
src/jalview/gui/FeatureRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureRenderer.java
b/src/jalview/gui/FeatureRenderer.java
index
db2ce7e
..
d613a30
100755
(executable)
--- a/
src/jalview/gui/FeatureRenderer.java
+++ b/
src/jalview/gui/FeatureRenderer.java
@@
-211,7
+211,7
@@
public class FeatureRenderer implements jalview.api.FeatureRenderer
* This is used by the Molecule Viewer and Overview to get the accurate
* colourof the rendered sequence
*/
- public int findFeatureColour(int initialCol, SequenceI seq, int column)
+ public synchronized int findFeatureColour(int initialCol, SequenceI seq, int column)
{
if (!av.showSequenceFeatures)
{