ASM #114 - Problem with Distance Speed Tool.
Change-Id: I2b3218b2fb407f99cf9c81edf69feb042a6fee75 Former-commit-id:efd0fb50b8
[formerlye5a9fa0827
] [formerlyc07bcacbf8
] [formerly50ab77046b
[formerlyc07bcacbf8
[formerly a38308fa5a6efe9a07ecd84bd93662bea32afc94]]] Former-commit-id:50ab77046b
Former-commit-id: a99f478987db9b40c18652f3f209154a8dfc3177 [formerly5efb82ea3e
] Former-commit-id:a2423cfadc
This commit is contained in:
parent
460b543c6d
commit
fc5acb6bcb
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