mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
PAL10347 - can't create group on geometry
This commit is contained in:
parent
73c48bae5a
commit
1ca52d6d92
@ -844,7 +844,7 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
||||
aGroupMainShape = GEOM::GEOM_Object::_duplicate(myGeomGroup);
|
||||
_PTR(SObject) aGroupMainShapeSO =
|
||||
//aStudy->FindObjectIOR(aStudy->ConvertObjectToIOR(aGroupMainShape));
|
||||
aStudy->FindObjectIOR(aGroupMainShape->GetStudyEntry());
|
||||
aStudy->FindObjectID(aGroupMainShape->GetStudyEntry());
|
||||
|
||||
// The mesh SObject
|
||||
_PTR(SObject) aMeshSO = SMESH::FindSObject(myMesh);
|
||||
@ -1209,7 +1209,7 @@ void SMESHGUI_GroupDlg::onAdd()
|
||||
if (aGroupType == aType) {
|
||||
_PTR(SObject) aGroupSO =
|
||||
//aStudy->FindObjectIOR(aStudy->ConvertObjectToIOR(myGeomGroup));
|
||||
aStudy->FindObjectIOR(myGeomGroup->GetStudyEntry());
|
||||
aStudy->FindObjectID(myGeomGroup->GetStudyEntry());
|
||||
// Construct filter
|
||||
SMESH::FilterManager_var aFilterMgr = SMESH::GetFilterManager();
|
||||
SMESH::Filter_var aFilter = aFilterMgr->CreateFilter();
|
||||
|
Loading…
Reference in New Issue
Block a user