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
PAL6938
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_RotationDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx
b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx
index e8ae9052eb3d614d40caf812d6439b09990b33e7..fd7253b76e22edd6a31cfee198fc5e1f58b58ea1 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
@@
-55,6
+55,10
@@
#include <qlayout.h>
#include <qpixmap.h>
#include <qlayout.h>
#include <qpixmap.h>
+// IDL Headers
+#include "SALOMEconfig.h"
+#include CORBA_SERVER_HEADER(SMESH_Group)
+
using namespace std;
//=================================================================================
using namespace std;
//=================================================================================
@@
-529,7
+533,10
@@
void SMESHGUI_RotationDlg::SelectionIntoArgument()
myMesh = SMESH::GetMeshByIO( mySelection->firstIObject() );
if(myMesh->_is_nil())
return;
myMesh = SMESH::GetMeshByIO( mySelection->firstIObject() );
if(myMesh->_is_nil())
return;
+
myActor = SMESH::FindActorByObject(myMesh);
myActor = SMESH::FindActorByObject(myMesh);
+ if (!myActor)
+ myActor = SMESH::FindActorByEntry(IO->getEntry());
if (!myActor)
return;
if (!myActor)
return;