From cb392fefec38ec812606a42e18bfb74e4a72524f Mon Sep 17 00:00:00 2001 From: nds Date: Sat, 27 Dec 2014 16:22:14 +0300 Subject: [PATCH] A correction to the top Add filter move from the Global context to the Local one during openLocalContext. --- src/XGUI/XGUI_Displayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2