mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-07 12:07:28 +05:00
PAL11211: SIGSGV when exporting a mesh after having deleted a group.
This commit is contained in:
parent
249aa0a108
commit
c453758762
@ -1069,8 +1069,8 @@ void SMESH_Mesh::RemoveGroup (const int theGroupID)
|
|||||||
if (_mapGroup.find(theGroupID) == _mapGroup.end())
|
if (_mapGroup.find(theGroupID) == _mapGroup.end())
|
||||||
return;
|
return;
|
||||||
GetMeshDS()->RemoveGroup( _mapGroup[theGroupID]->GetGroupDS() );
|
GetMeshDS()->RemoveGroup( _mapGroup[theGroupID]->GetGroupDS() );
|
||||||
_mapGroup.erase (theGroupID);
|
|
||||||
delete _mapGroup[theGroupID];
|
delete _mapGroup[theGroupID];
|
||||||
|
_mapGroup.erase (theGroupID);
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user