mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-03 21:30:34 +05:00
PAL21685: Fatal error after save/open study with Edit group as standalone group
* register new CORBA object for persistence at group conversion
This commit is contained in:
parent
eae9e2af47
commit
2a69c947b9
@ -1861,7 +1861,6 @@ void SMESH_Mesh_i::CheckGeomGroupModif()
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Create standalone group instead if group on geometry
|
* \brief Create standalone group instead if group on geometry
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
||||||
@ -1918,8 +1917,8 @@ SMESH::SMESH_Group_ptr SMESH_Mesh_i::ConvertToStandalone( SMESH::SMESH_GroupOnGe
|
|||||||
_mapGroups[anId] = SMESH::SMESH_GroupBase::_duplicate( aGroup );
|
_mapGroups[anId] = SMESH::SMESH_GroupBase::_duplicate( aGroup );
|
||||||
|
|
||||||
// register CORBA object for persistence
|
// register CORBA object for persistence
|
||||||
//int nextId = _gen_i->RegisterObject( aGroup );
|
/*int nextId =*/ _gen_i->RegisterObject( aGroup );
|
||||||
//if(MYDEBUG) MESSAGE( "Add group to map with id = "<< nextId);
|
|
||||||
builder->SetIOR( aGroupSO, _gen_i->GetORB()->object_to_string( aGroup ) );
|
builder->SetIOR( aGroupSO, _gen_i->GetORB()->object_to_string( aGroup ) );
|
||||||
|
|
||||||
return aGroup._retn();
|
return aGroup._retn();
|
||||||
|
Loading…
Reference in New Issue
Block a user