mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +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
|
||||
*
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
@ -1918,8 +1917,8 @@ SMESH::SMESH_Group_ptr SMESH_Mesh_i::ConvertToStandalone( SMESH::SMESH_GroupOnGe
|
||||
_mapGroups[anId] = SMESH::SMESH_GroupBase::_duplicate( aGroup );
|
||||
|
||||
// register CORBA object for persistence
|
||||
//int nextId = _gen_i->RegisterObject( aGroup );
|
||||
//if(MYDEBUG) MESSAGE( "Add group to map with id = "<< nextId);
|
||||
/*int nextId =*/ _gen_i->RegisterObject( aGroup );
|
||||
|
||||
builder->SetIOR( aGroupSO, _gen_i->GetORB()->object_to_string( aGroup ) );
|
||||
|
||||
return aGroup._retn();
|
||||
|
Loading…
Reference in New Issue
Block a user