mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user