From: nds Date: Sat, 27 Dec 2014 13:22:14 +0000 (+0300) Subject: A correction to the top Add filter move from the Global context to the Local one... X-Git-Tag: V_0.7.0_rc1~26^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb392fefec38ec812606a42e18bfb74e4a72524f;p=modules%2Fshaper.git A correction to the top Add filter move from the Global context to the Local one during openLocalContext. --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 80128b254..11136aece 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -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