diff options
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 906c1ee..c9d1205 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -93,7 +93,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
93 | /// </summary> | 93 | /// </summary> |
94 | public void StartScripts() | 94 | public void StartScripts() |
95 | { | 95 | { |
96 | m_log.InfoFormat("[SCENE]: Starting scripts in {0}, please wait.", RegionInfo.RegionName); | 96 | // m_log.InfoFormat("[SCENE]: Starting scripts in {0}, please wait.", RegionInfo.RegionName); |
97 | 97 | ||
98 | IScriptModule[] engines = RequestModuleInterfaces<IScriptModule>(); | 98 | IScriptModule[] engines = RequestModuleInterfaces<IScriptModule>(); |
99 | 99 | ||
@@ -1469,7 +1469,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1469 | return newFolderID; | 1469 | return newFolderID; |
1470 | } | 1470 | } |
1471 | 1471 | ||
1472 | private void SendInventoryUpdate(IClientAPI client, InventoryFolderBase folder, bool fetchFolders, bool fetchItems) | 1472 | public void SendInventoryUpdate(IClientAPI client, InventoryFolderBase folder, bool fetchFolders, bool fetchItems) |
1473 | { | 1473 | { |
1474 | if (folder == null) | 1474 | if (folder == null) |
1475 | return; | 1475 | return; |
@@ -1954,8 +1954,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1954 | } | 1954 | } |
1955 | } | 1955 | } |
1956 | 1956 | ||
1957 | public virtual void DeRezObjects(IClientAPI remoteClient, List<uint> localIDs, | 1957 | /// <summary> |
1958 | UUID groupID, DeRezAction action, UUID destinationID) | 1958 | /// Derez one or more objects from the scene. |
1959 | /// </summary> | ||
1960 | /// <remarks> | ||
1961 | /// Won't actually remove the scene object in the case where the object is being copied to a user inventory. | ||
1962 | /// </remarks> | ||
1963 | /// <param name='remoteClient'>Client requesting derez</param> | ||
1964 | /// <param name='localIDs'>Local ids of root parts of objects to delete.</param> | ||
1965 | /// <param name='groupID'>Not currently used. Here because the client passes this to us.</param> | ||
1966 | /// <param name='action'>DeRezAction</param> | ||
1967 | /// <param name='destinationID'>User folder ID to place derezzed object</param> | ||
1968 | public virtual void DeRezObjects( | ||
1969 | IClientAPI remoteClient, List<uint> localIDs, UUID groupID, DeRezAction action, UUID destinationID) | ||
1959 | { | 1970 | { |
1960 | // First, see of we can perform the requested action and | 1971 | // First, see of we can perform the requested action and |
1961 | // build a list of eligible objects | 1972 | // build a list of eligible objects |
@@ -1997,6 +2008,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1997 | // If child prims have invalid perms, fix them | 2008 | // If child prims have invalid perms, fix them |
1998 | grp.AdjustChildPrimPermissions(); | 2009 | grp.AdjustChildPrimPermissions(); |
1999 | 2010 | ||
2011 | // If child prims have invalid perms, fix them | ||
2012 | grp.AdjustChildPrimPermissions(); | ||
2013 | |||
2000 | if (remoteClient == null) | 2014 | if (remoteClient == null) |
2001 | { | 2015 | { |
2002 | // Autoreturn has a null client. Nothing else does. So | 2016 | // Autoreturn has a null client. Nothing else does. So |