]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Cherry-pick 254c2216: Python3 porting: fix the pb with creation of StdMeshersBuilder_...
authorvsr <vsr@opencascade.com>
Thu, 19 Oct 2017 13:52:20 +0000 (16:52 +0300)
committervsr <vsr@opencascade.com>
Thu, 19 Oct 2017 13:52:20 +0000 (16:52 +0300)
src/SMESH_SWIG/smeshBuilder.py

index 1817d97ac42cd1fd0c33178b8c4033a4905b2f3b..b60dacbc8c3ba5c216f31f88c9a15f034808a6a8 100644 (file)
@@ -5366,7 +5366,7 @@ class algoCreator:
         if not algoType:
             algoType = self.defaultAlgoType
         if not algoType and self.algoTypeToClass:
-            algoType = list(self.algoTypeToClass.keys())[0]
+            algoType = sorted( self.algoTypeToClass.keys() )[0]
         if algoType in self.algoTypeToClass:
             #print "Create algo",algoType