diff options
author | Dan Lake | 2011-11-02 14:59:00 -0700 |
---|---|---|
committer | Dan Lake | 2011-11-02 14:59:00 -0700 |
commit | e2c51a977d42822fe78ae0744117afb7bf509d35 (patch) | |
tree | bf145756d32fec7dc295510269447f458ccaf1ea /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Removed redundant SceneContents property from Scene. It's the same as SceneGr... (diff) | |
download | opensim-SC_OLD-e2c51a977d42822fe78ae0744117afb7bf509d35.zip opensim-SC_OLD-e2c51a977d42822fe78ae0744117afb7bf509d35.tar.gz opensim-SC_OLD-e2c51a977d42822fe78ae0744117afb7bf509d35.tar.bz2 opensim-SC_OLD-e2c51a977d42822fe78ae0744117afb7bf509d35.tar.xz |
Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.
UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are
using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on
SOP consistently now. Also started working toward eliminating those
calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule
from outside SOP in favor of just setting properties on SOP and let SOP
decide if an update should be scheduled. This consolidates the update
policy within SOP and the client rather than everywhere that makes
changes to SOP. Some places forget to call update while others call it
multiple times, "just to be sure".
UpdateFlag and Schedule*Update will both be made private shortly.
UpdateFlag is intended to be transient and internal to SOP so it has
been removed from XML serializer for SOPs.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 1af18e7..82ded28 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1799,7 +1799,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1799 | newSet.RemoveAt(0); | 1799 | newSet.RemoveAt(0); |
1800 | 1800 | ||
1801 | foreach (SceneObjectPart newChild in newSet) | 1801 | foreach (SceneObjectPart newChild in newSet) |
1802 | newChild.UpdateFlag = 0; | 1802 | newChild.ClearUpdateSchedule(); |
1803 | 1803 | ||
1804 | LinkObjects(newRoot, newSet); | 1804 | LinkObjects(newRoot, newSet); |
1805 | if (!affectedGroups.Contains(newRoot.ParentGroup)) | 1805 | if (!affectedGroups.Contains(newRoot.ParentGroup)) |