* minor: remove some mono compiler warnings
parent
ae759f2d06
commit
051096e8ae
|
@ -496,21 +496,20 @@ namespace OpenSim.Client.MXP.ClientStack
|
|||
return new Vector3(vector.X, vector.Y, vector.Z);
|
||||
}
|
||||
|
||||
|
||||
private Vector3 FromOmVector(float[] vector)
|
||||
{
|
||||
return new Vector3(vector[0], vector[1], vector[2]);
|
||||
}
|
||||
// private Vector3 FromOmVector(float[] vector)
|
||||
// {
|
||||
// return new Vector3(vector[0], vector[1], vector[2]);
|
||||
// }
|
||||
|
||||
private Quaternion FromOmQuaternion(MsdQuaternion4f quaternion)
|
||||
{
|
||||
return new Quaternion(quaternion.X, quaternion.Y, quaternion.Z, quaternion.W);
|
||||
}
|
||||
|
||||
private Quaternion FromOmQuaternion(float[] quaternion)
|
||||
{
|
||||
return new Quaternion(quaternion[0], quaternion[1], quaternion[2], quaternion[3]);
|
||||
}
|
||||
// private Quaternion FromOmQuaternion(float[] quaternion)
|
||||
// {
|
||||
// return new Quaternion(quaternion[0], quaternion[1], quaternion[2], quaternion[3]);
|
||||
// }
|
||||
|
||||
private MsdColor4f ToOmColor(byte[] value)
|
||||
{
|
||||
|
|
|
@ -579,11 +579,11 @@ namespace OpenSim.Framework.Communications
|
|||
UUID webloginkey = UUID.Random();
|
||||
m_userManager.StoreWebLoginKey(user.ID, webloginkey);
|
||||
//statuscode = 301;
|
||||
|
||||
string redirectURL = "about:blank?redirect-http-hack=" +
|
||||
HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" +
|
||||
lastname +
|
||||
"&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString());
|
||||
|
||||
// string redirectURL = "about:blank?redirect-http-hack=" +
|
||||
// HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" +
|
||||
// lastname +
|
||||
// "&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString());
|
||||
//m_log.Info("[WEB]: R:" + redirectURL);
|
||||
returnactions["int_response_code"] = statuscode;
|
||||
//returnactions["str_redirect_location"] = redirectURL;
|
||||
|
|
|
@ -43,11 +43,11 @@ namespace OpenSim.Framework.Communications.Tests
|
|||
{
|
||||
protected UUID m_assetIdReceived;
|
||||
protected AssetBase m_assetReceived;
|
||||
|
||||
[Test]
|
||||
|
||||
/// <summary>
|
||||
/// Test the 'asynchronous' get asset mechanism (though this won't be done asynchronously within this test)
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TestGetAsset()
|
||||
{
|
||||
UUID assetId = UUID.Parse("00000000-0000-0000-0000-000000000001");
|
||||
|
|
|
@ -519,7 +519,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
//m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue
|
||||
//0-1
|
||||
|
||||
float difference = upper - lower;
|
||||
// float difference = upper - lower;
|
||||
// we're trying to get a zero lower and modify all values equally so we get a percentage position
|
||||
if (lower > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue