From 509200d5cd0646a75eaa200165bbae85e09b4380 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 1 Aug 2011 05:48:27 +0100
Subject: minor: add note to RemovePrimThreadLocked() to the effect that it
contrary to the summary, it is being called from within Simulate() lock
(OdeLock)
---
OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 +-
OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Physics/OdePlugin')
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index e18e1b4..61408f0 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -1352,7 +1352,7 @@ Console.WriteLine("ZProcessTaints for " + Name);
}
///
- /// Create a geometry for the given mesh in the given target space.
+ /// Create a geometry for the given mesh/shape in the given target space.
///
///
/// If null, then a mesh is used that is based on the profile shape data.
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index c1c4d11..4419dff 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -2110,6 +2110,9 @@ namespace OpenSim.Region.Physics.OdePlugin
///
/// This is called from within simulate but outside the locked portion
/// We need to do our own locking here
+ /// (Note: As of 20110801 this no longer appears to be true - this is being called within lock (odeLock) in
+ /// Simulate() -- justincc).
+ ///
/// Essentially, we need to remove the prim from our space segment, whatever segment it's in.
///
/// If there are no more prim in the segment, we need to empty (spacedestroy)the segment and reclaim memory
--
cgit v1.1