From 67954acee3bb36a2081080fd17aa656f97237baa Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 30 May 2014 18:12:43 +0400 Subject: [PATCH] =?utf8?q?#refs=2077=20-=20reported=20by=20Herv=C3=A9=20Le?= =?utf8?q?grand:=20double=20click=20in=203D=20viewer=20leads=20to=20crash?= =?utf8?q?=20when=20create=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change the places of the flush methods. --- src/PartSet/PartSet_OperationEditLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_OperationEditLine.cpp b/src/PartSet/PartSet_OperationEditLine.cpp index fc034c739..2edee70af 100644 --- a/src/PartSet/PartSet_OperationEditLine.cpp +++ b/src/PartSet/PartSet_OperationEditLine.cpp @@ -144,7 +144,6 @@ void PartSet_OperationEditLine::mouseMoved(QMouseEvent* theEvent, Handle(V3d_Vie moveLinePoint(aFeature, aDeltaX, aDeltaY, LINE_ATTR_END); } } - flushUpdated(); sendFeatures(); myCurPoint.setPoint(aPoint); @@ -243,5 +242,6 @@ void PartSet_OperationEditLine::sendFeatures() Events_Loop::loop()->send(aMessage); } Events_Loop::loop()->flush(anEvent); + flushUpdated(); } -- 2.39.2