]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PR: restore missing attributes for compatibility with old scripts
authorprascle <prascle>
Tue, 9 Apr 2013 16:47:57 +0000 (16:47 +0000)
committerprascle <prascle>
Tue, 9 Apr 2013 16:47:57 +0000 (16:47 +0000)
src/SMESH_SWIG/smesh.py

index ab9a6f031c90f85558387f9722ba7447a7c03258..9cfc32f086efad3cab08eb5de5de77d7c0a285a9 100644 (file)
@@ -43,11 +43,13 @@ try:
     engineSmesh = salome.lcc.FindOrLoadComponent( "FactoryServer", "SMESH" )
     smesh = smeshBuilder.New(salome.myStudy, engineSmesh)
 except:
+    print "exception in smesh.py: instance creation failed"
     smesh = None
     pass
 
 # load plugins and add dynamically generated methods to Mesh class,
 # the same for for global variables declared by plug-ins
+from salome.smesh.smeshBuilder import *
 from salome.smesh.smeshBuilder import Mesh, algoCreator
 for pluginName in os.environ[ "SMESH_MeshersList" ].split( ":" ):
     #