52747: Wrong doc page opened from Scalar Bar Properties dialog

This commit is contained in:
eap 2015-05-14 14:58:45 +03:00
parent e7f4c012fb
commit bb10a2d7a2
3 changed files with 6 additions and 6 deletions

BIN
doc/salome/gui/SMESH/images/image90.jpg Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1357,10 +1357,10 @@ double Taper::GetValue( const TSequenceOfXYZ& P )
return 0.;
// Compute taper
double J1 = getArea( P( 4 ), P( 1 ), P( 2 ) ) / 2.;
double J2 = getArea( P( 3 ), P( 1 ), P( 2 ) ) / 2.;
double J3 = getArea( P( 2 ), P( 3 ), P( 4 ) ) / 2.;
double J4 = getArea( P( 3 ), P( 4 ), P( 1 ) ) / 2.;
double J1 = getArea( P( 4 ), P( 1 ), P( 2 ) );
double J2 = getArea( P( 3 ), P( 1 ), P( 2 ) );
double J3 = getArea( P( 2 ), P( 3 ), P( 4 ) );
double J4 = getArea( P( 3 ), P( 4 ), P( 1 ) );
double JA = 0.25 * ( J1 + J2 + J3 + J4 );
if ( JA <= theEps )
@ -1381,7 +1381,7 @@ double Taper::GetValue( const TSequenceOfXYZ& P )
double Taper::GetBadRate( double Value, int /*nbNodes*/ ) const
{
// the taper is in the range [0.0,1.0]
// 0.0 = good (no taper)
// 0.0 = good (no taper)
// 1.0 = bad (les cotes opposes sont allignes)
return Value;
}

View File

@ -448,7 +448,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg( SMESHGUI*
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( reject() ) );
myHelpFileName = "quality_page.html";
myHelpFileName = "scalar_bar_dlg.html";
}
//=================================================================================================