mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* AssetServerBase: _ProcessRequest is now called GetAsset
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
This commit is contained in:
@@ -634,9 +634,13 @@ namespace OpenSim.DataStore.MSSQL
|
||||
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
|
||||
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
|
||||
s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
|
||||
|
||||
// text TODO: this isn't right] = but I'm not sure the right
|
||||
// way to specify this as a blob atm
|
||||
s.TextureEntry = (byte[])row["Texture"];
|
||||
// way to specify this as a blob atm
|
||||
byte[] textureEntry = (byte[])row["Texture"];
|
||||
s.TextureEntry = textureEntry;
|
||||
|
||||
|
||||
s.ExtraParams = (byte[])row["ExtraParams"];
|
||||
// System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
|
||||
// string texture = encoding.GetString((Byte[])row["Texture"]);
|
||||
|
||||
Reference in New Issue
Block a user