diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UuidGatherer.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs index 65baa52..aee2d10 100644 --- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs +++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs | |||
@@ -291,9 +291,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
291 | } | 291 | } |
292 | } | 292 | } |
293 | 293 | ||
294 | /// <summary> | ||
295 | /// Get the asset uuid associated with a gesture | ||
296 | /// </summary> | ||
297 | /// <param name="gestureUuid"></param> | ||
298 | /// <param name="assetUuids"></param> | ||
294 | protected void GetGestureAssetUuids(UUID gestureUuid, IDictionary<UUID, AssetType> assetUuids) | 299 | protected void GetGestureAssetUuids(UUID gestureUuid, IDictionary<UUID, AssetType> assetUuids) |
295 | { | 300 | { |
296 | AssetBase assetBase = GetAsset(gestureUuid); | 301 | AssetBase assetBase = GetAsset(gestureUuid); |
302 | if (null == assetBase) | ||
303 | return; | ||
297 | 304 | ||
298 | MemoryStream ms = new MemoryStream(assetBase.Data); | 305 | MemoryStream ms = new MemoryStream(assetBase.Data); |
299 | StreamReader sr = new StreamReader(ms); | 306 | StreamReader sr = new StreamReader(ms); |