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 with OCC-V2_1_0_deb
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_RotationDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx
b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx
index e8ae9052eb3d614d40caf812d6439b09990b33e7..a060d034a6954cd89ca89bcce75aa99c363fe7ed 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
@@
-529,7
+529,10
@@
void SMESHGUI_RotationDlg::SelectionIntoArgument()
myMesh = SMESH::GetMeshByIO( mySelection->firstIObject() );
if(myMesh->_is_nil())
return;
+
myActor = SMESH::FindActorByObject(myMesh);
+ if (!myActor)
+ myActor = SMESH::FindActorByEntry(IO->getEntry());
if (!myActor)
return;