From fa69d46a99dd8cefae461382be12cf9627197164 Mon Sep 17 00:00:00 2001 From: skl Date: Thu, 19 Jun 2008 05:27:13 +0000 Subject: [PATCH] Update for bug IPAL19949. --- src/GEOMGUI/GEOM_msg_en.po | 2 +- .../OperationGUI_GetShapesOnShapeDlg.cxx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/GEOMGUI/GEOM_msg_en.po b/src/GEOMGUI/GEOM_msg_en.po index c10a98c36..b88e55e8b 100644 --- a/src/GEOMGUI/GEOM_msg_en.po +++ b/src/GEOMGUI/GEOM_msg_en.po @@ -476,7 +476,7 @@ msgstr "Step U :" #ShapesOnShape msgid "GEOM_SHAPES_ON_SHAPE" -msgstr "Shapes_on_shape" +msgstr "Get shapes on shape" msgid "GEOM_SHAPES_ON_SHAPE_ESHAPE" msgstr "Shape for exploding" msgid "GEOM_SHAPES_ON_SHAPE_CSHAPE" diff --git a/src/OperationGUI/OperationGUI_GetShapesOnShapeDlg.cxx b/src/OperationGUI/OperationGUI_GetShapesOnShapeDlg.cxx index c7017dabc..1b408dd7c 100644 --- a/src/OperationGUI/OperationGUI_GetShapesOnShapeDlg.cxx +++ b/src/OperationGUI/OperationGUI_GetShapesOnShapeDlg.cxx @@ -98,9 +98,11 @@ void OperationGUI_GetShapesOnShapeDlg::Init() { /* type for sub shape selection */ GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_SOLID")); - GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_SHELL")); + // commented by skl for IPAL19949 - finder isn't allowed such type + //GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_SHELL")); GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_FACE")); - GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_WIRE")); + // commented by skl for IPAL19949 - finder isn't allowed such type + //GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_WIRE")); GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_EDGE")); GroupPoints->ComboBox1->insertItem(tr("GEOM_RECONSTRUCTION_LIMIT_VERTEX")); @@ -294,11 +296,9 @@ bool OperationGUI_GetShapesOnShapeDlg::execute( ObjectList& objects ) switch (aLimit) { case 0: aLimit = GEOM::SOLID ; break; - case 1: aLimit = GEOM::SHELL ; break; - case 2: aLimit = GEOM::FACE ; break; - case 3: aLimit = GEOM::WIRE ; break; - case 4: aLimit = GEOM::EDGE ; break; - case 5: aLimit = GEOM::VERTEX; break; + case 1: aLimit = GEOM::FACE ; break; + case 2: aLimit = GEOM::EDGE ; break; + case 3: aLimit = GEOM::VERTEX; break; default: aLimit = GEOM::SHAPE ; } -- 2.39.2