]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Feature.cpp
Salome HOME
Fix for the issue #2718 : results will be removed in case feature is invalid anyway...
[modules/shaper.git] / src / ModelAPI / ModelAPI_Feature.cpp
index 236ee3dffae018b4abd0b3d589a3f5ede79e74b2..4ac1b988605a589e88f8fc56401116c267ee4dd4 100644 (file)
@@ -91,7 +91,7 @@ void ModelAPI_Feature::setResult(const std::shared_ptr<ModelAPI_Result>& theResu
 void ModelAPI_Feature::removeResult(const std::shared_ptr<ModelAPI_Result>& theResult)
 {
   theResult->setDisabled(theResult, true);
-  // flush visualisation changes
+  // flush visualization changes
   static Events_Loop* aLoop = Events_Loop::loop();
   static Events_ID aRedispEvent = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY);
   aLoop->flush(aRedispEvent);
@@ -138,7 +138,7 @@ void ModelAPI_Feature::removeResults(
     }
   }
   if (!aGroup.empty() && theFlush) {
-    // flush visualisation changes
+    // flush visualization changes
     static Events_Loop* aLoop = Events_Loop::loop();
     static Events_ID aRedispEvent = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY);
     aLoop->flush(aRedispEvent);