diff options
author | Justin Clark-Casey (justincc) | 2011-08-01 06:40:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-01 06:40:29 +0100 |
commit | ccb4b762427f8f9c88b8d26a250acb96b32ea807 (patch) | |
tree | e979d72c24a62017eac44af3ee2909877dcafc2d /OpenSim/Region/Physics/OdePlugin | |
parent | remove the unused ODEPrim.prev_geom field (diff) | |
download | opensim-SC-ccb4b762427f8f9c88b8d26a250acb96b32ea807.zip opensim-SC-ccb4b762427f8f9c88b8d26a250acb96b32ea807.tar.gz opensim-SC-ccb4b762427f8f9c88b8d26a250acb96b32ea807.tar.bz2 opensim-SC-ccb4b762427f8f9c88b8d26a250acb96b32ea807.tar.xz |
On geom removal, remove the name from the OdeScene.geom_name_map too
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 345156e..8881c44 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -1445,6 +1445,7 @@ Console.WriteLine("CreateGeom:"); | |||
1445 | { | 1445 | { |
1446 | try | 1446 | try |
1447 | { | 1447 | { |
1448 | _parent_scene.geom_name_map.Remove(prim_geom); | ||
1448 | _parent_scene.actor_name_map.Remove(prim_geom); | 1449 | _parent_scene.actor_name_map.Remove(prim_geom); |
1449 | d.GeomDestroy(prim_geom); | 1450 | d.GeomDestroy(prim_geom); |
1450 | prim_geom = IntPtr.Zero; | 1451 | prim_geom = IntPtr.Zero; |