mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
Fix for Bug IPAL11977:
TC: Incorrect AspectRatio3D presentation after editing Scalar Bar properties
This commit is contained in:
parent
38e52aa7f0
commit
5f5ee84f19
@ -637,8 +637,8 @@ void SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged()
|
|||||||
|
|
||||||
if ( myScalarBarActor->GetLookupTable() ) {
|
if ( myScalarBarActor->GetLookupTable() ) {
|
||||||
float *range = myScalarBarActor->GetLookupTable()->GetRange();
|
float *range = myScalarBarActor->GetLookupTable()->GetRange();
|
||||||
myMinEdit->setText( QString::number( range[0] ) );
|
myMinEdit->setText( QString::number( range[0],'g',12 ) );
|
||||||
myMaxEdit->setText( QString::number( range[1] ) );
|
myMaxEdit->setText( QString::number( range[1],'g',12 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
vtkTextProperty* aTitleTextPrp = myScalarBarActor->GetTitleTextProperty();
|
vtkTextProperty* aTitleTextPrp = myScalarBarActor->GetTitleTextProperty();
|
||||||
|
Loading…
Reference in New Issue
Block a user