]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Update for bug IPAL19949.
authorskl <skl@opencascade.com>
Thu, 19 Jun 2008 05:27:13 +0000 (05:27 +0000)
committerskl <skl@opencascade.com>
Thu, 19 Jun 2008 05:27:13 +0000 (05:27 +0000)
src/GEOMGUI/GEOM_msg_en.po
src/OperationGUI/OperationGUI_GetShapesOnShapeDlg.cxx

index c10a98c362ad2ba1e872ae128d5fbacb26156e90..b88e55e8b6390c85dbce4fe7462e9099f8edeef5 100644 (file)
@@ -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"
index c7017dabc9e7a6ee8f2080ed7336bb4ded76d11c..1b408dd7c0362aa432c682c31302c603fad476ef 100644 (file)
@@ -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 ;
   }