properly reset the editedHandle field of MyFlatCurve when cleaning up the curve editor

Tentative fix for #3813
This commit is contained in:
Alberto Griggio 2017-04-09 21:17:22 +02:00
parent ac50db35a8
commit 8f1e2cee42

View File

@ -1194,6 +1194,7 @@ void MyFlatCurve::pipetteMouseOver (CurveEditor *ce, EditDataProvider *provider,
// occurs when leaving the preview area -> cleanup the curve editor
pipetteR = pipetteG = pipetteB = -1.f;
lit_point = -1;
editedHandle = FCT_EditedHandle_None;
return;
}