From 2ce009ab483e82ba399fa15d438edbccbf697edc Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 7 Jul 2020 13:48:21 +0300 Subject: [PATCH] 0030268: Inspectors - improvements in VInspector plugin - lights for V3d viewer. - should not possible using it as it breaks highlight/selection of this presentation in the viewer. --- tools/View/View_Displayer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/View/View_Displayer.cxx b/tools/View/View_Displayer.cxx index a8793ec536..b80fbdfba5 100644 --- a/tools/View/View_Displayer.cxx +++ b/tools/View/View_Displayer.cxx @@ -115,7 +115,7 @@ void View_Displayer::DisplayPresentation (const Handle(Standard_Transient)& theP aDisplayed.Append (aPresentation); } - if (!myIsKeepPresentations || myFitAllActive) + if (/*!myIsKeepPresentations ||*/ myFitAllActive) fitAllView(); myDisplayed.Bind (theType, aDisplayed); @@ -290,7 +290,7 @@ void View_Displayer::UpdatePreview (const View_DisplayActionType theType, const NCollection_List& thePresentations) { myDisplayPreview->UpdatePreview (theType, thePresentations); - if (!myIsKeepPresentations || myFitAllActive) + if (/*!myIsKeepPresentations ||*/ myFitAllActive) fitAllView(); } -- 2.39.5