Fix misprint

This commit is contained in:
vsr 2022-03-10 16:16:10 +03:00
parent 8bd22224ca
commit ac075ee14b
3 changed files with 3 additions and 3 deletions

View 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() );

View 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 );

View 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 );
}