aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-14 23:29:04 +0100
committerJustin Clark-Casey (justincc)2010-07-14 23:29:04 +0100
commit99a6950b3089b7d945d2e7981780e44e469a4ed8 (patch)
tree9f1a58921f77da1e393352b1c1ed2e383f5da317 /OpenSim/Region/Framework/Scenes
parentimprove closing of load/save iar streams in the event of a problem (diff)
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-99a6950b3089b7d945d2e7981780e44e469a4ed8.zip
opensim-SC_OLD-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.gz
opensim-SC_OLD-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.bz2
opensim-SC_OLD-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs8
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
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