diff options
author | Justin Clark-Casey (justincc) | 2011-10-18 20:56:11 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-18 20:56:11 +0100 |
commit | 5515c45e3b42497f64f8e5846697471b1de952c5 (patch) | |
tree | 9c6e81cac687df800a9ae1a7d41030eed95fce79 /OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |
parent | Remove the unused CollisionLocker from ODE (diff) | |
download | opensim-SC-5515c45e3b42497f64f8e5846697471b1de952c5.zip opensim-SC-5515c45e3b42497f64f8e5846697471b1de952c5.tar.gz opensim-SC-5515c45e3b42497f64f8e5846697471b1de952c5.tar.bz2 opensim-SC-5515c45e3b42497f64f8e5846697471b1de952c5.tar.xz |
minor: method doc to explain a lock of OdeLock
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 447304b..1b9378a 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -2378,6 +2378,8 @@ Console.WriteLine(" JointCreateFixed"); | |||
2378 | 2378 | ||
2379 | public override void SetVolumeDetect(int param) | 2379 | public override void SetVolumeDetect(int param) |
2380 | { | 2380 | { |
2381 | // We have to lock the scene here so that an entire simulate loop either uses volume detect for all | ||
2382 | // possible collisions with this prim or for none of them. | ||
2381 | lock (_parent_scene.OdeLock) | 2383 | lock (_parent_scene.OdeLock) |
2382 | { | 2384 | { |
2383 | m_isVolumeDetect = (param != 0); | 2385 | m_isVolumeDetect = (param != 0); |