Commit 4f4d1393 authored by mattijs's avatar mattijs
Browse files

firstTime always chooses constant

parent 0aab7043
......@@ -115,7 +115,14 @@ void Foam::Time::setControls()
{
if (timeDirs.size())
{
startTime_ = timeDirs[0].value();
if (timeDirs[0].name() == constant() && timeDirs.size() >= 2)
{
startTime_ = timeDirs[1].value();
}
else
{
startTime_ = timeDirs[0].value();
}
}
}
else if (startFrom == "latestTime")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment