Mantis#1590. Thank you kindly, Melanie for a patch that:

Makes items appear in the item type folder, rather than in the root
This commit is contained in:
Charles Krinke
2008-06-25 01:24:00 +00:00
parent f6bf4c39be
commit c7edabd2d3
4 changed files with 6 additions and 11 deletions

View File

@@ -36,7 +36,6 @@ using Axiom.Math;
using libsecondlife;
using OpenSim;
using OpenSim.Framework;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Region.Environment;
using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney;
@@ -2575,9 +2574,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (World.GetScenePresence(destId) != null)
{
// destination is an avatar
CachedUserInfo userInfo =
World.CommsManager.UserProfileCacheService.GetUserDetails(destId);
World.MoveTaskInventoryItem(destId,userInfo.RootFolder.ID, m_host, objId);
World.MoveTaskInventoryItem(destId, null, m_host, objId);
}
else
{