mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
Fix for bug PAL10407 ( Can't select a mesh in the "create group" dialog box if a geom shape is selected ).
This commit is contained in:
parent
1e3cd4b833
commit
38598e5ecb
@ -720,7 +720,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
|||||||
{
|
{
|
||||||
myMesh = SMESH::IObjectToInterface<SMESH::SMESH_Mesh>(IO);
|
myMesh = SMESH::IObjectToInterface<SMESH::SMESH_Mesh>(IO);
|
||||||
if(myMesh->_is_nil())
|
if(myMesh->_is_nil())
|
||||||
|
{
|
||||||
|
busy = false;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
myGroup = SMESH::SMESH_Group::_nil();
|
myGroup = SMESH::SMESH_Group::_nil();
|
||||||
|
|
||||||
myActor = SMESH::FindActorByObject(myMesh);
|
myActor = SMESH::FindActorByObject(myMesh);
|
||||||
@ -740,7 +743,10 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
|||||||
{
|
{
|
||||||
SMESH::SMESH_Group_var aGroup = SMESH::IObjectToInterface<SMESH::SMESH_Group>(IO);
|
SMESH::SMESH_Group_var aGroup = SMESH::IObjectToInterface<SMESH::SMESH_Group>(IO);
|
||||||
if(aGroup->_is_nil())
|
if(aGroup->_is_nil())
|
||||||
|
{
|
||||||
|
busy = false;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
busy = false;
|
busy = false;
|
||||||
myCurrentLineEdit = 0;
|
myCurrentLineEdit = 0;
|
||||||
init(aGroup);
|
init(aGroup);
|
||||||
|
Loading…
Reference in New Issue
Block a user