From b032a91b2b146511532c523686c3caea0f6e88c9 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 22 Jan 2021 17:49:36 +0300 Subject: [PATCH] 0032060: Modeling Algorithms - HLR presentation does not display expected edges --- src/Graphic3d/Graphic3d_CView.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Graphic3d/Graphic3d_CView.cxx b/src/Graphic3d/Graphic3d_CView.cxx index 3f2065a96e..2f992ea6ad 100644 --- a/src/Graphic3d/Graphic3d_CView.cxx +++ b/src/Graphic3d/Graphic3d_CView.cxx @@ -442,6 +442,14 @@ Bnd_Box Graphic3d_CView::MinMaxValues (const Standard_Boolean theToIncludeAuxili theToIncludeAuxiliary); aResult.Add (aBox); } + + // force HLRValidation to False on all structures calculated in the view + for (Graphic3d_SequenceOfStructure::Iterator aStructIter (myStructsComputed); aStructIter.More(); aStructIter.Next()) + { + Bnd_Box aBox = aStructIter.Value()->MinMaxValues(); + aResult.Add (aBox); + } + return aResult; } -- 2.39.5