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_TranslationDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
index de761dd5f6d7c4d7b81e99e498d39cba4b3db56c..641ec5c7b39b3864b8b70f2f322cfa2071fcedc2 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
@@
-560,7
+560,10
@@
void SMESHGUI_TranslationDlg::SelectionIntoArgument()
myMesh = SMESH::GetMeshByIO(IO);
if(myMesh->_is_nil())
return;
+
myActor = SMESH::FindActorByObject(myMesh);
+ if (!myActor)
+ myActor = SMESH::FindActorByEntry(IO->getEntry());
if (!myActor)
return;