mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 17:00:35 +05:00
Fix misprint
This commit is contained in:
parent
8bd22224ca
commit
ac075ee14b
@ -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() );
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user