From: vsv Date: Sat, 27 Dec 2014 08:09:47 +0000 (+0300) Subject: Correct of compilation errors X-Git-Tag: V_0.7.0_rc1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b742df475446566e44a011eecd82d4507c04ad44;p=modules%2Fshaper.git Correct of compilation errors --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index ff5bed22f..1e65fb9e2 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -629,12 +629,14 @@ void XGUI_Displayer::setDisplayMode(ObjectPtr theObject, DisplayMode theMode, bo myWorkshop->selector()->selection()->selectedOwners(aSelectedOwners); closeLocalContexts(false); } - aContext->SetDisplayMode(aAISIO, theMode, toUpdate); + aContext->SetDisplayMode(aAISIO, theMode, false); if (aCanBeShaded) { openLocalContext(); activateObjects(myActiveSelectionModes); - myWorkshop->selector()->setSelectedOwners(aSelectedOwners); + myWorkshop->selector()->setSelectedOwners(aSelectedOwners, false); } + if (toUpdate) + updateViewer(); } XGUI_Displayer::DisplayMode XGUI_Displayer::displayMode(ObjectPtr theObject) const