From: nds Date: Wed, 13 Nov 2019 07:39:55 +0000 (+0300) Subject: 0031149: Visualization - using clipping planes for FitAll of V3d_View X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8726222b59fbd1a3c0ace2f9a43c9cbfdabc628f;p=occt-copy.git 0031149: Visualization - using clipping planes for FitAll of V3d_View #warnings correction --- diff --git a/src/OpenGl/OpenGl_Structure.cxx b/src/OpenGl/OpenGl_Structure.cxx index 2403048282..e1a23ebc6f 100644 --- a/src/OpenGl/OpenGl_Structure.cxx +++ b/src/OpenGl/OpenGl_Structure.cxx @@ -242,7 +242,7 @@ Standard_Boolean OpenGl_Structure::IsClipped (const Handle(Graphic3d_SequenceOfH { // True if structure is fully clipped bool isClipped = false; - bool hasDisabled = false; + //bool hasDisabled = false; //const Handle(OpenGl_Context)& aCtx = theWorkspace->GetGlContext(); //if (aCtx->Clipping().IsClippingOrCappingOn()) diff --git a/src/OpenGl/OpenGl_Structure.hxx b/src/OpenGl/OpenGl_Structure.hxx index 351d0ec4b4..0e1f1861d2 100644 --- a/src/OpenGl/OpenGl_Structure.hxx +++ b/src/OpenGl/OpenGl_Structure.hxx @@ -126,7 +126,7 @@ public: Standard_Boolean IsRaytracable() const; //! Returns true if the structure is clipped with set planes - Standard_EXPORT virtual Standard_Boolean IsClipped (const Handle(Graphic3d_SequenceOfHClipPlane)& theClipPlane) const; + Standard_EXPORT virtual Standard_Boolean IsClipped (const Handle(Graphic3d_SequenceOfHClipPlane)& theClipPlane) const Standard_OVERRIDE; //! Update render transformation matrix. Standard_EXPORT virtual void updateLayerTransformation() Standard_OVERRIDE;