X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_FeatureStore.cpp;h=f0d4deb48d9b2f427daa53e5b842b01ac79a8bf5;hb=fec33ea37fbbd369bda3da328abf6171d08a6c42;hp=995cb344f47ea8d4cd6c9fef688a929d0ac63bec;hpb=016814c4673909dcd7fd9591694cf599623dfbc7;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp b/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp index 995cb344f..f0d4deb48 100644 --- a/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp +++ b/src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp @@ -334,7 +334,7 @@ std::string ModelHighAPI_FeatureStore::dumpAttr(const AttributePtr& theAttr) { } else if (aType == GeomDataAPI_Point2D::typeId()) { // do not dump flyout point for constraints as it may be changed unexpectedly if (theAttr->id() == "ConstraintFlyoutValuePnt") - return ""; + return "__notinitialized__"; AttributePoint2DPtr anAttr = std::dynamic_pointer_cast(theAttr); double aValues[2] = {anAttr->x(), anAttr->y()}; dumpArray(aResult, aValues, 2); @@ -360,7 +360,7 @@ std::string ModelHighAPI_FeatureStore::dumpShape(std::shared_ptr& aResult<<": "< 1.e-7) { + if (GeomAlgoAPI_ShapeTools::volume(theShape) > 1.e-5) { aResult<<"Volume: "<< std::fixed<