Issue #2227 fix weird swapping behavior on 4 panel
Change-Id: I87c35349e7aa6b91974f2c8f5edf2531d72a806f Former-commit-id: 83eaaa8e7635c15905f2028dd9f91425bc54826f
This commit is contained in:
parent
91afb50333
commit
341138f01c
1 changed files with 2 additions and 4 deletions
|
@ -293,10 +293,8 @@ public class RadarMLResource extends RadarGraphicsResource {
|
|||
Map<Integer, IWireframeShape> shapeMap = null;
|
||||
synchronized (shapes) {
|
||||
shapeMap = shapes.get(time);
|
||||
if (shapeMap == null || refresh == true && time != null) {
|
||||
if (shapeMap != null) {
|
||||
disposeShapeMap(shapeMap);
|
||||
}
|
||||
if (time != null && (shapeMap == null || refresh)) {
|
||||
disposeShapeMap(shapeMap);
|
||||
shapeMap = new HashMap<Integer, IWireframeShape>();
|
||||
shapes.put(time, shapeMap);
|
||||
displayedDate = time;
|
||||
|
|
Loading…
Add table
Reference in a new issue