Merge branch 'master' of /var/git/opensim/

viewer-2-initial-appearance
opensim mirror account 2010-10-14 09:30:05 -07:00
commit cb2c1d794c
2 changed files with 4 additions and 4 deletions

View File

@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
mesh = m_assetService.GetCached(meshID.ToString());
if (mesh != null)
{
if (mesh.Type == (sbyte)49) //TODO: Change to AssetType.Mesh when libomv gets updated!
if (mesh.Type == (SByte)AssetType.Mesh)
{
responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data);
responsedata["content_type"] = "application/vnd.ll.mesh";
@ -167,7 +167,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
mesh = m_assetService.Get(meshID.ToString());
if (mesh != null)
{
if (mesh.Type == (sbyte)49) //TODO: Change to AssetType.Mesh when libomv gets updated!
if (mesh.Type == (SByte)AssetType.Mesh)
{
responsedata["str_response_string"] = Convert.ToBase64String(mesh.Data);
responsedata["content_type"] = "application/vnd.ll.mesh";

View File

@ -233,8 +233,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
}
else if (inventoryType == "mesh")
{
inType = 22; // TODO: Replace with appropriate type
assType = 49;// TODO: Replace with appropriate type
inType = (sbyte)InventoryType.Mesh;
assType = (sbyte)AssetType.Mesh;
}
AssetBase asset;