Comment out unused private functions to avoid compiler warnings.
parent
1e3f378c57
commit
2a855a6457
|
@ -314,25 +314,22 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
return UUID.Zero;
|
return UUID.Zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateAvatarAppearance(UUID avatarID, int wearableType, UUID itemID, UUID assetID)
|
// TODO: unused
|
||||||
{
|
// private void UpdateAvatarAppearance(UUID avatarID, int wearableType, UUID itemID, UUID assetID)
|
||||||
AvatarAppearance appearance = GetAppearance(avatarID);
|
// {
|
||||||
|
// AvatarAppearance appearance = GetAppearance(avatarID);
|
||||||
|
// appearance.Wearables[wearableType].AssetID = assetID;
|
||||||
|
// appearance.Wearables[wearableType].ItemID = itemID;
|
||||||
|
// m_userDataBaseService.UpdateUserAppearance(avatarID, appearance);
|
||||||
|
// }
|
||||||
|
|
||||||
appearance.Wearables[wearableType].AssetID = assetID;
|
// TODO: unused
|
||||||
appearance.Wearables[wearableType].ItemID = itemID;
|
// private void UpdateAvatarAttachment(UUID avatarID, int attachmentPoint, UUID itemID, UUID assetID)
|
||||||
|
// {
|
||||||
m_userDataBaseService.UpdateUserAppearance(avatarID, appearance);
|
// AvatarAppearance appearance = GetAppearance(avatarID);
|
||||||
}
|
// appearance.SetAttachment(attachmentPoint, itemID, assetID);
|
||||||
|
// m_userDataBaseService.UpdateUserAppearance(avatarID, appearance);
|
||||||
|
// }
|
||||||
private void UpdateAvatarAttachment(UUID avatarID, int attachmentPoint, UUID itemID, UUID assetID)
|
|
||||||
{
|
|
||||||
AvatarAppearance appearance = GetAppearance(avatarID);
|
|
||||||
|
|
||||||
appearance.SetAttachment(attachmentPoint, itemID, assetID);
|
|
||||||
|
|
||||||
m_userDataBaseService.UpdateUserAppearance(avatarID, appearance);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void RemoveClothesAndAttachments(UUID avatarID)
|
private void RemoveClothesAndAttachments(UUID avatarID)
|
||||||
{
|
{
|
||||||
|
@ -354,29 +351,31 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
return appearance;
|
return appearance;
|
||||||
}
|
}
|
||||||
|
|
||||||
private UUID FindFolderID(string name, List<InventoryFolderBase> folders)
|
// TODO: unused
|
||||||
{
|
// private UUID FindFolderID(string name, List<InventoryFolderBase> folders)
|
||||||
foreach (InventoryFolderBase folder in folders)
|
// {
|
||||||
{
|
// foreach (InventoryFolderBase folder in folders)
|
||||||
if (folder.Name == name)
|
// {
|
||||||
{
|
// if (folder.Name == name)
|
||||||
return folder.ID;
|
// {
|
||||||
}
|
// return folder.ID;
|
||||||
}
|
// }
|
||||||
return UUID.Zero;
|
// }
|
||||||
}
|
// return UUID.Zero;
|
||||||
|
// }
|
||||||
|
|
||||||
private InventoryFolderBase FindFolder(string name, List<InventoryFolderBase> folders)
|
// TODO: unused
|
||||||
{
|
// private InventoryFolderBase FindFolder(string name, List<InventoryFolderBase> folders)
|
||||||
foreach (InventoryFolderBase folder in folders)
|
// {
|
||||||
{
|
// foreach (InventoryFolderBase folder in folders)
|
||||||
if (folder.Name == name)
|
// {
|
||||||
{
|
// if (folder.Name == name)
|
||||||
return folder;
|
// {
|
||||||
}
|
// return folder;
|
||||||
}
|
// }
|
||||||
return null;
|
// }
|
||||||
}
|
// return null;
|
||||||
|
// }
|
||||||
|
|
||||||
private InventoryFolderBase FindFolder(string name, Guid parentFolderID, List<InventoryFolderBase> folders)
|
private InventoryFolderBase FindFolder(string name, Guid parentFolderID, List<InventoryFolderBase> folders)
|
||||||
{
|
{
|
||||||
|
@ -390,17 +389,18 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private InventoryItemBase GetItem(string itemName, List<InventoryItemBase> items)
|
// TODO: unused
|
||||||
{
|
// private InventoryItemBase GetItem(string itemName, List<InventoryItemBase> items)
|
||||||
foreach (InventoryItemBase item in items)
|
// {
|
||||||
{
|
// foreach (InventoryItemBase item in items)
|
||||||
if (item.Name.ToLower() == itemName.ToLower())
|
// {
|
||||||
{
|
// if (item.Name.ToLower() == itemName.ToLower())
|
||||||
return item;
|
// {
|
||||||
}
|
// return item;
|
||||||
}
|
// }
|
||||||
return null;
|
// }
|
||||||
}
|
// return null;
|
||||||
|
// }
|
||||||
|
|
||||||
private List<InventoryFolderBase> FindSubFolders(Guid parentFolderID, List<InventoryFolderBase> folders)
|
private List<InventoryFolderBase> FindSubFolders(Guid parentFolderID, List<InventoryFolderBase> folders)
|
||||||
{
|
{
|
||||||
|
|
|
@ -155,13 +155,14 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Dump(Dictionary<UUID, bool> lst)
|
// TODO: unused
|
||||||
{
|
// private void Dump(Dictionary<UUID, bool> lst)
|
||||||
m_log.Debug("XXX -------- UUID DUMP ------- XXX");
|
// {
|
||||||
foreach (KeyValuePair<UUID, bool> kvp in lst)
|
// m_log.Debug("XXX -------- UUID DUMP ------- XXX");
|
||||||
m_log.Debug(" >> " + kvp.Key + " (texture? " + kvp.Value + ")");
|
// foreach (KeyValuePair<UUID, bool> kvp in lst)
|
||||||
m_log.Debug("XXX -------- UUID DUMP ------- XXX");
|
// m_log.Debug(" >> " + kvp.Key + " (texture? " + kvp.Value + ")");
|
||||||
}
|
// m_log.Debug("XXX -------- UUID DUMP ------- XXX");
|
||||||
|
// }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
|
@ -67,15 +67,14 @@ namespace OpenSim.Server.Handlers.Tests.Asset
|
||||||
BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, ASSETS_PATH);
|
BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, ASSETS_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static AssetBase CreateTestEnvironment(out AssetServerGetHandler handler, out OSHttpResponse response)
|
// TODO: unused
|
||||||
{
|
// private static AssetBase CreateTestEnvironment(out AssetServerGetHandler handler, out OSHttpResponse response)
|
||||||
AssetBase asset = GetAssetStreamHandlerTestHelpers.CreateCommonTestResources(out response);
|
// {
|
||||||
|
// AssetBase asset = GetAssetStreamHandlerTestHelpers.CreateCommonTestResources(out response);
|
||||||
IAssetService assetDataPlugin = new TestAssetService();
|
// IAssetService assetDataPlugin = new TestAssetService();
|
||||||
handler = new AssetServerGetHandler(assetDataPlugin);
|
// handler = new AssetServerGetHandler(assetDataPlugin);
|
||||||
|
// assetDataPlugin.Store(asset);
|
||||||
assetDataPlugin.Store(asset);
|
// return asset;
|
||||||
return asset;
|
// }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue