From: mpv Date: Wed, 16 Dec 2015 09:39:51 +0000 (+0300) Subject: Fix for the issue #1130 X-Git-Tag: V_2.1.0~172 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4cec30a1f74605c3a658eda3f21807ef715f180d;p=modules%2Fshaper.git Fix for the issue #1130 --- diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index 990dee11e..443c9ce9f 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -89,3 +89,8 @@ void Model_ResultConstruction::setInfinite(const bool theInfinite) { myIsInfinite = theInfinite; } + +void Model_ResultConstruction::setIsConcealed(const bool theValue) +{ + // do nothing: the construction element is never consealed +} diff --git a/src/Model/Model_ResultConstruction.h b/src/Model/Model_ResultConstruction.h index 0a497b271..bddac21ee 100644 --- a/src/Model/Model_ResultConstruction.h +++ b/src/Model/Model_ResultConstruction.h @@ -57,6 +57,8 @@ class Model_ResultConstruction : public ModelAPI_ResultConstruction MODEL_EXPORT virtual bool isInfinite(); /// Sets the flag that it is infinite MODEL_EXPORT virtual void setInfinite(const bool theInfinite); + /// The construction element is never concealed + MODEL_EXPORT virtual void setIsConcealed(const bool theValue); protected: /// Makes a body on the given feature