Salome HOME
Debug of Box macro feature to the updated architecture
[modules/shaper.git] / src / Model / Model_Update.cpp
index 502930d93dc69e6b47e8a23bed95a9134f94e00b..6a2d435ff2ebad9f7e9da7e0d3888c16b4be39b2 100644 (file)
@@ -381,7 +381,8 @@ void Model_Update::updateFeature(FeaturePtr theFeature)
           if (aFactory->validate(theFeature)) {
             if (myIsAutomatic || !theFeature->isPersistentResult() /* execute quick, not persistent results */
                 || (isUpdated(theFeature) && 
-                 theFeature == theFeature->document()->currentFeature(false))) // currently edited
+                     (theFeature == theFeature->document()->currentFeature(false) || 
+                      theFeature->document()->currentFeature(false)->isMacro()))) // currently edited
             {
               if (aState == ModelAPI_StateDone || aState == ModelAPI_StateMustBeUpdated) {
                 executeFeature(theFeature);