aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorMW2007-11-16 13:39:11 +0000
committerMW2007-11-16 13:39:11 +0000
commit483377adaedefb12f19b3f843dbabfd7b545bf90 (patch)
treeceddc3cadc6d933e9964ad2ca2d694ca11452511 /OpenSim/Region/Environment/Scenes
parentfixed some AssemblyInfo files (diff)
downloadopensim-SC_OLD-483377adaedefb12f19b3f843dbabfd7b545bf90.zip
opensim-SC_OLD-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.gz
opensim-SC_OLD-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.bz2
opensim-SC_OLD-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.xz
More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
index 9bd55e1..4d4f78f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs
@@ -43,7 +43,7 @@ namespace OpenSim.Region.Environment.Scenes
43 regionCommsHost.OnExpectUser -= NewUserConnection; 43 regionCommsHost.OnExpectUser -= NewUserConnection;
44 regionCommsHost.OnAvatarCrossingIntoRegion -= AgentCrossing; 44 regionCommsHost.OnAvatarCrossingIntoRegion -= AgentCrossing;
45 regionCommsHost.OnCloseAgentConnection -= CloseConnection; 45 regionCommsHost.OnCloseAgentConnection -= CloseConnection;
46 //regionCommsHost.RemoveRegion(m_regionInfo); //TODO add to method to commsManager 46 m_commsProvider.GridService.DeregisterRegion(m_regionInfo);
47 regionCommsHost = null; 47 regionCommsHost = null;
48 } 48 }
49 49
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index caef883..87fa5cf 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -674,6 +674,7 @@ namespace OpenSim.Region.Environment.Scenes
674 SendAnimPack(Animations.AnimsLLUUID["SIT"], 1); 674 SendAnimPack(Animations.AnimsLLUUID["SIT"], 1);
675 SendFullUpdateToAllClients(); 675 SendFullUpdateToAllClients();
676 } 676 }
677
677 public void HandleSetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun) 678 public void HandleSetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun)
678 { 679 {
679 m_setAlwaysRun = SetAlwaysRun; 680 m_setAlwaysRun = SetAlwaysRun;
@@ -683,6 +684,7 @@ namespace OpenSim.Region.Environment.Scenes
683 } 684 }
684 685
685 } 686 }
687
686 protected void UpdateMovementAnimations(bool update_movementflag) 688 protected void UpdateMovementAnimations(bool update_movementflag)
687 { 689 {
688 if (update_movementflag) 690 if (update_movementflag)