Salome HOME
Fix misprint V9_9_0a1
authorvsr <vsr@opencascade.com>
Thu, 10 Mar 2022 13:16:10 +0000 (16:16 +0300)
committervsr <vsr@opencascade.com>
Thu, 10 Mar 2022 13:16:10 +0000 (16:16 +0300)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
src/STLPlugin/STLPlugin_ExportDlg.cxx
src/VTKPlugin/VTKPlugin_ExportDlg.cxx

index b59c741fe91f88d7f8d92f761df32f1d2f07bf78..a1f3952cefa0a6d609cc0855d7bb30f10a69dd94 100644 (file)
@@ -471,7 +471,7 @@ void GEOMToolsGUI::OnDeflection()
   int aMgrId = dynamic_cast< SUIT_ViewModel* >( window )->getViewManager()->getGlobalId();
 
   QVariant v = appStudy->getObjectProperty( aMgrId, selected.First()->getEntry(), GEOM::propertyName( GEOM::Deflection ), QVariant() );
-  double aDC =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coef", 0.001 );
+  double aDC =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coeff", 0.001 );
 
   GEOMToolsGUI_DeflectionDlg * DeflectionDlg = new GEOMToolsGUI_DeflectionDlg
     ( SUIT_Session::session()->activeApplication()->desktop() );
index 00b4a577b473839fd04cfe5ef4a170111701988d..9b04bc8ffb17237332672de10ed21f5f4dde4d04 100644 (file)
@@ -83,7 +83,7 @@ STLPlugin_ExportDlg::STLPlugin_ExportDlg( const Handle(SALOME_InteractiveObject)
   SalomeApp_Study* study = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
   int mgrId = app->activeViewManager()->getGlobalId();
   QVariant v = study->getObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::Deflection ), QVariant() );
-  double deflection =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coef", 0.001 );
+  double deflection =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coeff", 0.001 );
 
   myDeflectionSB->setValue( deflection );
   myModeCB->setChecked( true );
index a68f22e40c5e682334717ebf06b59fd20e765195..488789fad86411e66beec0fbca66c54a7a210ee5 100644 (file)
@@ -65,7 +65,7 @@ VTKPlugin_ExportDlg::VTKPlugin_ExportDlg( const Handle(SALOME_InteractiveObject)
   SalomeApp_Study* study = dynamic_cast< SalomeApp_Study* >( app->activeStudy() );
   int mgrId = app->activeViewManager()->getGlobalId();
   QVariant v = study->getObjectProperty( mgrId, io->getEntry(), GEOM::propertyName( GEOM::Deflection ), QVariant() );
-  double deflection =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coef", 0.001 );
+  double deflection =  v.isValid() ? v.toDouble() : SUIT_Session::session()->resourceMgr()->doubleValue( "Geometry", "deflection_coeff", 0.001 );
   myDeflectionSB->setValue( deflection );
 }