Python3 porting

fix the pb with creation of StdMeshersBuilder_RadialPrism3D by mesh.Prism()
This commit is contained in:
eap 2017-10-19 15:30:51 +03:00
parent 54d669640d
commit 254c2216c3

View File

@ -5292,7 +5292,7 @@ class algoCreator:
if not algoType:
algoType = self.defaultAlgoType
if not algoType and self.algoTypeToClass:
algoType = self.algoTypeToClass.keys()[0]
algoType = sorted( self.algoTypeToClass.keys() )[0]
if self.algoTypeToClass.has_key( algoType ):
#print "Create algo",algoType
return self.algoTypeToClass[ algoType ]( self.mesh, shape )