Salome HOME
52747: Wrong doc page opened from Scalar Bar Properties dialog
authoreap <eap@opencascade.com>
Thu, 14 May 2015 11:58:45 +0000 (14:58 +0300)
committereap <eap@opencascade.com>
Thu, 14 May 2015 11:58:45 +0000 (14:58 +0300)
doc/salome/gui/SMESH/images/image90.jpg [changed mode: 0755->0644]
src/Controls/SMESH_Controls.cxx
src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx

old mode 100755 (executable)
new mode 100644 (file)
index 4f4c301..a78c439
Binary files a/doc/salome/gui/SMESH/images/image90.jpg and b/doc/salome/gui/SMESH/images/image90.jpg differ
index 714f48e97d304055a7ef490e19842c6a4b970c6d..0b53dd266e85c0ea00ca3ebac208948d822a6660 100644 (file)
@@ -1357,10 +1357,10 @@ double Taper::GetValue( const TSequenceOfXYZ& P )
     return 0.;
 
   // Compute taper
     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 )
 
   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]
 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;
 }
   // 1.0 = bad  (les cotes opposes sont allignes)
   return Value;
 }
index 7e64eb06c7f02180bb99688361c5876dec617e8e..68deaf5a5c65c9bdc16b7234404ecbe8dee70f28 100644 (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() ) );
 
   connect( mySelectionMgr,      SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
   connect( mySMESHGUI,          SIGNAL( SignalCloseAllDialogs() ),   this, SLOT( reject() ) );
 
-  myHelpFileName = "quality_page.html";
+  myHelpFileName = "scalar_bar_dlg.html";
 }
 
 //=================================================================================================
 }
 
 //=================================================================================================