mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
minor: Put Scene.PhysicsRequestAsset() into standard C# xml format.
This commit is contained in:
@@ -5638,10 +5638,17 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return m_SpawnPoint - 1;
|
||||
}
|
||||
|
||||
// Wrappers to get physics modules retrieve assets. 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.
|
||||
/// <summary>
|
||||
/// Wrappers to get physics modules retrieve assets.
|
||||
/// </summary>
|
||||
/// <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)
|
||||
{
|
||||
AssetService.Get(assetID.ToString(), callback, PhysicsAssetReceived);
|
||||
|
||||
Reference in New Issue
Block a user