]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Ignore selection of groups for operations
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 14 Jul 2015 12:47:08 +0000 (15:47 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 14 Jul 2015 12:47:08 +0000 (15:47 +0300)
src/PartSet/PartSet_Filters.cpp

index 3842bc8b9ca21b3913dfb84adc468302e6ec749c..d82447430e3757d240e7dacbef36fce48ec17ca5 100644 (file)
@@ -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<GeomAPI_AISObject> aAISObj = AISObjectPtr(new GeomAPI_AISObject());