aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-26 20:31:01 +0000
committerJustin Clarke Casey2008-04-26 20:31:01 +0000
commitaccd89b3f1c7729e6bb34b52e8095baf9c1f440a (patch)
treeeb2b485edb92d5349463ec3626f76e005905bdba /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* Ooops, attachments now teleport/cross region borders along with your avatar... (diff)
downloadopensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.zip
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.gz
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.bz2
opensim-SC_OLD-accd89b3f1c7729e6bb34b52e8095baf9c1f440a.tar.xz
* First draft implementation of copying prim inventory items back to agent inventory
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory * Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set * This is pending fixes/implementation of upstream permission implementation
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index b7e72ef..50c96e1 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -747,12 +747,15 @@ namespace OpenSim.Region.Environment.Scenes
747 Acceleration = new LLVector3(0, 0, 0); 747 Acceleration = new LLVector3(0, 0, 0);
748 m_TextureAnimation = new byte[0]; 748 m_TextureAnimation = new byte[0];
749 m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp"; 749 m_inventoryFileName = "inventory_" + LLUUID.Random().ToString() + ".tmp";
750 m_folderID = LLUUID.Random(); 750
751 // Prims currently only contain a single folder (Contents). From looking at the Second Life protocol,
752 // this appears to have the same UUID (!) as the prim. If this isn't the case, one can't drag items from
753 // the prim into an agent inventory (Linden client reports that the "Object not found for drop" in its log
754 m_folderID = UUID;
751 755
752 Flags = 0; 756 Flags = 0;
753 Flags |= LLObject.ObjectFlags.AllowInventoryDrop | 757 Flags |= LLObject.ObjectFlags.AllowInventoryDrop |
754 LLObject.ObjectFlags.CreateSelected; 758 LLObject.ObjectFlags.CreateSelected;
755
756 759
757 TrimPermissions(); 760 TrimPermissions();
758 761