Added partial help info when calling "help" command with a region set.

Added AddDynamicTextureData() to DynamicTextureModule, so that a script (or another module even) can create a dynamic texture by passing a string with the data in, rather than a url. This could be used for anything from a script passing a basic text string (and having it rendered to a texture) or the script building its own html document.
This commit is contained in:
MW
2007-09-04 20:21:03 +00:00
parent e58a5c7a95
commit c014ea1510
3 changed files with 38 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ namespace OpenSim.Region.Environment.Interfaces
void RegisterRender(string handleType, IDynamicTextureRender render);
void ReturnData(LLUUID id, byte[] data);
LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer);
LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams, int updateTimer);
}
public interface IDynamicTextureRender
@@ -21,6 +22,6 @@ namespace OpenSim.Region.Environment.Interfaces
byte[] ConvertUrl(string url, string extraParams);
byte[] ConvertStream(Stream data, string extraParams);
bool AsyncConvertUrl(LLUUID id, string url, string extraParams);
bool AsyncConvertStream(LLUUID id, Stream data, string extraParams);
bool AsyncConvertData(LLUUID id, string bodyData, string extraParams);
}
}