X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_RotationDlg.cxx;h=a060d034a6954cd89ca89bcce75aa99c363fe7ed;hb=ed456586bfb1411c5bff73b221658766689a6253;hp=e8ae9052eb3d614d40caf812d6439b09990b33e7;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx index e8ae9052e..a060d034a 100644 --- 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;