From 1181dff91b7a5673d8238a3be0e2ef9ec441aab3 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 14 Jul 2015 15:47:08 +0300 Subject: [PATCH] Ignore selection of groups for operations --- src/PartSet/PartSet_Filters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.2