Applied Floessie's changes to prevent mutex lock issues, PR #3318 issue #1791

This commit is contained in:
Beep6581
2016-06-03 14:00:26 +02:00
parent 9fccdd6ca5
commit 21b9b15e45
3 changed files with 27 additions and 9 deletions

View File

@@ -1807,6 +1807,7 @@ void MyFlatCurve::setPoints (const std::vector<double>& p)
stopNumericalAdjustment();
FlatCurveType t = (FlatCurveType)p[ix++];
curve.type = t;
lit_point = -1;
if (t == FCT_MinMaxCPoints) {
curve.x.clear ();