]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for issue #464
authormpv <mpv@opencascade.com>
Thu, 16 Apr 2015 14:13:26 +0000 (17:13 +0300)
committermpv <mpv@opencascade.com>
Thu, 16 Apr 2015 14:13:26 +0000 (17:13 +0300)
src/Model/Model_Document.cpp

index ec0c236f6f0389ab60177023a65ab8e30a399696..c2321d59b7c39baf1715d214fe3db425d7944b15 100644 (file)
@@ -1300,6 +1300,9 @@ void Model_Document::updateResults(FeaturePtr theFeature)
           break;
         } else if (aGroup->Get() == ModelAPI_ResultGroup::group().c_str()) {
           aNewBody = createGroup(theFeature->data(), aResIndex);
+        } else if (aGroup->Get() == ModelAPI_ResultParameter::group().c_str()) {
+          theFeature->attributeChanged("expression"); // just produce a value
+          break;
         } else {
           Events_Error::send(std::string("Unknown type of result is found in the document:") +
             TCollection_AsciiString(aGroup->Get()).ToCString());