X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ReorientFacesDlg.cxx;h=aee6f62d77c8ef99c6099ed1e93123038fbdc893;hb=5d68554076bbca0e1e95fb0db215a6c2b84b6c54;hp=cc5db9fe246e3b915eca3750b677f69fc65b916a;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx b/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx index cc5db9fe2..aee6f62d7 100644 --- a/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -401,22 +401,22 @@ SUIT_SelectionFilter* SMESHGUI_ReorientFacesOp::createFilter( const int what ) c case EObject: { QList filters; - filters.append( new SMESH_TypeFilter( MESH )); - filters.append( new SMESH_TypeFilter( SUBMESH_FACE )); - filters.append( new SMESH_TypeFilter( GROUP_FACE )); + filters.append( new SMESH_TypeFilter( SMESH::MESH )); + filters.append( new SMESH_TypeFilter( SMESH::SUBMESH_FACE )); + filters.append( new SMESH_TypeFilter( SMESH::GROUP_FACE )); return new SMESH_LogicalFilter( filters, SMESH_LogicalFilter::LO_OR ); } case EPoint: { QList filters; - filters.append( new SMESH_TypeFilter( IDSOURCE )); + filters.append( new SMESH_TypeFilter( SMESH::IDSOURCE )); filters.append( new SMESH_NumberFilter( "GEOM",TopAbs_VERTEX, 1, TopAbs_VERTEX )); return new SMESH_LogicalFilter( filters, SMESH_LogicalFilter::LO_OR ); } case EFace: case EDirection: { - return new SMESH_TypeFilter( IDSOURCE ); + return new SMESH_TypeFilter( SMESH::IDSOURCE ); } } return NULL;