Changeset 373
- Timestamp:
- 10/26/08 17:03:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameUtils.java
r362 r373 966 966 continue; 967 967 } 968 Frame overlayFrame = FrameIO.LoadFrame(link); 968 Frame overlayFrame = null; 969 970 Frame current = DisplayIO.getCurrentFrame(); 971 if (current != null) { 972 for (Overlay o : current.getOverlays()) { 973 if (o.Frame.getName().equalsIgnoreCase(link)) 974 overlayFrame = o.Frame; 975 } 976 } 977 if (overlayFrame == null) overlayFrame = FrameIO.LoadFrame(link); 978 969 979 // get level if specified 970 980 String level = new AttributeValuePair(i.getText()) … … 1075 1085 FrameIO.ResumeCache(); 1076 1086 1077 synchronized (toParse) { // BROOK: This does not appear to do 1078 // anything! Their seems to be no 1079 // thread-safe protocol for this project... 1080 toParse.clearOverlays(); 1081 toParse.clearVectors(); 1082 toParse.addAllOverlays(overlays); 1083 toParse.addAllVectors(vectors); 1084 } 1087 toParse.clearOverlays(); 1088 toParse.clearVectors(); 1089 toParse.addAllOverlays(overlays); 1090 toParse.addAllVectors(vectors); 1091 1085 1092 } 1086 1093
Note:
See TracChangeset
for help on using the changeset viewer.