Get UUIDGatherer to scan notecards in the graph for asset uuids.

This is to support npc baked texture saving in oars and iars.
May address http://opensimulator.org/mantis/view.php?id=5743
This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-22 02:16:46 +01:00
parent 30320505fa
commit ffdf59a57c
5 changed files with 68 additions and 24 deletions

View File

@@ -47,13 +47,24 @@ namespace OpenSim.Tests.Common
}
/// <summary>
/// Create a notecard asset with a random uuid and dummy text.
/// Create a notecard asset with dummy text and a random owner.
/// </summary>
/// <param name="assetId">/param>
/// <returns></returns>
public static AssetBase CreateNotecardAsset(UUID id)
public static AssetBase CreateNotecardAsset(UUID assetId)
{
return CreateAsset(id, AssetType.Notecard, "hello", UUID.Random());
return CreateNotecardAsset(assetId, "hello");
}
/// <summary>
/// Create a notecard asset with a random owner.
/// </summary>
/// <param name="assetId">/param>
/// <param name="text"></param>
/// <returns></returns>
public static AssetBase CreateNotecardAsset(UUID assetId, string text)
{
return CreateAsset(assetId, AssetType.Notecard, text, UUID.Random());
}
// /// <summary>