mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
GetAssets: only throttle mesh and texture
This commit is contained in:
@@ -136,8 +136,10 @@ namespace OpenSim.Capabilities.Handlers
|
||||
return responsedata;
|
||||
}
|
||||
|
||||
// if(type != AssetType.Mesh && type != AssetType.Texture)
|
||||
// m_log.Warn("[GETASSETS]: type: " + query);
|
||||
if(type == AssetType.Mesh || type == AssetType.Texture)
|
||||
responsedata["throttle"] = true;
|
||||
// else
|
||||
// m_log.Warn("[GETASSETS]: type: " + query);
|
||||
|
||||
responsedata["content_type"] = asset.Metadata.ContentType;
|
||||
responsedata["bin_response_data"] = asset.Data;
|
||||
|
||||
Reference in New Issue
Block a user