From: mpv Date: Wed, 20 May 2015 13:00:17 +0000 (+0300) Subject: Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0 X-Git-Tag: V_1.2.0~135 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=befd9b8096d9d041c3737c6a14bdb9c55cf1110f;hp=a38f270b638caaae45d18674b48b8b7479e2ee26;p=modules%2Fshaper.git Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0 --- diff --git a/src/ModuleBase/ModuleBase_Operation.cpp b/src/ModuleBase/ModuleBase_Operation.cpp index 3fd550f73..d877fa3ab 100644 --- a/src/ModuleBase/ModuleBase_Operation.cpp +++ b/src/ModuleBase/ModuleBase_Operation.cpp @@ -64,7 +64,7 @@ FeaturePtr ModuleBase_Operation::feature() const bool ModuleBase_Operation::isValid() const { - if (!myFeature) + if (!myFeature || !myFeature->data().get()) return true; // rename operation if (myFeature->isAction()) return true;