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

This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-01 06:40:29 +01:00
parent f79df6f43f
commit ccb4b76242

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;