Salome HOME
Fix for the issue #1130
authormpv <mpv@opencascade.com>
Wed, 16 Dec 2015 09:39:51 +0000 (12:39 +0300)
committermpv <mpv@opencascade.com>
Wed, 16 Dec 2015 09:39:51 +0000 (12:39 +0300)
src/Model/Model_ResultConstruction.cpp
src/Model/Model_ResultConstruction.h

index 990dee11e474b2739eb4d24cd5da321c5d28817e..443c9ce9f24316fbef0b2f1d9c924866f5061d82 100644 (file)
@@ -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
+}
index 0a497b271b2d86ac3f50c31b324b9de90ec904f8..bddac21ee1f8ee2bd8feba7f7bcfca9f552d857a 100644 (file)
@@ -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