aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMW2007-08-21 13:21:03 +0000
committerMW2007-08-21 13:21:03 +0000
commit252b48fb3e0905e6b21648e818aebd091e8532a8 (patch)
treedfd27c645a54273c4c1724755bb2b7a92929706e /OpenSim/Region/ClientStack
parentAdded Property to SceneObjectGroup to allow the UUID of the region it is in t... (diff)
downloadopensim-SC_OLD-252b48fb3e0905e6b21648e818aebd091e8532a8.zip
opensim-SC_OLD-252b48fb3e0905e6b21648e818aebd091e8532a8.tar.gz
opensim-SC_OLD-252b48fb3e0905e6b21648e818aebd091e8532a8.tar.bz2
opensim-SC_OLD-252b48fb3e0905e6b21648e818aebd091e8532a8.tar.xz
Can now turn on/off server side permission checking (on prim editing etc) from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true
Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs1
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs12
2 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index 428fb77..8729b58 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -87,6 +87,7 @@ namespace OpenSim.Region.ClientStack
87 public event FetchInventoryDescendents OnFetchInventoryDescendents; 87 public event FetchInventoryDescendents OnFetchInventoryDescendents;
88 public event FetchInventory OnFetchInventory; 88 public event FetchInventory OnFetchInventory;
89 public event RequestTaskInventory OnRequestTaskInventory; 89 public event RequestTaskInventory OnRequestTaskInventory;
90 public event UpdateInventoryItemTransaction OnUpdateInventoryItem;
90 public event UDPAssetUploadRequest OnAssetUploadRequest; 91 public event UDPAssetUploadRequest OnAssetUploadRequest;
91 public event XferReceive OnXferReceive; 92 public event XferReceive OnXferReceive;
92 public event RequestXfer OnRequestXfer; 93 public event RequestXfer OnRequestXfer;
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 903ddcc..592254a 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -418,6 +418,16 @@ namespace OpenSim.Region.ClientStack
418 break; 418 break;
419 case PacketType.UpdateInventoryItem: 419 case PacketType.UpdateInventoryItem:
420 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; 420 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack;
421 if (OnUpdateInventoryItem != null)
422 {
423 for (int i = 0; i < update.InventoryData.Length; i++)
424 {
425 if (update.InventoryData[i].TransactionID != LLUUID.Zero)
426 {
427 OnUpdateInventoryItem(this, update.InventoryData[i].TransactionID, update.InventoryData[i].TransactionID.Combine(this.SecureSessionID), update.InventoryData[i].ItemID);
428 }
429 }
430 }
421 //Console.WriteLine(Pack.ToString()); 431 //Console.WriteLine(Pack.ToString());
422 /*for (int i = 0; i < update.InventoryData.Length; i++) 432 /*for (int i = 0; i < update.InventoryData.Length; i++)
423 { 433 {
@@ -457,7 +467,7 @@ namespace OpenSim.Region.ClientStack
457 } 467 }
458 break; 468 break;
459 case PacketType.UpdateTaskInventory: 469 case PacketType.UpdateTaskInventory:
460 //Console.WriteLine(Pack.ToString()); 470 //Console.WriteLine(Pack.ToString());
461 UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; 471 UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack;
462 break; 472 break;
463 case PacketType.RezScript: 473 case PacketType.RezScript: