From: vsv Date: Thu, 12 Jan 2017 08:08:18 +0000 (+0300) Subject: Issue #1971: Disable "in screen" control for this objects X-Git-Tag: V_2.7.0~346^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=710073e96d3d27400aeee80e64bdbda7c8fea12d;p=modules%2Fshaper.git Issue #1971: Disable "in screen" control for this objects --- 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,