]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Debug (add the creation method int the API Parametric).
authorClarisse Genrault <clarisse.genrault@cea.fr>
Fri, 13 Jan 2017 14:06:11 +0000 (15:06 +0100)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Fri, 13 Jan 2017 14:06:11 +0000 (15:06 +0100)
src/PrimitivesAPI/PrimitivesAPI_Cylinder.cpp

index debf4b0541fe06fbb6e3364ec746ef188a5589dd..7d342b9141b112709f49a322f15698773a2e7fcf 100644 (file)
@@ -26,6 +26,7 @@ PrimitivesAPI_Cylinder::PrimitivesAPI_Cylinder(const std::shared_ptr<ModelAPI_Fe
 : ModelHighAPI_Interface(theFeature)
 {
   if (initialize()) {
+    fillAttribute(PrimitivesPlugin_Cylinder::CREATION_METHOD_CYLINDER(), creationMethod());
     fillAttribute(theBasePoint, basePoint());
     fillAttribute(theAxis, axis());
     setSizes(theRadius, theHeight);
@@ -42,6 +43,7 @@ PrimitivesAPI_Cylinder::PrimitivesAPI_Cylinder(const std::shared_ptr<ModelAPI_Fe
 : ModelHighAPI_Interface(theFeature)
 {
   if (initialize()) {
+    fillAttribute(PrimitivesPlugin_Cylinder::CREATION_METHOD_CYLINDER_PORTION(), creationMethod());
     fillAttribute(theBasePoint, basePoint());
     fillAttribute(theAxis, axis());
     fillAttribute(theAngle, angle());