From: azv Date: Wed, 11 Dec 2019 09:11:49 +0000 (+0300) Subject: Fix checkPythonDump() errors. X-Git-Tag: V9_5_0a1~109 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d27e826025e462fd198702c41641665f57583417;p=modules%2Fshaper.git Fix checkPythonDump() errors. --- diff --git a/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp b/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp index 2cf757443..d8f6752ad 100644 --- a/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp +++ b/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp @@ -197,7 +197,7 @@ std::string ModelHighAPI_FeatureStore::dumpAttr(const AttributePtr& theAttr) { } else if (aType == ModelAPI_AttributeInteger::typeId()) { AttributeIntegerPtr anAttr = std::dynamic_pointer_cast(theAttr); // do not dump a type of ConstraintAngle, because it can be changed due dumping - if (anAttr->id() == "AngleType") { + if (anAttr->id() == "AngleType" || anAttr->id() == "AngleTypePrevious") { return ""; } else if (anAttr->id() == "LocationType") { return "__notinitialized__";