aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
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