From: skl Date: Thu, 19 Jun 2008 05:27:13 +0000 (+0000) Subject: Update for bug IPAL19949. X-Git-Tag: V4_1_4a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa69d46a99dd8cefae461382be12cf9627197164;p=modules%2Fgeom.git Update for bug IPAL19949. --- 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 ; }