Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a2fe500
)
PAL10100 - just computed mesh must be selected in VTK
author
asl
<asl@opencascade.com>
Tue, 8 Nov 2005 09:50:41 +0000
(09:50 +0000)
committer
asl
<asl@opencascade.com>
Tue, 8 Nov 2005 09:50:41 +0000
(09:50 +0000)
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 0227331c157aedf75546969f4c9d029c71ba632f..d8a0416d1925bc366a50ac709d5e5ebf52f167ec 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-1268,10
+1268,11
@@
bool SMESHGUI::OnGUIEvent( int theCommandID )
case 701: // COMPUTE MESH
{
if(checkLock(aStudy)) break;
case 701: // COMPUTE MESH
{
if(checkLock(aStudy)) break;
- if ( vtkwnd ) {
- LightApp_SelectionMgr *Sel = selectionMgr();
- SALOME_ListIO selected; Sel->selectedObjects( selected );
+ LightApp_SelectionMgr *Sel = selectionMgr();
+ SALOME_ListIO selected; Sel->selectedObjects( selected );
+
+ if ( vtkwnd ) {
int nbSel = selected.Extent();
if (nbSel != 1){
break;
int nbSel = selected.Extent();
if (nbSel != 1){
break;
@@
-1364,6
+1365,7
@@
bool SMESHGUI::OnGUIEvent( int theCommandID )
tr("SMESH_BUT_OK"));
}
updateObjBrowser();
tr("SMESH_BUT_OK"));
}
updateObjBrowser();
+ Sel->setSelectedObjects( selected );
break;
}
break;
}