X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_Filters.cpp;h=d82447430e3757d240e7dacbef36fce48ec17ca5;hb=1181dff91b7a5673d8238a3be0e2ef9ec441aab3;hp=3842bc8b9ca21b3913dfb84adc468302e6ec749c;hpb=2410783422790b9e0d6c53ed792fbc6188c83d92;p=modules%2Fshaper.git 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());