aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMelanie2013-10-04 20:03:12 +0100
committerMelanie2013-10-04 20:03:12 +0100
commit75c68fa29e3a2fed81c883e7925bf161e968639f (patch)
tree13ba69e6818f634018a5954d38750cf48128b7f8 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentMerge branch 'avination-current' into careminster (diff)
parentminor: Disable logging left active on regression test TestSameSimulatorIsolat... (diff)
downloadopensim-SC-75c68fa29e3a2fed81c883e7925bf161e968639f.zip
opensim-SC-75c68fa29e3a2fed81c883e7925bf161e968639f.tar.gz
opensim-SC-75c68fa29e3a2fed81c883e7925bf161e968639f.tar.bz2
opensim-SC-75c68fa29e3a2fed81c883e7925bf161e968639f.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Data/MySQL/Resources/RegionStore.migrations OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCapabilityTests.cs OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 4337b5a..659bde9 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -507,6 +507,9 @@ namespace OpenSim.Region.Framework.Scenes
507 // This MAY be problematic, if it is, another solution 507 // This MAY be problematic, if it is, another solution
508 // needs to be found. If inventory item flags are updated 508 // needs to be found. If inventory item flags are updated
509 // the viewer's notion of the item needs to be refreshed. 509 // the viewer's notion of the item needs to be refreshed.
510 //
511 // In other situations we cannot send out a bulk update here, since this will cause editing of clothing to start
512 // failing frequently. Possibly this is a race with a separate transaction that uploads the asset.
510 if (sendUpdate) 513 if (sendUpdate)
511 remoteClient.SendBulkUpdateInventory(item); 514 remoteClient.SendBulkUpdateInventory(item);
512 } 515 }
@@ -2393,6 +2396,13 @@ namespace OpenSim.Region.Framework.Scenes
2393 sourcePart.Inventory.RemoveInventoryItem(item.ItemID); 2396 sourcePart.Inventory.RemoveInventoryItem(item.ItemID);
2394 } 2397 }
2395 2398
2399
2400 if (group.IsAttachment == false && group.RootPart.Shape.State != 0)
2401 {
2402 group.RootPart.AttachedPos = group.AbsolutePosition;
2403 group.RootPart.Shape.LastAttachPoint = (byte)group.AttachmentPoint;
2404 }
2405
2396 group.FromPartID = sourcePart.UUID; 2406 group.FromPartID = sourcePart.UUID;
2397 AddNewSceneObject(group, true, pos, rot, vel); 2407 AddNewSceneObject(group, true, pos, rot, vel);
2398 2408