]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix bad gradation value from GUI to command line
authorChristophe Bourcier local <bourcier@is223289.intra.cea.fr>
Thu, 13 Nov 2014 12:25:11 +0000 (13:25 +0100)
committerChristophe Bourcier local <bourcier@is223289.intra.cea.fr>
Thu, 13 Nov 2014 12:25:11 +0000 (13:25 +0100)
src/Tools/YamsPlug/monYamsPlugDialog.py

index 7f43838c450cd950f209b5d4244041b1b6c6c5ed..3fa65e55796181fb633a6000b9104cce16c1403d 100644 (file)
@@ -485,7 +485,7 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget):
     if self.SP_Ridge.value()        != 45.0  : self.commande+=" --ridge_angle %f"%self.SP_Ridge.value()
     if self.SP_MaxSize.value()      != 100   : self.commande+=" --max_size %f"   %self.SP_MaxSize.value()
     if self.SP_MinSize.value()      != 5     : self.commande+=" --min_size %f"   %self.SP_MinSize.value()
-    if self.SP_Gradation.value()    != 1.3   : self.commande+=" --gradation %f"  %self.SP_MaxSize.value()
+    if self.SP_Gradation.value()    != 1.3   : self.commande+=" --gradation %f"  %self.SP_Gradation.value()
     if self.SP_Memory.value()       != 0     : self.commande+=" --max_memory %d" %self.SP_Memory.value()
     if self.SP_Verbosity.value()    != 3     : self.commande+=" --verbose %d" %self.SP_Verbosity.value()