Added state type to debug output.

This commit is contained in:
hiker 2017-11-24 18:15:39 +11:00
parent 7508b5db8b
commit 37ee602f28

View File

@ -305,9 +305,10 @@ void RewindQueue::mergeNetworkData(float world_time, float dt,
tsi = *prev; tsi = *prev;
tsi->insert(*i); tsi->insert(*i);
Log::info("Rewind", "Inserting event from time %f type %c to timstepinfo %f prev %f next %f",
Log::info("Rewind", "Inserting event from time %f to timstepinfo %f prev %f next %f", (*i)->getTime(),
(*i)->getTime(), tsi->getTime(), (*i)->isEvent() ? 'E' : ((*i)->isState() ? 'S' : 'T'),
tsi->getTime(),
(*prev)->getTime(), (*prev)->getTime(),
next != m_time_step_info.end() ? (*next)->getTime() : 9999 ); next != m_time_step_info.end() ? (*next)->getTime() : 9999 );