Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V8_5_asterstudy'
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_RevolutionDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx
b/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx
index a91586798c0e9c657c4a93ec1a657a1502757fb9..9e7554e1e3ffb9e2e6b4010f742b4d0c9523c17f 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-261,7
+261,7
@@
SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule )
mySMESHGUI->SetActiveDialogBox((QDialog*)this);
mySMESHGUI->SetActiveDialogBox((QDialog*)this);
- myHelpFileName = "revolution
_page
.html";
+ myHelpFileName = "revolution.html";
Init();
Init();
@@
-612,9
+612,7
@@
void SMESHGUI_RevolutionDlg::SelectionIntoArgument()
if ( !aMesh )
return;
if ( !aMesh )
return;
- int aNbUnits = 0;
-
- bool isNodeSelected = (myEditCurrentArgument == (QWidget*)SpinBox_X ||
+ bool isNodeSelected = ((myEditCurrentArgument == (QWidget*)SpinBox_X ) ||
(myEditCurrentArgument == (QWidget*)SpinBox_DX &&
myVectorDefinition==POINT_SELECT));
(myEditCurrentArgument == (QWidget*)SpinBox_DX &&
myVectorDefinition==POINT_SELECT));
@@
-643,7
+641,7
@@
void SMESHGUI_RevolutionDlg::SelectionIntoArgument()
else if ( isFaceSelected )
{
const SMDS_MeshFace* face =
else if ( isFaceSelected )
{
const SMDS_MeshFace* face =
-
dynamic_cast<const SMDS_MeshFace*>(aMesh->FindElement(aMapIndex(1
)));
+
SMDS_Mesh::DownCast<SMDS_MeshFace>( aMesh->FindElement( aMapIndex( 1
)));
if (!face)
return;
gp_XYZ aNormale = SMESH::getNormale(face);
if (!face)
return;
gp_XYZ aNormale = SMESH::getNormale(face);