diff options
author | Melanie | 2010-12-17 22:50:25 +0000 |
---|---|---|
committer | Melanie | 2010-12-17 22:50:25 +0000 |
commit | a82112a47cc9285629fd11c5e75586532c26aef0 (patch) | |
tree | 48e2de146a91f31973578a6706188bf2d6477a11 /OpenSim/Region/Framework | |
parent | Fix notecards that end with an embedded object causing an exception (diff) | |
parent | Fix notecards that end with an embedded object causing an exception (diff) | |
download | opensim-SC-a82112a47cc9285629fd11c5e75586532c26aef0.zip opensim-SC-a82112a47cc9285629fd11c5e75586532c26aef0.tar.gz opensim-SC-a82112a47cc9285629fd11c5e75586532c26aef0.tar.bz2 opensim-SC-a82112a47cc9285629fd11c5e75586532c26aef0.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
4 files changed, 15 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EntityManager.cs b/OpenSim/Region/Framework/Scenes/EntityManager.cs index 0defa93..1812bd2 100644 --- a/OpenSim/Region/Framework/Scenes/EntityManager.cs +++ b/OpenSim/Region/Framework/Scenes/EntityManager.cs | |||
@@ -36,7 +36,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
36 | { | 36 | { |
37 | public class EntityManager | 37 | public class EntityManager |
38 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 39 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
40 | |||
40 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); | 41 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); |
41 | 42 | ||
42 | public int Count | 43 | public int Count |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs index 1295e58..66439ab 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
91 | 91 | ||
92 | public class ScenePermissions | 92 | public class ScenePermissions |
93 | { | 93 | { |
94 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 94 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
95 | 95 | ||
96 | private Scene m_scene; | 96 | private Scene m_scene; |
97 | 97 | ||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
131 | public event IssueEstateCommandHandler OnIssueEstateCommand; | 131 | public event IssueEstateCommandHandler OnIssueEstateCommand; |
132 | public event IsGodHandler OnIsGod; | 132 | public event IsGodHandler OnIsGod; |
133 | public event IsAdministratorHandler OnIsAdministrator; | 133 | public event IsAdministratorHandler OnIsAdministrator; |
134 | public event EditParcelHandler OnEditParcel; | 134 | // public event EditParcelHandler OnEditParcel; |
135 | public event EditParcelPropertiesHandler OnEditParcelProperties; | 135 | public event EditParcelPropertiesHandler OnEditParcelProperties; |
136 | public event SellParcelHandler OnSellParcel; | 136 | public event SellParcelHandler OnSellParcel; |
137 | public event AbandonParcelHandler OnAbandonParcel; | 137 | public event AbandonParcelHandler OnAbandonParcel; |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 45625d6..3776d47 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -136,9 +136,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
136 | // TODO: Possibly stop other classes being able to manipulate this directly. | 136 | // TODO: Possibly stop other classes being able to manipulate this directly. |
137 | private SceneGraph m_sceneGraph; | 137 | private SceneGraph m_sceneGraph; |
138 | private volatile int m_bordersLocked; | 138 | private volatile int m_bordersLocked; |
139 | private int m_RestartTimerCounter; | 139 | // private int m_RestartTimerCounter; |
140 | private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing | 140 | private readonly Timer m_restartTimer = new Timer(15000); // Wait before firing |
141 | private int m_incrementsof15seconds; | 141 | // private int m_incrementsof15seconds; |
142 | private volatile bool m_backingup; | 142 | private volatile bool m_backingup; |
143 | private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>(); | 143 | private Dictionary<UUID, ReturnInfo> m_returns = new Dictionary<UUID, ReturnInfo>(); |
144 | private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>(); | 144 | private Dictionary<UUID, SceneObjectGroup> m_groupsWithTargets = new Dictionary<UUID, SceneObjectGroup>(); |
@@ -151,7 +151,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
151 | private int m_update_events = 1; | 151 | private int m_update_events = 1; |
152 | private int m_update_backup = 200; | 152 | private int m_update_backup = 200; |
153 | private int m_update_terrain = 50; | 153 | private int m_update_terrain = 50; |
154 | private int m_update_land = 1; | 154 | // private int m_update_land = 1; |
155 | private int m_update_coarse_locations = 80; | 155 | private int m_update_coarse_locations = 80; |
156 | 156 | ||
157 | private int frameMS; | 157 | private int frameMS; |
@@ -192,7 +192,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
192 | private Timer m_mapGenerationTimer = new Timer(); | 192 | private Timer m_mapGenerationTimer = new Timer(); |
193 | private bool m_generateMaptiles; | 193 | private bool m_generateMaptiles; |
194 | 194 | ||
195 | private Dictionary<UUID, string[]> m_UserNamesCache = new Dictionary<UUID, string[]>(); | 195 | // private Dictionary<UUID, string[]> m_UserNamesCache = new Dictionary<UUID, string[]>(); |
196 | 196 | ||
197 | #endregion Fields | 197 | #endregion Fields |
198 | 198 | ||
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 6c13eb5..b2b3ad9 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1114,15 +1114,13 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1114 | WriteVector(writer, "AngularVelocity", sop.AngularVelocity); | 1114 | WriteVector(writer, "AngularVelocity", sop.AngularVelocity); |
1115 | WriteVector(writer, "Acceleration", sop.Acceleration); | 1115 | WriteVector(writer, "Acceleration", sop.Acceleration); |
1116 | writer.WriteElementString("Description", sop.Description); | 1116 | writer.WriteElementString("Description", sop.Description); |
1117 | if (sop.Color != null) | 1117 | |
1118 | { | 1118 | writer.WriteStartElement("Color"); |
1119 | writer.WriteStartElement("Color"); | 1119 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); |
1120 | writer.WriteElementString("R", sop.Color.R.ToString(Utils.EnUsCulture)); | 1120 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); |
1121 | writer.WriteElementString("G", sop.Color.G.ToString(Utils.EnUsCulture)); | 1121 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); |
1122 | writer.WriteElementString("B", sop.Color.B.ToString(Utils.EnUsCulture)); | 1122 | writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); |
1123 | writer.WriteElementString("A", sop.Color.G.ToString(Utils.EnUsCulture)); | 1123 | writer.WriteEndElement(); |
1124 | writer.WriteEndElement(); | ||
1125 | } | ||
1126 | 1124 | ||
1127 | writer.WriteElementString("Text", sop.Text); | 1125 | writer.WriteElementString("Text", sop.Text); |
1128 | writer.WriteElementString("SitName", sop.SitName); | 1126 | writer.WriteElementString("SitName", sop.SitName); |