From bcb9aab94b9b9f71aa17b9d165eafb4c2a8e14a3 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 24 Jul 2018 14:18:24 +0300 Subject: [PATCH] Issue #2559: remove duplicated line, fix indentation. --- src/BuildPlugin/BuildPlugin_Plugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BuildPlugin/BuildPlugin_Plugin.cpp b/src/BuildPlugin/BuildPlugin_Plugin.cpp index fbf02dbc4..3c6a9cf48 100644 --- a/src/BuildPlugin/BuildPlugin_Plugin.cpp +++ b/src/BuildPlugin/BuildPlugin_Plugin.cpp @@ -72,10 +72,8 @@ FeaturePtr BuildPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new BuildPlugin_Edge()); } else if(theFeatureID == BuildPlugin_Wire::ID()) { return FeaturePtr(new BuildPlugin_Wire()); - } else if (theFeatureID == BuildPlugin_Wire::ID()) { - return FeaturePtr(new BuildPlugin_Wire()); } else if (theFeatureID == BuildPlugin_Polyline::ID()) { - return FeaturePtr(new BuildPlugin_Polyline()); + return FeaturePtr(new BuildPlugin_Polyline()); } else if (theFeatureID == BuildPlugin_Interpolation::ID()) { return FeaturePtr(new BuildPlugin_Interpolation()); } else if (theFeatureID == BuildPlugin_Face::ID()) { -- 2.39.2