From: mpv Date: Tue, 23 Dec 2014 13:03:28 +0000 (+0300) Subject: Issue 295: skip closed documents on save, but still copy not-activated parts as files X-Git-Tag: V_0.7.0_rc1~55^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3d58a993c3e84b997d2aa48d3f28827ce95e912;p=modules%2Fshaper.git Issue 295: skip closed documents on save, but still copy not-activated parts as files --- diff --git a/src/ModelAPI/ModelAPI_ResultPart.h b/src/ModelAPI/ModelAPI_ResultPart.h index 64be92e3c..ce1ea03af 100644 --- a/src/ModelAPI/ModelAPI_ResultPart.h +++ b/src/ModelAPI/ModelAPI_ResultPart.h @@ -46,6 +46,9 @@ class ModelAPI_ResultPart : public ModelAPI_Result /// Sets this document as current and if it is not loaded yet, loads it virtual void activate() = 0; + + /// Returns true if document is activated (loaded into the memory) + virtual bool isActivated() = 0; }; //! Pointer on feature object