From: nds Date: Fri, 30 May 2014 14:12:43 +0000 (+0400) Subject: #refs 77 - reported by Hervé Legrand: double click in 3D viewer leads to crash when... X-Git-Tag: V_0.4.4~336^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67954acee3bb36a2081080fd17aa656f97237baa;p=modules%2Fshaper.git #refs 77 - reported by Hervé Legrand: double click in 3D viewer leads to crash when create line Change the places of the flush methods. --- 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(); }