give up on baked flag (test)
parent
f9e3c9adab
commit
bff6be4f66
|
@ -186,9 +186,9 @@ namespace OpenSim.Capabilities.Handlers
|
||||||
if(len > 8196)
|
if(len > 8196)
|
||||||
{
|
{
|
||||||
responsedata["throttle"] = true;
|
responsedata["throttle"] = true;
|
||||||
if(type == AssetType.Texture && ((asset.Flags & AssetFlags.AvatarBake)!= 0))
|
//if(type == AssetType.Texture && ((asset.Flags & AssetFlags.AvatarBake)!= 0))
|
||||||
responsedata["prio"] = 1;
|
// responsedata["prio"] = 1;
|
||||||
else
|
//else
|
||||||
responsedata["prio"] = 2;
|
responsedata["prio"] = 2;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -107,7 +107,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||||
asset.Data = data;
|
asset.Data = data;
|
||||||
asset.Temporary = true;
|
asset.Temporary = true;
|
||||||
asset.Local = true;
|
asset.Local = true;
|
||||||
asset.Flags = AssetFlags.AvatarBake;
|
//asset.Flags = AssetFlags.AvatarBake;
|
||||||
m_assetService.Store(asset);
|
m_assetService.Store(asset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace OpenSim.Framework
|
||||||
Rewritable = 2, // Content can be rewritten
|
Rewritable = 2, // Content can be rewritten
|
||||||
Collectable = 4, // Can be GC'ed after some time
|
Collectable = 4, // Can be GC'ed after some time
|
||||||
|
|
||||||
AvatarBake = 0x8
|
//AvatarBake = 0x8
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue