aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorKitto Flora2010-07-13 20:37:13 +0000
committerKitto Flora2010-07-13 20:37:13 +0000
commit7ab103c96f3e82cac592f20d61358e1928da8e27 (patch)
tree0dd397de0b82b9eb2109847122d61bd86134b65e /OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
parentRemoved the CHANGED_COLOR event post from the Color accessor in SOP. This is ... (diff)
downloadopensim-SC-7ab103c96f3e82cac592f20d61358e1928da8e27.zip
opensim-SC-7ab103c96f3e82cac592f20d61358e1928da8e27.tar.gz
opensim-SC-7ab103c96f3e82cac592f20d61358e1928da8e27.tar.bz2
opensim-SC-7ab103c96f3e82cac592f20d61358e1928da8e27.tar.xz
Rewrite collision dictionary handling, cleans up deleted obects/avs. Fixes occasional collision event failure. ChOde only.
Diffstat (limited to 'OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
index 79e2986..ab084fd 100644
--- a/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
@@ -2206,6 +2206,12 @@ namespace OpenSim.Region.Physics.OdePlugin
2206 { 2206 {
2207 if (prim.prim_geom != IntPtr.Zero) 2207 if (prim.prim_geom != IntPtr.Zero)
2208 { 2208 {
2209
2210//string tPA;
2211//geom_name_map.TryGetValue(prim.prim_geom, out tPA);
2212//Console.WriteLine("**** Remove {0}", tPA);
2213 if(geom_name_map.ContainsKey(prim.prim_geom)) geom_name_map.Remove(prim.prim_geom);
2214 if(actor_name_map.ContainsKey(prim.prim_geom)) actor_name_map.Remove(prim.prim_geom);
2209 d.GeomDestroy(prim.prim_geom); 2215 d.GeomDestroy(prim.prim_geom);
2210 prim.prim_geom = IntPtr.Zero; 2216 prim.prim_geom = IntPtr.Zero;
2211 } 2217 }