From: nds Date: Mon, 17 Aug 2015 12:21:54 +0000 (+0300) Subject: It should use the parent realization, which uses myDisabled flag. X-Git-Tag: V_1.4.0_beta4~369 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dec11231aa666e7910b4f241bf2200e1cc7f5eb7;p=modules%2Fshaper.git It should use the parent realization, which uses myDisabled flag. --- diff --git a/src/ModelAPI/ModelAPI_ResultCompSolid.cpp b/src/ModelAPI/ModelAPI_ResultCompSolid.cpp index 1942d2cd9..dc82ef393 100755 --- a/src/ModelAPI/ModelAPI_ResultCompSolid.cpp +++ b/src/ModelAPI/ModelAPI_ResultCompSolid.cpp @@ -9,10 +9,3 @@ ModelAPI_ResultCompSolid::~ModelAPI_ResultCompSolid() { } - -bool ModelAPI_ResultCompSolid::isDisabled() const -{ - return false; -} - - diff --git a/src/ModelAPI/ModelAPI_ResultCompSolid.h b/src/ModelAPI/ModelAPI_ResultCompSolid.h index fb85fdb17..7f82615bc 100755 --- a/src/ModelAPI/ModelAPI_ResultCompSolid.h +++ b/src/ModelAPI/ModelAPI_ResultCompSolid.h @@ -23,9 +23,6 @@ public: MODELAPI_EXPORT virtual ~ModelAPI_ResultCompSolid(); /// Returns the group identifier of this result - /// Returns the feature is disabled or not. - MODELAPI_EXPORT virtual bool isDisabled() const; - /// Returns the number of sub-elements virtual int numberOfSubs(bool forTree = false) const = 0;