]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix checkPythonDump() errors.
authorazv <azv@opencascade.com>
Wed, 11 Dec 2019 09:11:49 +0000 (12:11 +0300)
committerazv <azv@opencascade.com>
Wed, 11 Dec 2019 09:11:49 +0000 (12:11 +0300)
src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp

index 2cf757443be12442821253fe138cfb1d0e9b11a4..d8f6752ad3cdc1f2019680ef5220441fbe649e68 100644 (file)
@@ -197,7 +197,7 @@ std::string ModelHighAPI_FeatureStore::dumpAttr(const AttributePtr& theAttr) {
   } else if (aType == ModelAPI_AttributeInteger::typeId()) {
     AttributeIntegerPtr anAttr = std::dynamic_pointer_cast<ModelAPI_AttributeInteger>(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__";