]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#refs 77 - reported by Hervé Legrand: double click in 3D viewer leads to crash when...
authornds <natalia.donis@opencascade.com>
Fri, 30 May 2014 14:12:43 +0000 (18:12 +0400)
committernds <natalia.donis@opencascade.com>
Fri, 30 May 2014 14:12:43 +0000 (18:12 +0400)
Change the places of the flush methods.

src/PartSet/PartSet_OperationEditLine.cpp

index fc034c7394c8eb83fc354f3371782c969b36c197..2edee70af2cfbcde14f496eaccc9b242869fbe6d 100644 (file)
@@ -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();
 }