diff options
author | Justin Clarke Casey | 2009-02-11 20:36:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-11 20:36:17 +0000 |
commit | 83105211bc7689ddabaebd7bf5047dd93a7fb427 (patch) | |
tree | 43d9a4c80013644fdf838c8e8aa769e4c1f90074 /OpenSim/Region/Framework | |
parent | * When an inventory archive is loaded, immediately update the client's invent... (diff) | |
download | opensim-SC_OLD-83105211bc7689ddabaebd7bf5047dd93a7fb427.zip opensim-SC_OLD-83105211bc7689ddabaebd7bf5047dd93a7fb427.tar.gz opensim-SC_OLD-83105211bc7689ddabaebd7bf5047dd93a7fb427.tar.bz2 opensim-SC_OLD-83105211bc7689ddabaebd7bf5047dd93a7fb427.tar.xz |
* minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index fd979a3..18245e5 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2224,10 +2224,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2224 | // | 2224 | // |
2225 | ScenePresence sp = GetScenePresence(sceneObject.OwnerID); | 2225 | ScenePresence sp = GetScenePresence(sceneObject.OwnerID); |
2226 | 2226 | ||
2227 | uint parentLocalID = 0; | 2227 | //uint parentLocalID = 0; |
2228 | if (sp != null) | 2228 | if (sp != null) |
2229 | { | 2229 | { |
2230 | parentLocalID = sp.LocalId; | 2230 | //parentLocalID = sp.LocalId; |
2231 | 2231 | ||
2232 | //sceneObject.RootPart.IsAttachment = true; | 2232 | //sceneObject.RootPart.IsAttachment = true; |
2233 | //sceneObject.RootPart.SetParentLocalId(parentLocalID); | 2233 | //sceneObject.RootPart.SetParentLocalId(parentLocalID); |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 997cce5..4b165ce 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -726,7 +726,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
726 | public void ToXml(XmlTextWriter writer) | 726 | public void ToXml(XmlTextWriter writer) |
727 | { | 727 | { |
728 | //m_log.DebugFormat("[SOG]: Starting serialization of {0}", Name); | 728 | //m_log.DebugFormat("[SOG]: Starting serialization of {0}", Name); |
729 | int time = System.Environment.TickCount; | 729 | //int time = System.Environment.TickCount; |
730 | 730 | ||
731 | writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty); | 731 | writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty); |
732 | writer.WriteStartElement(String.Empty, "RootPart", String.Empty); | 732 | writer.WriteStartElement(String.Empty, "RootPart", String.Empty); |