From: nds Date: Fri, 22 Jan 2021 14:49:36 +0000 (+0300) Subject: 0032060: Modeling Algorithms - HLR presentation does not display expected edges X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=b032a91b2b146511532c523686c3caea0f6e88c9;p=occt-copy.git 0032060: Modeling Algorithms - HLR presentation does not display expected edges --- 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; }