The pipette mechanism was broken: the created point was not dragged. (no

issue)
This commit is contained in:
Hombre
2016-03-13 18:15:48 +01:00
parent 13b49f8a54
commit af45865a2e
12 changed files with 38 additions and 19 deletions

View File

@@ -623,6 +623,8 @@ void CropWindow::buttonRelease (int button, int num, int bstate, int x, int y)
if (state != SEditDrag3 && state != SEditPick3 && button == 3 && !(bstate & (GDK_SHIFT_MASK|GDK_CONTROL_MASK))) {
iarea->pipetteVal[0] = iarea->pipetteVal[1] = iarea->pipetteVal[2] = -1.f;
needRedraw = iarea->object == 1;
if (editSubscriber && editSubscriber->getEditingType() == ET_PIPETTE) {
editSubscriber->mouseOver(0);
}