From d27e826025e462fd198702c41641665f57583417 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 11 Dec 2019 12:11:49 +0300 Subject: [PATCH] Fix checkPythonDump() errors. --- src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__"; -- 2.39.2