PAL11211: SIGSGV when exporting a mesh after having deleted a group.

This commit is contained in:
jfa 2006-01-18 09:34:12 +00:00
parent 249aa0a108
commit c453758762

View File

@ -1069,8 +1069,8 @@ void SMESH_Mesh::RemoveGroup (const int theGroupID)
if (_mapGroup.find(theGroupID) == _mapGroup.end())
return;
GetMeshDS()->RemoveGroup( _mapGroup[theGroupID]->GetGroupDS() );
_mapGroup.erase (theGroupID);
delete _mapGroup[theGroupID];
_mapGroup.erase (theGroupID);
}
//=============================================================================