Salome HOME
dump the fuzzy value as attribute and not as double
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Intersection.cpp
index 76806c3c47c6ce2d3b9091d54638e81a698fd569..99d2ffda06e0081726f7f6b941c500282b6c4024 100644 (file)
@@ -91,7 +91,7 @@ void FeaturesAPI_Intersection::dump(ModelHighAPI_Dumper& theDumper) const
   AttributeSelectionListPtr anAttrObjects =
     aBase->selectionList(FeaturesPlugin_Intersection::OBJECT_LIST_ID());
   bool aUseFuzzy = aBase->boolean(FeaturesPlugin_Intersection::USE_FUZZY_ID())->value();
-  double aFuzzy = aBase->real(FeaturesPlugin_Intersection::FUZZY_PARAM_ID())->value();
+  AttributeDoublePtr aFuzzy = aBase->real(FeaturesPlugin_Intersection::FUZZY_PARAM_ID());
 
   theDumper << aBase << " = model.addIntersection(" << aDocName << ", " << anAttrObjects;