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.cs18
1 files changed, 4 insertions, 14 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index c171e78..0196b91 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -813,11 +813,9 @@ namespace OpenSim.Region.Environment.Scenes
813 // Prims currently only contain a single folder (Contents). From looking at the Second Life protocol, 813 // Prims currently only contain a single folder (Contents). From looking at the Second Life protocol,
814 // this appears to have the same UUID (!) as the prim. If this isn't the case, one can't drag items from 814 // this appears to have the same UUID (!) as the prim. If this isn't the case, one can't drag items from
815 // the prim into an agent inventory (Linden client reports that the "Object not found for drop" in its log 815 // the prim into an agent inventory (Linden client reports that the "Object not found for drop" in its log
816 m_folderID = UUID;
817 816
818 Flags = 0; 817 Flags = 0;
819 Flags |= LLObject.ObjectFlags.AllowInventoryDrop | 818 Flags |= LLObject.ObjectFlags.CreateSelected;
820 LLObject.ObjectFlags.CreateSelected;
821 819
822 TrimPermissions(); 820 TrimPermissions();
823 //m_undo = new UndoStack<UndoState>(ParentGroup.GetSceneMaxUndo()); 821 //m_undo = new UndoStack<UndoState>(ParentGroup.GetSceneMaxUndo());
@@ -877,9 +875,10 @@ namespace OpenSim.Region.Environment.Scenes
877 /// <returns></returns> 875 /// <returns></returns>
878 public static SceneObjectPart FromXml(XmlReader xmlReader) 876 public static SceneObjectPart FromXml(XmlReader xmlReader)
879 { 877 {
878 // It's not necessary to persist this
879
880 XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart)); 880 XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart));
881 SceneObjectPart newobject = (SceneObjectPart) serializer.Deserialize(xmlReader); 881 SceneObjectPart newobject = (SceneObjectPart) serializer.Deserialize(xmlReader);
882
883 return newobject; 882 return newobject;
884 } 883 }
885 884
@@ -913,15 +912,6 @@ namespace OpenSim.Region.Environment.Scenes
913 } 912 }
914 } 913 }
915 914
916 public void ApplyNextOwnerPermissions()
917 {
918 BaseMask = NextOwnerMask;
919 OwnerMask = NextOwnerMask;
920
921 TriggerScriptChangedEvent(Changed.OWNER);
922
923 }
924
925 public void TrimPermissions() 915 public void TrimPermissions()
926 { 916 {
927 917
@@ -2541,7 +2531,7 @@ namespace OpenSim.Region.Environment.Scenes
2541 } 2531 }
2542 2532
2543 info.AddValue("m_inventoryFileName", m_inventoryFileName); 2533 info.AddValue("m_inventoryFileName", m_inventoryFileName);
2544 info.AddValue("m_folderID", m_folderID.UUID); 2534 info.AddValue("m_folderID", UUID);
2545 info.AddValue("PhysActor", PhysActor); 2535 info.AddValue("PhysActor", PhysActor);
2546 2536
2547 Dictionary<Guid, TaskInventoryItem> TaskInventory_work = new Dictionary<Guid, TaskInventoryItem>(); 2537 Dictionary<Guid, TaskInventoryItem> TaskInventory_work = new Dictionary<Guid, TaskInventoryItem>();