From: Clarisse Genrault Date: Tue, 3 Oct 2017 07:42:26 +0000 (+0200) Subject: Correcting ggoglestyle warnings. X-Git-Tag: V_2.9.0~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d8e6f55033caf061146ea3838aac9607bda1c27;p=modules%2Fshaper.git Correcting ggoglestyle warnings. --- diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp index 4d92398d7..2c2916586 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp @@ -155,7 +155,7 @@ void PrimitivesPlugin_Cone::loadNamingDS(std::shared_ptr theCo theResultCone->generated(aFace, (*it).first, num++); nbFaces++; } - + if (nbFaces == 2) { // Naming vertices GeomAPI_DataMapOfShapeShape aVertices; diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp index e6376b270..c01d2b2fb 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp @@ -114,7 +114,7 @@ void PrimitivesPlugin_Sphere::loadNamingDS(std::shared_ptr t std::shared_ptr aFace = (*it).second; theResultSphere->generated(aFace, (*it).first, num++); } - + // Naming vertices GeomAPI_DataMapOfShapeShape aVertices; GeomAPI_ShapeExplorer aVertExp(theSphereAlgo->shape(), GeomAPI_Shape::VERTEX); diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp index bd5a8851b..a086def17 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp @@ -150,7 +150,7 @@ void PrimitivesPlugin_Torus::loadNamingDS(std::shared_ptr the std::shared_ptr aFace = (*it).second; theResultTorus->generated(aFace, (*it).first, num++); } - + // Naming of edges GeomAPI_DataMapOfShapeShape anEdges; GeomAPI_ShapeExplorer anEdgeExp(theTorusAlgo->shape(), GeomAPI_Shape::EDGE);