From: dcq Date: Tue, 16 Mar 2004 15:11:11 +0000 (+0000) Subject: DCQ : Debug X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cdb76f7dc6eac55e9a10838f9815dd2d1607a1a5;p=modules%2Fgeom.git DCQ : Debug --- diff --git a/src/BuildGUI/BuildGUI_ShellDlg.cxx b/src/BuildGUI/BuildGUI_ShellDlg.cxx index 8a33f4cf6..409b6bf07 100644 --- a/src/BuildGUI/BuildGUI_ShellDlg.cxx +++ b/src/BuildGUI/BuildGUI_ShellDlg.cxx @@ -87,7 +87,7 @@ void BuildGUI_ShellDlg::Init() myEditCurrentArgument = GroupShell->LineEdit1; myOkListShapes = false; - myFaceFilter = new GEOM_FaceFilter(StdSelect_Plane, myGeom); + myFaceFilter = new GEOM_ShapeTypeFilter(TopAbs_FACE, myGeom); /* Filter for the next selection */ mySelection->AddFilter(myFaceFilter) ; diff --git a/src/BuildGUI/BuildGUI_ShellDlg.h b/src/BuildGUI/BuildGUI_ShellDlg.h index 87f3d428e..da3598a12 100644 --- a/src/BuildGUI/BuildGUI_ShellDlg.h +++ b/src/BuildGUI/BuildGUI_ShellDlg.h @@ -34,7 +34,7 @@ #include "BuildGUI.h" -#include "GEOM_FaceFilter.hxx" +#include "GEOM_ShapeTypeFilter.hxx" //================================================================================= // class : BuildGUI_ShellDlg @@ -54,7 +54,7 @@ private: BuildGUI* myBuildGUI; - Handle(GEOM_FaceFilter) myFaceFilter; /* Filters selection */ + Handle(GEOM_ShapeTypeFilter) myFaceFilter; /* Filters selection */ GEOM::GEOM_Gen::ListOfIOR myListShapes; bool myOkListShapes; /* to check when arguments is defined */