Only show a few important events by default.

This commit is contained in:
Kevin Ruland 2012-08-10 21:13:41 +00:00
parent 2ad8310a3c
commit ebf2bdd5bd

View File

@ -123,7 +123,15 @@ public class SimulationChart implements Serializable {
if ( events == null ) {
events = new ArrayList<FlightEvent>();
for ( FlightEvent event : flightDataBranch.getEvents() ) {
events.add(event);
switch( event.getType()) {
case LAUNCHROD:
case APOGEE:
case BURNOUT:
case EJECTION_CHARGE:
events.add(event);
default:
break;
}
}
}