Diff of /trunk/ModularRex/RexParts/ModrexObjects.cs
Parent Directory
|
Revision Log
|
Patch
| revision 63, Mon Feb 9 07:13:09 2009 UTC | revision 64, Tue Feb 10 14:29:59 2009 UTC | |
|---|---|---|
| # | Line 265 | Line 265 |
| 265 | } | } |
| 266 | } | } |
| 267 | } | } |
| 268 | ||
| 269 | public byte GetAssetType(UUID assetid) | |
| 270 | { | |
| 271 | AssetBase tempmodel = m_scenes[0].AssetCache.GetAsset(assetid, true); | |
| 272 | if (tempmodel == null) | |
| 273 | m_scenes[0].AssetCache.GetAsset(assetid, false); | |
| 274 | ||
| 275 | if (tempmodel != null) | |
| 276 | return(byte)(tempmodel.Metadata.Type); | |
| 277 | else | |
| 278 | return 0; | |
| 279 | } | |
| 280 | #endregion | #endregion |
| 281 | ||
| 282 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

