From 8d08a5a0dd0b07df395028307cc3be8c03df04e7 Mon Sep 17 00:00:00 2001 From: rnc Date: Mon, 23 Jul 2012 11:52:37 +0000 Subject: [PATCH] EDF 2281 : small fixes --- src/GEOMGUI/GEOM_images.ts | 2 +- src/GEOMGUI/GEOM_msg_en.ts | 4 ++++ src/GEOMGUI/GEOM_msg_fr.ts | 4 ++++ src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) 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 << ")"; -- 2.39.2