diff options
author | Charles Krinke | 2008-06-25 01:24:00 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-25 01:24:00 +0000 |
commit | c7edabd2d39dc65119bc20882d6cc660b39ded1a (patch) | |
tree | 3d349e48c4b4858df189dc4cbb826da5917b5070 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Mantis#1587. Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC-c7edabd2d39dc65119bc20882d6cc660b39ded1a.zip opensim-SC-c7edabd2d39dc65119bc20882d6cc660b39ded1a.tar.gz opensim-SC-c7edabd2d39dc65119bc20882d6cc660b39ded1a.tar.bz2 opensim-SC-c7edabd2d39dc65119bc20882d6cc660b39ded1a.tar.xz |
Mantis#1590. Thank you kindly, Melanie for a patch that:
Makes items appear in the item type folder, rather than in the root
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 7c6bcf7..202fce7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -36,7 +36,6 @@ using Axiom.Math; | |||
36 | using libsecondlife; | 36 | using libsecondlife; |
37 | using OpenSim; | 37 | using OpenSim; |
38 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
39 | using OpenSim.Framework.Communications.Cache; | ||
40 | using OpenSim.Region.Environment; | 39 | using OpenSim.Region.Environment; |
41 | using OpenSim.Region.Environment.Interfaces; | 40 | using OpenSim.Region.Environment.Interfaces; |
42 | using OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney; | 41 | using OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney; |
@@ -2575,9 +2574,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2575 | if (World.GetScenePresence(destId) != null) | 2574 | if (World.GetScenePresence(destId) != null) |
2576 | { | 2575 | { |
2577 | // destination is an avatar | 2576 | // destination is an avatar |
2578 | CachedUserInfo userInfo = | 2577 | World.MoveTaskInventoryItem(destId, null, m_host, objId); |
2579 | World.CommsManager.UserProfileCacheService.GetUserDetails(destId); | ||
2580 | World.MoveTaskInventoryItem(destId,userInfo.RootFolder.ID, m_host, objId); | ||
2581 | } | 2578 | } |
2582 | else | 2579 | else |
2583 | { | 2580 | { |