From: rnc Date: Mon, 23 Jul 2012 11:52:37 +0000 (+0000) Subject: EDF 2281 : small fixes X-Git-Tag: V6_6_0a1~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8d08a5a0dd0b07df395028307cc3be8c03df04e7;p=modules%2Fgeom.git EDF 2281 : small fixes --- diff --git a/src/GEOMGUI/GEOM_images.ts b/src/GEOMGUI/GEOM_images.ts index 98a2864f9..a1580cdd4 100644 --- a/src/GEOMGUI/GEOM_images.ts +++ b/src/GEOMGUI/GEOM_images.ts @@ -1298,7 +1298,7 @@ ICON_OBJBROWSER_ADVANCED_203 - tree_dividedcylinder.png + dividedcylinder.png diff --git a/src/GEOMGUI/GEOM_msg_en.ts b/src/GEOMGUI/GEOM_msg_en.ts index 4d047fc5c..6a1488952 100644 --- a/src/GEOMGUI/GEOM_msg_en.ts +++ b/src/GEOMGUI/GEOM_msg_en.ts @@ -4578,6 +4578,10 @@ Otherwise the dimensions will be kept without modifications. GEOM_ADVANCED_202 Divided Disk + + GEOM_ADVANCED_203 + Divided Cylinder + GEOM_PRECISION_HINT Input value precision can be adjusted using diff --git a/src/GEOMGUI/GEOM_msg_fr.ts b/src/GEOMGUI/GEOM_msg_fr.ts index f5431a4aa..c23bc423e 100644 --- a/src/GEOMGUI/GEOM_msg_fr.ts +++ b/src/GEOMGUI/GEOM_msg_fr.ts @@ -4566,6 +4566,10 @@ Sinon les dimensions seront préservées sans modifications. GEOM_ADVANCED_202 Disque prédécoupé + + GEOM_ADVANCED_203 + Cylindre prédécoupé + GEOM_PRECISION_HINT Il est possible d'ajuster la précision de la valeur d'entrée avec diff --git a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx index 703112c7c..b4b9f714f 100644 --- a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx @@ -2375,6 +2375,7 @@ Handle(GEOM_Object) GEOMImpl_IAdvancedOperations::MakeDividedCylinder (double th Handle(GEOM_Function) aFunction = aShape->GetLastFunction(); aFunction->SetDescription(""); // Erase dump of MakePrismDXDYDZ + aShape->SetType(GEOM_DIVIDEDCYLINDER); //Make a Python command GEOM::TPythonDump(aFunction) << aShape << " = geompy.MakeDividedCylinder(" << theR << ", " << theH << ")";