From 0d6eb37ac5703f586e2e8eeda510825c807250b2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 14 Oct 2008 15:56:14 +0000 Subject: * minor: Make it clear that non-scheduled updates can happen outside of the per frame update heartbeat --- OpenSim/Region/Environment/Scenes/EntityBase.cs | 3 ++- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 3 --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs index 884ff32..afdbb91 100644 --- a/OpenSim/Region/Environment/Scenes/EntityBase.cs +++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs @@ -131,7 +131,8 @@ namespace OpenSim.Region.Environment.Scenes public abstract void UpdateMovement(); /// - /// Performs any updates that need to be done at each frame. + /// Performs any updates that need to be done at each frame, as opposed to immediately. + /// These included scheduled updates and updates that occur due to physics processing. /// public abstract void Update(); diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 37f3caf..8c5afab 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1527,9 +1527,6 @@ namespace OpenSim.Region.Environment.Scenes #region Scheduling - /// - /// Examine this object's parts to see if they've changed sufficiently to warrant an update - /// public override void Update() { // Check that the group was not deleted before the scheduled update diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 963c71b..981b15c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -908,6 +908,7 @@ namespace OpenSim.Region.Environment.Scenes } } + if (PhysicsActor == null) { return; @@ -1554,9 +1555,6 @@ namespace OpenSim.Region.Environment.Scenes #region Overridden Methods - /// - /// - /// public override void Update() { SendPrimUpdates(); -- cgit v1.1