modify play button

This commit is contained in:
Andrew Bauer 2014-03-30 11:18:14 -05:00
parent 3f7f398210
commit b126ca3e01
1 changed files with 5 additions and 0 deletions

View File

@ -877,6 +877,11 @@ void EventStream::processCommand( const CmdMsg *msg )
// Clear paused flag
paused = false;
}
// If we are in single event mode and at the last frame, replay the current event
if ( (mode == MODE_SINGLE) && (curr_frame_id == event_data->frame_count) )
curr_frame_id = 1;
replay_rate = ZM_RATE_BASE;
break;
}