Salome HOME
More test to improve coverage of filters
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeShapeCustom.cpp
index 81f16868ea9717d559fdcb3ddf3b32a0212a2902..ae6be4163e5f6db17f47064a629904282e7c1879 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include <GeomAlgoAPI_MakeShapeCustom.h>
 
 //==================================================================================================
 GeomAlgoAPI_MakeShapeCustom::GeomAlgoAPI_MakeShapeCustom()
-{}
+{
+}
 
 //==================================================================================================
 void GeomAlgoAPI_MakeShapeCustom::setResult(const GeomShapePtr theShape)
@@ -36,7 +36,6 @@ bool GeomAlgoAPI_MakeShapeCustom::addModified(const GeomShapePtr theOldShape,
 {
   if (!isValidForHistory(theNewShape)) return false;
   GeomShapePtr aNewShape = theNewShape;
-  fixOrientation(aNewShape);
   return myModified.add(theOldShape, aNewShape);
 }
 
@@ -46,7 +45,6 @@ bool GeomAlgoAPI_MakeShapeCustom::addGenerated(const GeomShapePtr theOldShape,
 {
   if (!isValidForHistory(theNewShape)) return false;
   GeomShapePtr aNewShape = theNewShape;
-  fixOrientation(aNewShape);
   return myGenerated.add(theOldShape, aNewShape);
 }