ASM #16773 - WarnGen can become disabled when a followup is selected
Change-Id: Ibe0e3b18914840515f8bc9d844a2ffb0a6abddf0 Former-commit-id:8ab4649312
[formerlyb3025aacb0
[formerly 5048af915b004067ec8a6e788a0e9ad3e006c9d8]] Former-commit-id:b3025aacb0
Former-commit-id:973d0b9a55
This commit is contained in:
parent
66aa148879
commit
d8618f1419
1 changed files with 7 additions and 1 deletions
|
@ -105,7 +105,8 @@ import com.vividsolutions.jts.geom.LineString;
|
|||
* 06-17-2014 DR17409 mgamazaychikov Fix futurePoints calculation in generateNewTrackInfo()
|
||||
* and generateExistingTrackInfo()
|
||||
* 08-21-2014 DR 17500 Qinglu Lin handle the situation where frameTime is null in paintTrack().
|
||||
*
|
||||
* 09-25-2014 ASM #16773 D. Friedman Fix NPE.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mschenke
|
||||
|
@ -1282,6 +1283,11 @@ public class StormTrackDisplay implements IRenderable {
|
|||
private void paintLabels(IGraphicsTarget target,
|
||||
StormTrackProperties paintProps) throws VizException {
|
||||
StormTrackState state = paintProps.getState();
|
||||
|
||||
if (state.timePoints == null || state.futurePoints == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// get the magnification from the state
|
||||
float magnification = state.magnification;
|
||||
// find a nice looking radius
|
||||
|
|
Loading…
Add table
Reference in a new issue