Remove the text "formerly Yams" from SMESH plugin menus. MG-SurfOpt is the official name.

This commit is contained in:
Christophe Bourcier 2016-07-08 11:44:37 +02:00
parent 65b30f865b
commit 9b27b015d9
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ def YamsLct(context):
os.environ['DISTENE_LICENSE_FILE'] os.environ['DISTENE_LICENSE_FILE']
except: except:
QMessageBox.warning(None,"Products","""\ 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: required environment variable:
DISTENE_LICENSE_FILE='.../dlim8.var.sh'""") DISTENE_LICENSE_FILE='.../dlim8.var.sh'""")
return return

View File

@ -42,11 +42,11 @@ except:
try: try:
from yamsplug_plugin import YamsLct from yamsplug_plugin import YamsLct
salome_pluginsmanager.AddFunction('ReMesh with MGSurfOpt ( formerly Yams )', salome_pluginsmanager.AddFunction('ReMesh with MGSurfOpt',
'Run Yams', 'Run Yams',
YamsLct) YamsLct)
except: except:
salome_pluginsmanager.logger.info('ERROR: MGSurfOpt (Yams) plug-in is unavailable') salome_pluginsmanager.logger.info('ERROR: MGSurfOpt plug-in is unavailable')
pass pass
try: try: