X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Feature.h;h=6d7955f4b1dee713b9149faa581656770c1f5155;hb=7f5d3b6de3d879b6a11389c06a6f183b2fa5a1b2;hp=bd726461ff4194ecec2da0f35d4c5d65e63e80aa;hpb=d8291d7b5e3d98cd32d7cdf27f936421d430affa;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Feature.h b/src/ModelAPI/ModelAPI_Feature.h index bd726461f..6d7955f4b 100644 --- a/src/ModelAPI/ModelAPI_Feature.h +++ b/src/ModelAPI/ModelAPI_Feature.h @@ -58,7 +58,7 @@ public: /// Returns true if feature refers to the same model data instance MODELAPI_EXPORT virtual bool isSame(const boost::shared_ptr& theFeature) - {return true;} + {return theFeature.get() == this;} /// To virtually destroy the fields of successors virtual ~ModelAPI_Feature() {}