Check that we have caps before sending request
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3596 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -1546,6 +1546,9 @@ namespace OpenMetaverse
|
||||
/// <returns>If successful UUID of the remote parcel, UUID.Zero otherwise</returns>
|
||||
public UUID RequestRemoteParcelID(Vector3 location, ulong regionHandle, UUID regionID)
|
||||
{
|
||||
if (Client.Network.CurrentSim == null || Client.Network.CurrentSim.Caps == null)
|
||||
return UUID.Zero;
|
||||
|
||||
Uri url = Client.Network.CurrentSim.Caps.CapabilityURI("RemoteParcelRequest");
|
||||
|
||||
if (url != null)
|
||||
|
||||
Reference in New Issue
Block a user