mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Added the ability to restart your individual sims from within them using the estate tools.
* The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
This commit is contained in:
@@ -47,6 +47,7 @@ namespace OpenSim.Region.ClientStack
|
||||
protected EndPoint epSender;
|
||||
protected AsyncCallback ReceivedData;
|
||||
protected PacketServer m_packetServer;
|
||||
protected ulong m_regionHandle;
|
||||
|
||||
protected int listenPort;
|
||||
protected IScene m_localScene;
|
||||
@@ -66,6 +67,15 @@ namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
m_localScene = value;
|
||||
m_packetServer.LocalScene = m_localScene;
|
||||
m_regionHandle = m_localScene.RegionInfo.RegionHandle;
|
||||
}
|
||||
|
||||
}
|
||||
public ulong RegionHandle
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_regionHandle;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,6 +125,10 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
return;
|
||||
}
|
||||
catch (System.ObjectDisposedException od)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
int packetEnd = numBytes - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user