aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Primitive.cs
diff options
context:
space:
mode:
authorMW2007-07-01 18:33:44 +0000
committerMW2007-07-01 18:33:44 +0000
commit54ef77f0fda5fabc6f4677e145fafb74d225a77e (patch)
treec07cbfbe487e2578514de7f1030b0be475ed1c9f /OpenSim/Region/Environment/Scenes/Primitive.cs
parentStarted change to having SceneObject and then that having child Primitives wh... (diff)
downloadopensim-SC_OLD-54ef77f0fda5fabc6f4677e145fafb74d225a77e.zip
opensim-SC_OLD-54ef77f0fda5fabc6f4677e145fafb74d225a77e.tar.gz
opensim-SC_OLD-54ef77f0fda5fabc6f4677e145fafb74d225a77e.tar.bz2
opensim-SC_OLD-54ef77f0fda5fabc6f4677e145fafb74d225a77e.tar.xz
Can change the name and description of a prim.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Primitive.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Primitive.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs
index 497196d..97e7974 100644
--- a/OpenSim/Region/Environment/Scenes/Primitive.cs
+++ b/OpenSim/Region/Environment/Scenes/Primitive.cs
@@ -21,6 +21,7 @@ namespace OpenSim.Region.Environment.Scenes
21 21
22 private Dictionary<LLUUID, InventoryItem> inventoryItems; 22 private Dictionary<LLUUID, InventoryItem> inventoryItems;
23 23
24 private string description = "";
24 public LLUUID OwnerID; 25 public LLUUID OwnerID;
25 public Int32 CreationDate; 26 public Int32 CreationDate;
26 public uint OwnerMask = FULL_MASK_PERMISSIONS; 27 public uint OwnerMask = FULL_MASK_PERMISSIONS;
@@ -55,6 +56,18 @@ namespace OpenSim.Region.Environment.Scenes
55 56
56 } 57 }
57 58
59 public string Description
60 {
61 get
62 {
63 return this.description;
64 }
65 set
66 {
67 this.description = value;
68 }
69 }
70
58 public Primitive(ulong regionHandle, Scene world, ObjectAddPacket addPacket, LLUUID ownerID, uint localID, bool isRoot, EntityBase parent , SceneObject rootObject) 71 public Primitive(ulong regionHandle, Scene world, ObjectAddPacket addPacket, LLUUID ownerID, uint localID, bool isRoot, EntityBase parent , SceneObject rootObject)
59 { 72 {
60 m_regionHandle = regionHandle; 73 m_regionHandle = regionHandle;