-// Copyright (C) 2017-2022 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
AttributeSelectionPtr anAttrCenterPoint =
aBase->selection(PrimitivesPlugin_Sphere::CENTER_POINT_ID());
AttributeDoublePtr anAttrRadius = aBase->real(PrimitivesPlugin_Sphere::RADIUS_ID());
- // for old versions radius value was located in another place, so, use the default 10
- double aRadValue = anAttrRadius->isInitialized() ? anAttrRadius->value() : 10;
- theDumper << ", " << anAttrCenterPoint << ", " << aRadValue;
+ theDumper << ", " << anAttrCenterPoint << ", " << anAttrRadius;
}
theDumper << ")" << std::endl;