* Converting packet sequence number incrementing from the unsafe lock{} mechanism to the Interlocked class
* Tiny speed optimizations in packet handling git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2018 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -1056,8 +1056,7 @@ namespace PrimWorkshop
|
||||
private void Network_OnCurrentSimChanged(Simulator PreviousSimulator)
|
||||
{
|
||||
Console.WriteLine("CurrentSim set to " + Client.Network.CurrentSim + ", downloading parcel information");
|
||||
Client.Parcels.RequestAllSimParcels(Client.Network.CurrentSim);
|
||||
|
||||
|
||||
BeginInvoke((MethodInvoker)delegate() { txtSim.Text = Client.Network.CurrentSim.Name; });
|
||||
|
||||
InitHeightmap();
|
||||
@@ -1072,6 +1071,9 @@ namespace PrimWorkshop
|
||||
{
|
||||
if (simulator == Client.Network.CurrentSim)
|
||||
BeginInvoke((MethodInvoker)delegate() { cmdTeleport.Enabled = true; });
|
||||
|
||||
// Now seems like a good time to start requesting parcel information
|
||||
Client.Parcels.RequestAllSimParcels(Client.Network.CurrentSim, false, 100);
|
||||
}
|
||||
|
||||
private void RenderScene()
|
||||
|
||||
Reference in New Issue
Block a user