Commit bb96ad8f authored by allens's avatar allens

fixed distance measurement which be after the termination check

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@21725 18c085ea-50e0-402c-830e-de6fd14e8384
parent 2fbb7003
......@@ -220,12 +220,13 @@ avtStateRecorderIntegralCurve::AnalyzeStep( avtIVPStep& step,
RecordStep( field, step, step.GetT0() );
}
// Possibly need this for state we record.
distance += step.GetLength();
if (CheckForTermination(step, field))
status.SetTerminationMet();
// Possibly need this for state we record. Must come after the
// check for termination as the curve may get truncated.
distance += step.GetLength();
// This must be called after CheckForTermination, because
// CheckForTermination will modify the step if it goes beyond the
// termination criteria. (Example: streamlines will split a step if it
......
Markdown is supported
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