From c9b41bdc4ea33452e675a1d12244aab196fcde29 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 27 Jun 2008 14:15:14 +0000 Subject: * Add extra backup parameter to InnerScene.AddRestoredSceneObject() --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index b8f52ec..5236014 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -94,6 +94,7 @@ namespace OpenSim.Region.Environment.Scenes /// since the group's last persistent backup /// public bool HasGroupChanged = false; + public float scriptScore = 0f; private LLVector3 lastPhysGroupPos; @@ -1530,7 +1531,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// Schedule a full update for every part in this object + /// Schedule a full update for this scene object /// public void ScheduleGroupForFullUpdate() { @@ -1546,7 +1547,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Schedule a terse update for this scene object /// public void ScheduleGroupForTerseUpdate() { @@ -1562,7 +1563,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Immediately send a full update for this scene object. /// public void SendGroupFullUpdate() { @@ -1583,7 +1584,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Immediately send a terse update for this scene object. /// public void SendGroupTerseUpdate() { @@ -2100,7 +2101,7 @@ namespace OpenSim.Region.Environment.Scenes #region Resize /// - /// + /// Resize the given part /// /// /// @@ -2531,6 +2532,12 @@ namespace OpenSim.Region.Environment.Scenes } } } + + /// + /// Set the user group to which this scene object belongs. + /// + /// + /// public void SetGroup(LLUUID GroupID, IClientAPI client) { lock (m_parts) @@ -2540,6 +2547,7 @@ namespace OpenSim.Region.Environment.Scenes part.SetGroup(GroupID, client); } } + ScheduleGroupForFullUpdate(); } } -- cgit v1.1