Salome HOME
Fix default tolerance in double nodes computation
authorMassimiliano Leoni <leoni.massimiliano1@gmail.com>
Mon, 24 Jan 2022 10:43:43 +0000 (11:43 +0100)
committereap <eap@opencascade.com>
Wed, 26 Jan 2022 11:59:29 +0000 (14:59 +0300)
src/SMESHGUI/SMESHGUI_MeshInfo.cxx

index 37ed558db44faee35f6497fa3ee1398385b9dc3f..2fe20aeeb8e76273cde54fbe1874838fabc02c2c 100644 (file)
@@ -3549,6 +3549,7 @@ SMESHGUI_CtrlInfo::SMESHGUI_CtrlInfo( QWidget* parent ): SMESHGUI_Info( parent )
   connect( aDoubleVolumesBtn, SIGNAL( clicked() ), this, SLOT( computeDoubleVolumesInfo() ) );
   connect( aOverContVolumesBtn,SIGNAL( clicked() ), this, SLOT( computeOverConstrainedVolumesInfo() ) );
   connect( myToleranceWidget, SIGNAL( valueChanged( double ) ), this, SLOT( setTolerance( double ) ) );
+  this->setTolerance(myToleranceWidget->GetValue());
 
   l->addWidget( aNameLab,           0, 0 ); //0
   l->addWidget( aName,              0, 1 ); //1