From: vsv Date: Tue, 14 Jul 2015 12:47:08 +0000 (+0300) Subject: Ignore selection of groups for operations X-Git-Tag: V_1.3.0~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1181dff91b7a5673d8238a3be0e2ef9ec441aab3;p=modules%2Fshaper.git Ignore selection of groups for operations --- diff --git a/src/PartSet/PartSet_Filters.cpp b/src/PartSet/PartSet_Filters.cpp index 3842bc8b9..d82447430 100644 --- a/src/PartSet/PartSet_Filters.cpp +++ b/src/PartSet/PartSet_Filters.cpp @@ -25,7 +25,7 @@ Standard_Boolean PartSet_GlobalFilter::IsOk(const Handle(SelectMgr_EntityOwner)& ModuleBase_Operation* anOperation = myWorkshop->module()->currentOperation(); // the shapes from different documents should be provided if there is no started operation // in order to show/hide results - if (!anOperation) { + if (anOperation) { aValid = false; if (ModuleBase_ShapeDocumentFilter::IsOk(theOwner)) { std::shared_ptr aAISObj = AISObjectPtr(new GeomAPI_AISObject());