From: mpv Date: Thu, 16 Apr 2015 14:13:26 +0000 (+0300) Subject: Fix for issue #464 X-Git-Tag: V_1.1.0~23^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4c77789ef7886cf89a62f55383155a3d1c54695;p=modules%2Fshaper.git Fix for issue #464 --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index ec0c236f6..c2321d59b 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -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());