aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-12-18 10:49:45 +0000
committerMelanie2011-12-18 10:49:45 +0000
commit759f1d2dbe0617786068195dfd695e0dfc2cc265 (patch)
tree8e6dcb6ba183abb16b4527376c5fd280693977bb /OpenSim/Region/Framework/Scenes/Scene.cs
parentMake raycast more efficient by checking exclusion flags earlier (diff)
parentProvide user feedback on execution of "backup" region console command (diff)
downloadopensim-SC_OLD-759f1d2dbe0617786068195dfd695e0dfc2cc265.zip
opensim-SC_OLD-759f1d2dbe0617786068195dfd695e0dfc2cc265.tar.gz
opensim-SC_OLD-759f1d2dbe0617786068195dfd695e0dfc2cc265.tar.bz2
opensim-SC_OLD-759f1d2dbe0617786068195dfd695e0dfc2cc265.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index bfabcc2..f8487e7 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2636,7 +2636,7 @@ namespace OpenSim.Region.Framework.Scenes
2636 if (sp == null) 2636 if (sp == null)
2637 { 2637 {
2638 m_log.DebugFormat( 2638 m_log.DebugFormat(
2639 "[SCENE]: Adding new child scene presence {0} to scene {1}", client.Name, RegionInfo.RegionName); 2639 "[SCENE]: Adding new child scene presence {0} to scene {1} at pos {2}", client.Name, RegionInfo.RegionName, client.StartPos);
2640 2640
2641 m_clientManager.Add(client); 2641 m_clientManager.Add(client);
2642 SubscribeToClientEvents(client); 2642 SubscribeToClientEvents(client);
@@ -2900,7 +2900,6 @@ namespace OpenSim.Region.Framework.Scenes
2900 2900
2901 public virtual void SubscribeToClientParcelEvents(IClientAPI client) 2901 public virtual void SubscribeToClientParcelEvents(IClientAPI client)
2902 { 2902 {
2903 client.OnObjectGroupRequest += m_sceneGraph.HandleObjectGroupUpdate;
2904 client.OnParcelReturnObjectsRequest += LandChannel.ReturnObjectsInParcel; 2903 client.OnParcelReturnObjectsRequest += LandChannel.ReturnObjectsInParcel;
2905 client.OnParcelSetOtherCleanTime += LandChannel.SetParcelOtherCleanTime; 2904 client.OnParcelSetOtherCleanTime += LandChannel.SetParcelOtherCleanTime;
2906 client.OnParcelBuy += ProcessParcelBuy; 2905 client.OnParcelBuy += ProcessParcelBuy;
@@ -3027,7 +3026,6 @@ namespace OpenSim.Region.Framework.Scenes
3027 3026
3028 public virtual void UnSubscribeToClientParcelEvents(IClientAPI client) 3027 public virtual void UnSubscribeToClientParcelEvents(IClientAPI client)
3029 { 3028 {
3030 client.OnObjectGroupRequest -= m_sceneGraph.HandleObjectGroupUpdate;
3031 client.OnParcelReturnObjectsRequest -= LandChannel.ReturnObjectsInParcel; 3029 client.OnParcelReturnObjectsRequest -= LandChannel.ReturnObjectsInParcel;
3032 client.OnParcelSetOtherCleanTime -= LandChannel.SetParcelOtherCleanTime; 3030 client.OnParcelSetOtherCleanTime -= LandChannel.SetParcelOtherCleanTime;
3033 client.OnParcelBuy -= ProcessParcelBuy; 3031 client.OnParcelBuy -= ProcessParcelBuy;
@@ -3386,9 +3384,9 @@ namespace OpenSim.Region.Framework.Scenes
3386 3384
3387 // Don't disable this log message - it's too helpful 3385 // Don't disable this log message - it's too helpful
3388 m_log.DebugFormat( 3386 m_log.DebugFormat(
3389 "[CONNECTION BEGIN]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, teleportflags {6})", 3387 "[SCENE]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, teleportflags {6}, position {7})",
3390 RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, 3388 RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname,
3391 agent.AgentID, agent.circuitcode, teleportFlags); 3389 agent.AgentID, agent.circuitcode, teleportFlags, agent.startpos);
3392 3390
3393 if (LoginsDisabled) 3391 if (LoginsDisabled)
3394 { 3392 {
@@ -3434,7 +3432,7 @@ namespace OpenSim.Region.Framework.Scenes
3434 catch (Exception e) 3432 catch (Exception e)
3435 { 3433 {
3436 m_log.ErrorFormat( 3434 m_log.ErrorFormat(
3437 "[CONNECTION BEGIN]: Exception verifying presence {0}{1}", e.Message, e.StackTrace); 3435 "[SCENE]: Exception verifying presence {0}{1}", e.Message, e.StackTrace);
3438 return false; 3436 return false;
3439 } 3437 }
3440 } 3438 }
@@ -3452,12 +3450,12 @@ namespace OpenSim.Region.Framework.Scenes
3452 catch (Exception e) 3450 catch (Exception e)
3453 { 3451 {
3454 m_log.ErrorFormat( 3452 m_log.ErrorFormat(
3455 "[CONNECTION BEGIN]: Exception authorizing user {0}{1}", e.Message, e.StackTrace); 3453 "[SCENE]: Exception authorizing user {0}{1}", e.Message, e.StackTrace);
3456 return false; 3454 return false;
3457 } 3455 }
3458 3456
3459 m_log.InfoFormat( 3457 m_log.InfoFormat(
3460 "[CONNECTION BEGIN]: Region {0} authenticated and authorized incoming {1} agent {2} {3} {4} (circuit code {5})", 3458 "[SCENE]: Region {0} authenticated and authorized incoming {1} agent {2} {3} {4} (circuit code {5})",
3461 RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname, 3459 RegionInfo.RegionName, (agent.child ? "child" : "root"), agent.firstname, agent.lastname,
3462 agent.AgentID, agent.circuitcode); 3460 agent.AgentID, agent.circuitcode);
3463 3461
@@ -4462,7 +4460,7 @@ namespace OpenSim.Region.Framework.Scenes
4462 /// Get a scene object group that contains the prim with the given local id 4460 /// Get a scene object group that contains the prim with the given local id
4463 /// </summary> 4461 /// </summary>
4464 /// <param name="localID"></param> 4462 /// <param name="localID"></param>
4465 /// <returns>null if no scene object group containing that prim is found</returns> 4463 /// <returns>null if no scene object group containing that prim is found</returns>
4466 public SceneObjectGroup GetGroupByPrim(uint localID) 4464 public SceneObjectGroup GetGroupByPrim(uint localID)
4467 { 4465 {
4468 return m_sceneGraph.GetGroupByPrim(localID); 4466 return m_sceneGraph.GetGroupByPrim(localID);