]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A correction to the top Add filter move from the Global context to the Local one...
authornds <natalia.donis@opencascade.com>
Sat, 27 Dec 2014 13:22:14 +0000 (16:22 +0300)
committernds <natalia.donis@opencascade.com>
Sat, 27 Dec 2014 13:22:14 +0000 (16:22 +0300)
src/XGUI/XGUI_Displayer.cpp

index 80128b254c6642eb190971c615ca7c08750d83be..11136aece45b8ded7d89920b04b7147d8183d867 100644 (file)
@@ -427,7 +427,7 @@ void XGUI_Displayer::eraseAll(const bool isUpdateViewer)
 
 void XGUI_Displayer::openLocalContext()
 {
-  Handle(AIS_InteractiveContext) aContext = AISContext();
+  Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext();
   if (aContext.IsNull())
     return;
   // Open local context if there is no one