minor: Put Scene.PhysicsRequestAsset() into standard C# xml format.

0.7.5-pf-bulletsim
Justin Clark-Casey (justincc) 2012-12-04 22:33:25 +00:00
parent 7fdc251774
commit fb26d32a5c
1 changed files with 11 additions and 4 deletions

View File

@ -5638,10 +5638,17 @@ namespace OpenSim.Region.Framework.Scenes
return m_SpawnPoint - 1; return m_SpawnPoint - 1;
} }
// Wrappers to get physics modules retrieve assets. Has to be done this way /// <summary>
// because we can't assign the asset service to physics directly - at the /// Wrappers to get physics modules retrieve assets.
// time physics are instantiated it's not registered but it will be by /// </summary>
// the time the first prim exists. /// <remarks>
/// Has to be done this way
/// because we can't assign the asset service to physics directly - at the
/// time physics are instantiated it's not registered but it will be by
/// the time the first prim exists.
/// </remarks>
/// <param name="assetID"></param>
/// <param name="callback"></param>
public void PhysicsRequestAsset(UUID assetID, AssetReceivedDelegate callback) public void PhysicsRequestAsset(UUID assetID, AssetReceivedDelegate callback)
{ {
AssetService.Get(assetID.ToString(), callback, PhysicsAssetReceived); AssetService.Get(assetID.ToString(), callback, PhysicsAssetReceived);