mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
This commit is contained in:
@@ -185,7 +185,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public static ulong UIntsToLong(uint X, uint Y)
|
||||
{
|
||||
return Helpers.UIntsToLong(X, Y);
|
||||
return Utils.UIntsToLong(X, Y);
|
||||
}
|
||||
|
||||
public static T Clamp<T>(T x, T min, T max)
|
||||
@@ -783,9 +783,9 @@ namespace OpenSim.Framework
|
||||
public static void ParseFakeParcelID(UUID parcelID, out ulong regionHandle, out uint x, out uint y)
|
||||
{
|
||||
byte[] bytes = parcelID.GetBytes();
|
||||
regionHandle = Helpers.BytesToUInt64(bytes);
|
||||
x = Helpers.BytesToUInt(bytes, 8);
|
||||
y = Helpers.BytesToUInt(bytes, 12);
|
||||
regionHandle = Utils.BytesToUInt64(bytes);
|
||||
x = Utils.BytesToUInt(bytes, 8);
|
||||
y = Utils.BytesToUInt(bytes, 12);
|
||||
}
|
||||
|
||||
public static void FakeParcelIDToGlobalPosition(UUID parcelID, out uint x, out uint y)
|
||||
@@ -794,7 +794,7 @@ namespace OpenSim.Framework
|
||||
uint rx, ry;
|
||||
|
||||
ParseFakeParcelID(parcelID, out regionHandle, out x, out y);
|
||||
Helpers.LongToUInts(regionHandle, out rx, out ry);
|
||||
Utils.LongToUInts(regionHandle, out rx, out ry);
|
||||
|
||||
x += rx;
|
||||
y += ry;
|
||||
|
||||
Reference in New Issue
Block a user