Diff of /trunk/ModularRex/RexParts/Rex_BuiltIn_Commands.cs
Parent Directory
|
Revision Log
|
Patch
| revision 152, Mon May 18 14:05:22 2009 UTC | revision 153, Tue May 19 06:18:18 2009 UTC | |
|---|---|---|
| # | Line 99 | Line 99 |
| 99 | { | { |
| 100 | AssetBase texasset; | AssetBase texasset; |
| 101 | ||
| 102 | texasset = World.CommsManager.AssetCache.GetAsset(texface.TextureID, true); | texasset = World.AssetService.Get(texface.TextureID.ToString()); |
| 103 | if (texasset != null) | if (texasset != null) |
| 104 | { | { |
| 105 | World.ForEachScenePresence(delegate(ScenePresence controller) | World.ForEachScenePresence(delegate(ScenePresence controller) |
| # | Line 502 | Line 502 |
| 502 | ||
| 503 | for (int i = 0; i < vAssetsList.Count; i++) | for (int i = 0; i < vAssetsList.Count; i++) |
| 504 | { | { |
| 505 | tempasset = World.CommsManager.AssetCache.GetAsset(new UUID(vAssetsList[i]), false); | tempasset = World.AssetService.Get(new UUID(vAssetsList[i]).ToString()); |
| 506 | //tempasset = World.AssetCache.FetchAsset(new UUID(vAssetsList[i])); | //tempasset = World.AssetCache.FetchAsset(new UUID(vAssetsList[i])); |
| 507 | if (tempasset != null) | if (tempasset != null) |
| 508 | tempassetlist.Add(tempasset.FullID, (uint)tempasset.Type); | tempassetlist.Add(tempasset.FullID, (uint)tempasset.Type); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

