On geom removal, remove the name from the OdeScene.geom_name_map too

bulletsim
Justin Clark-Casey (justincc) 2011-08-01 06:40:29 +01:00
parent f79df6f43f
commit ccb4b76242
1 changed files with 1 additions and 0 deletions

View File

@ -1445,6 +1445,7 @@ Console.WriteLine("CreateGeom:");
{
try
{
_parent_scene.geom_name_map.Remove(prim_geom);
_parent_scene.actor_name_map.Remove(prim_geom);
d.GeomDestroy(prim_geom);
prim_geom = IntPtr.Zero;