mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
yeack, better not break other notecards HG; improve TestNotecardAsset()
This commit is contained in:
@@ -29,7 +29,6 @@ using OpenMetaverse;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
@@ -874,7 +873,15 @@ namespace OpenSim.Framework
|
||||
--count;
|
||||
}
|
||||
|
||||
if(ids.Count == 0)
|
||||
indx = note.IndexOf("Text length",indx);
|
||||
if(indx > 0)
|
||||
{
|
||||
indx += 14;
|
||||
List<UUID> textIDs = Util.GetUUIDsOnString(ref note, indx);
|
||||
if(textIDs.Count > 0)
|
||||
ids.AddRange(textIDs);
|
||||
}
|
||||
if (ids.Count == 0)
|
||||
return null;
|
||||
return ids;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user