]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3018: Do not call Update of a viewer on redisplay event because it can be...
authorvsv <vsv@opencascade.com>
Mon, 30 Sep 2019 12:52:54 +0000 (15:52 +0300)
committervsv <vsv@opencascade.com>
Mon, 30 Sep 2019 12:53:20 +0000 (15:53 +0300)
src/XGUI/XGUI_WorkshopListener.cpp

index 6de634520b08b91152bd49a87a3373bf3ac2ceec..e420a5aec4814eb9666bf2eb4eb07e7780967bf5 100644 (file)
@@ -358,7 +358,9 @@ void XGUI_WorkshopListener::
   if (aRedisplayed || isCustomized) {
     Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_EMPTY_AIS_PRESENTATION));
 
-    aDisplayer->updateViewer();
+    // Do not update viewer here because it can be called in a loop
+    // In this case Update has to be called after redisplay event
+    //aDisplayer->updateViewer();
   }
 }