diff options
Can change the name and description of a prim.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Primitive.cs | 13 |
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; |