From 8726222b59fbd1a3c0ace2f9a43c9cbfdabc628f Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 13 Nov 2019 10:39:55 +0300 Subject: [PATCH] 0031149: Visualization - using clipping planes for FitAll of V3d_View #warnings correction --- src/OpenGl/OpenGl_Structure.cxx | 2 +- src/OpenGl/OpenGl_Structure.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5