From: azv Date: Fri, 25 Jan 2019 09:53:56 +0000 (+0300) Subject: Remove unused method in FeaturesPlugin_MultiRotation. X-Git-Tag: HighLevelObjectsHierarchy~13^2~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fefbca11be8ef9e4fc347a1a2949cd70148bc1ce;p=modules%2Fshaper.git Remove unused method in FeaturesPlugin_MultiRotation. --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp index dba9dedf2..a570ea8da 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp @@ -447,22 +447,3 @@ void FeaturesPlugin_MultiRotation::loadNamingDS3( } } #endif - -//================================================================================================= -void FeaturesPlugin_MultiRotation::loadNamingDS( - std::list > theListOfRotationAlgo, - std::shared_ptr theResultBody, - std::shared_ptr theBaseShape) -{ - for (std::list >::const_iterator anIt = - theListOfRotationAlgo.begin(); anIt != theListOfRotationAlgo.cend(); ++anIt) { - // naming of faces - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::FACE, "Rotated_Face"); - - // naming of edges - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::EDGE, "Rotated_Edge"); - - // naming of vertex - theResultBody->loadModifiedShapes(*anIt, theBaseShape, GeomAPI_Shape::VERTEX, "Rotated_Vertex"); - } -} diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h index ba5a7a196..96e9df094 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h @@ -118,10 +118,6 @@ private: std::shared_ptr theResultBody, std::shared_ptr theBaseShape, int nb); #endif - - void loadNamingDS(std::list > theListOfRotationAlgo, - std::shared_ptr theResultBody, - std::shared_ptr theBaseShape); }; #endif // FEATURESPLUGIN_MULTIROTATION_H_ \ No newline at end of file