From 9b27b015d90bd12f9c8c7ea804bf69815e85491f Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Fri, 8 Jul 2016 11:44:37 +0200 Subject: [PATCH] Remove the text "formerly Yams" from SMESH plugin menus. MG-SurfOpt is the official name. --- src/Tools/YamsPlug/yamsplug_plugin.py | 2 +- src/Tools/smesh_plugins.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Tools/YamsPlug/yamsplug_plugin.py b/src/Tools/YamsPlug/yamsplug_plugin.py index 292bbe985..20eea53c6 100755 --- a/src/Tools/YamsPlug/yamsplug_plugin.py +++ b/src/Tools/YamsPlug/yamsplug_plugin.py @@ -37,7 +37,7 @@ def YamsLct(context): os.environ['DISTENE_LICENSE_FILE'] except: QMessageBox.warning(None,"Products","""\ -Distene's product MeshGem SurfOpt (formerly Yams) is not installed. +Distene's product MeshGem SurfOpt is not installed. required environment variable: DISTENE_LICENSE_FILE='.../dlim8.var.sh'""") return diff --git a/src/Tools/smesh_plugins.py b/src/Tools/smesh_plugins.py index 52a886f3c..3c81d72fa 100644 --- a/src/Tools/smesh_plugins.py +++ b/src/Tools/smesh_plugins.py @@ -42,11 +42,11 @@ except: try: from yamsplug_plugin import YamsLct - salome_pluginsmanager.AddFunction('ReMesh with MGSurfOpt ( formerly Yams )', + salome_pluginsmanager.AddFunction('ReMesh with MGSurfOpt', 'Run Yams', YamsLct) except: - salome_pluginsmanager.logger.info('ERROR: MGSurfOpt (Yams) plug-in is unavailable') + salome_pluginsmanager.logger.info('ERROR: MGSurfOpt plug-in is unavailable') pass try: -- 2.39.2