diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 2578685..6e73fe9 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1343,7 +1343,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
1343 | } | 1343 | } |
1344 | if (part.Inventory.UpdateInventoryItem(itemInfo)) | 1344 | if (part.Inventory.UpdateInventoryItem(itemInfo)) |
1345 | { | 1345 | { |
1346 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | 1346 | if ((InventoryType)itemInfo.InvType == InventoryType.Notecard) |
1347 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | ||
1348 | else if ((InventoryType)itemInfo.InvType == InventoryType.LSL) | ||
1349 | remoteClient.SendAgentAlertMessage("Script saved", false); | ||
1350 | else | ||
1351 | remoteClient.SendAgentAlertMessage("Item saved", false); | ||
1352 | |||
1347 | part.GetProperties(remoteClient); | 1353 | part.GetProperties(remoteClient); |
1348 | } | 1354 | } |
1349 | } | 1355 | } |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 40176ec..b0f4ac0 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2571,8 +2571,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2571 | RootPrim.RemFlag(PrimFlags.TemporaryOnRez); | 2571 | RootPrim.RemFlag(PrimFlags.TemporaryOnRez); |
2572 | 2572 | ||
2573 | if (AttachmentsModule != null) | 2573 | if (AttachmentsModule != null) |
2574 | AttachmentsModule.AttachObject( | 2574 | AttachmentsModule.AttachObject(sp.ControllingClient, grp, 0, false); |
2575 | sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false); | ||
2576 | 2575 | ||
2577 | } | 2576 | } |
2578 | else | 2577 | else |