View/animation time not set when opening pcap
The view/animation time is not properly updated when a new pcap is opened.
I tried to fix that by adding the following lines in lqPlayerControlsController::onTimeRangesChanged()
:
// If the animation time is not in the scene time range, set it to the min value.
double animationTime = this->Scene->getAnimationTime();
if (animationTime < range.first || animationTime > range.second)
{
this->Scene->setAnimationTime(range.first);
}
But strangely, this does not solve the problem. The animation time is correctly changed before exiting this function, but in the end, its value is still 0. So either the UI is not updated accordingly, or something else is setting the time to 0.