From: Natalia Ermolaeva Date: Wed, 16 Jun 2021 06:32:52 +0000 (+0300) Subject: 0032432: Inspectors - problems with tools test group X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=2395d87c18670c5deaf48942d4f74e93c44fa382;p=occt-copy.git 0032432: Inspectors - problems with tools test group --- diff --git a/tools/VInspector/VInspector_Window.cxx b/tools/VInspector/VInspector_Window.cxx index 08a7bbac20..3ab563417e 100644 --- a/tools/VInspector/VInspector_Window.cxx +++ b/tools/VInspector/VInspector_Window.cxx @@ -438,7 +438,7 @@ bool VInspector_Window::OpenFile(const TCollection_AsciiString& theFileName) Handle(AIS_Shape) aPresentation = new AIS_Shape (aShape); aPresentation->Attributes()->SetAutoTriangulation (Standard_False); - View_Displayer* aDisplayer = myViewWindow->Displayer(); + View_Displayer* aDisplayer = displayer(); aDisplayer->DisplayPresentation (aPresentation); aContext->UpdateCurrentViewer();