X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FModel%2FModel_ResultPart.h;h=c2c70d94081377e47d23c755112085abff0ba983;hb=1b6e16d96b4f83c138791e0e86842d1507bcef1f;hp=7ebafd3ea0b22237d2b7e7ed10b3757a35fe0bc6;hpb=89aeee12f9f793e37165457ae46edbbf6aec1a26;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultPart.h b/src/Model/Model_ResultPart.h index 7ebafd3ea..c2c70d940 100644 --- a/src/Model/Model_ResultPart.h +++ b/src/Model/Model_ResultPart.h @@ -28,6 +28,10 @@ class Model_ResultPart : public ModelAPI_ResultPart /// Sets this document as current and if it is not loaded yet, loads it MODEL_EXPORT virtual void activate(); + /// disable all feature of the part on disable of the part result + MODEL_EXPORT virtual bool setDisabled(std::shared_ptr theThis, + const bool theFlag); + protected: /// makes a result on a temporary feature (an action) Model_ResultPart();