From 7d8e6f55033caf061146ea3838aac9607bda1c27 Mon Sep 17 00:00:00 2001 From: Clarisse Genrault Date: Tue, 3 Oct 2017 09:42:26 +0200 Subject: [PATCH] Correcting ggoglestyle warnings. --- src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp | 2 +- src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp | 2 +- src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2