diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index d9458af..457177d 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1397,7 +1397,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1397 | AvatarAppearance ava = null; | 1397 | AvatarAppearance ava = null; |
1398 | AvatarData avatar = m_app.SceneManager.CurrentOrFirstScene.AvatarService.GetAvatar(srca); | 1398 | AvatarData avatar = m_app.SceneManager.CurrentOrFirstScene.AvatarService.GetAvatar(srca); |
1399 | if (avatar != null) | 1399 | if (avatar != null) |
1400 | ava = avatar.ToAvatarAppearance(); | 1400 | ava = avatar.ToAvatarAppearance(srca); |
1401 | 1401 | ||
1402 | // If the model has no associated appearance we're done. | 1402 | // If the model has no associated appearance we're done. |
1403 | 1403 | ||
@@ -1639,7 +1639,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1639 | // While the inventory is being fetched, setup for appearance processing | 1639 | // While the inventory is being fetched, setup for appearance processing |
1640 | AvatarData adata = m_app.SceneManager.CurrentOrFirstScene.AvatarService.GetAvatar(ID); | 1640 | AvatarData adata = m_app.SceneManager.CurrentOrFirstScene.AvatarService.GetAvatar(ID); |
1641 | if (adata != null) | 1641 | if (adata != null) |
1642 | mava = adata.ToAvatarAppearance(); | 1642 | mava = adata.ToAvatarAppearance(ID); |
1643 | else | 1643 | else |
1644 | mava = new AvatarAppearance(); | 1644 | mava = new AvatarAppearance(); |
1645 | 1645 | ||