Merge "ASM #114 - Problem with Distance Speed Tool." into asm_14.2.2
Former-commit-id:1b61a32634
[formerly21cd415434
] [formerly80a83bd44c
] [formerly87216a87de
[formerly80a83bd44c
[formerly 1e1c7cbcee94e782338d440d585a3217ad606725]]] Former-commit-id:87216a87de
Former-commit-id: 01c388eee593213b036d8a0380d954c53ca38d29 [formerlyb6a4959e21
] Former-commit-id:8d89e35985
This commit is contained in:
commit
d807e4c657
1 changed files with 9 additions and 0 deletions
|
@ -722,6 +722,15 @@ public class StormTrackDisplay implements IRenderable {
|
|||
|| currentState.newDuration != -1 || update) {
|
||||
if (currentState.timePoints != null
|
||||
&& currentState.timePoints.length != frameCount) {
|
||||
// need to set theAnchorPoint and theAnchorIndex here
|
||||
// because timePoints get erased before we get to updateAnchorPoint
|
||||
DataTime frameTime = paintProps.getDataTime();
|
||||
for (int j=0;j<currentState.timePoints.length;j++){
|
||||
if (frameTime.equals(currentState.timePoints[j].time)) {
|
||||
theAnchorPoint = currentState.timePoints[j].coord;
|
||||
theAnchorIndex = j;
|
||||
}
|
||||
}
|
||||
currentState.timePoints = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue