]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Multi-selector: deselect values, yellow lines stayed in the viewer.
authornds <nds@opencascade.com>
Mon, 25 Apr 2016 05:57:44 +0000 (08:57 +0300)
committernds <nds@opencascade.com>
Mon, 25 Apr 2016 05:57:44 +0000 (08:57 +0300)
src/XGUI/XGUI_WorkshopListener.cpp

index 0d417f819fd16cadad43a997cb5a0737bfaef2b8..e9e3e3601519ae9668cede5c3d8a43b225bd0668 100755 (executable)
@@ -527,11 +527,11 @@ bool XGUI_WorkshopListener::customizeCurrentObject(const std::set<ObjectPtr>& th
     // e.g. extrusion is hidden(h=0) but sketch is chosen
     if (theForceRedisplay || theObjects.find(aCurrentFeature) != theObjects.end()) {
       aCustomized = myWorkshop->module()->customizeObject(aCurrentFeature,
-                                           ModuleBase_IModule::CustomizeArguments, false);
+                                 ModuleBase_IModule::CustomizeArguments, false) || aCustomized;
       aCustomized = myWorkshop->module()->customizeObject(aCurrentFeature,
-                                           ModuleBase_IModule::CustomizeResults, false);
+                                   ModuleBase_IModule::CustomizeResults, false) || aCustomized;
       aCustomized = myWorkshop->module()->customizeObject(aCurrentFeature,
-                                           ModuleBase_IModule::CustomizeHighlightedObjects, false);
+                        ModuleBase_IModule::CustomizeHighlightedObjects, false) || aCustomized;
     }
   }
   return aCustomized;