From: mpv Date: Tue, 24 Mar 2015 09:21:33 +0000 (+0300) Subject: Fix for issue #417 X-Git-Tag: V_1.0.2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0d5fd4f4f3774962b2c637128fe0a6cc7930943b;p=modules%2Fshaper.git Fix for issue #417 --- diff --git a/src/ModelAPI/ModelAPI_Feature.cpp b/src/ModelAPI/ModelAPI_Feature.cpp index 65cfa361e..a1706cbf8 100644 --- a/src/ModelAPI/ModelAPI_Feature.cpp +++ b/src/ModelAPI/ModelAPI_Feature.cpp @@ -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); } }