From b66fe3e9ffd968c2c8aaa0fba108e86b8c4f04d9 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sat, 3 Dec 2011 02:45:02 +0000 Subject: [PATCH] Add method doc to SP.PhysicsCollisionUpdate() to make it clear that it's called continuously even where there are no collisions --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 05331066dc..1fe8048a8f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3282,6 +3282,10 @@ namespace OpenSim.Region.Framework.Scenes /// /// Event called by the physics plugin to tell the avatar about a collision. /// + /// + /// This function is called continuously, even when there are no collisions which might be very inefficient. + /// However, we can't avoid this yet since some of this method might currently rely on being called every frame. + /// /// public void PhysicsCollisionUpdate(EventArgs e) {