]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for issue #417
authormpv <mpv@opencascade.com>
Tue, 24 Mar 2015 09:21:33 +0000 (12:21 +0300)
committermpv <mpv@opencascade.com>
Tue, 24 Mar 2015 09:21:33 +0000 (12:21 +0300)
src/ModelAPI/ModelAPI_Feature.cpp

index 65cfa361ed3e8645cbf3812d45a90d83f5e31f68..a1706cbf8ead59cd97b0e6ff4e78a19f95c2b5b3 100644 (file)
@@ -106,6 +106,7 @@ void ModelAPI_Feature::eraseResults()
     // flush it to avoid left presentations after input of invalid arguments (radius=0)
     static Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_DELETED);
     Events_Loop::loop()->flush(anEvent);
+    Events_Loop::loop()->flush(EVENT_DISP);
   }
 }