From 710073e96d3d27400aeee80e64bdbda7c8fea12d Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 12 Jan 2017 11:08:18 +0300 Subject: [PATCH] Issue #1971: Disable "in screen" control for this objects --- src/SketcherPrs/SketcherPrs_SymbolPrs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp index 8a3a0fa7a..729d13be5 100644 --- a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp +++ b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp @@ -254,7 +254,7 @@ void SketcherPrs_SymbolPrs::Compute( aBnd.Clear(); for (int i = 1; i <= myPntArray->ItemNumber(); i++) { aVert = myPntArray->Vertice(i); - aBnd.Add (Graphic3d_Vec4((float)aVert.X(), (float)aVert.Y(), (float)aVert.Z(), 1.0f)); + aBnd.Add(Graphic3d_Vec4((float)aVert.X(), (float)aVert.Y(), (float)aVert.Z(), 1.0f)); } // Pint the group with custom procedure (see Render) @@ -263,7 +263,7 @@ void SketcherPrs_SymbolPrs::Compute( aGroup->AddElement(aElem); // Disable frustum culling for this object by marking it as mutable - //aGroup->Structure()->SetMutable(true); + aGroup->Structure()->SetMutable(true); if (!aReadyToDisplay) SketcherPrs_Tools::sendEmptyPresentationError(myConstraint, -- 2.39.2