diff options
author | Mandarinka Tasty | 2016-12-14 01:14:23 +0100 |
---|---|---|
committer | UbitUmarov | 2016-12-14 00:24:52 +0000 |
commit | ec883d0f1504e8573f763882231cb1da06bdc2a1 (patch) | |
tree | 5146fdae277ad5ce482093df5a8cbc2011d5254c /OpenSim/Region/OptionalModules/World | |
parent | Remove the AllowAlternatePorts option. It wasn't implemented anyway. (diff) | |
download | opensim-SC_OLD-ec883d0f1504e8573f763882231cb1da06bdc2a1.zip opensim-SC_OLD-ec883d0f1504e8573f763882231cb1da06bdc2a1.tar.gz opensim-SC_OLD-ec883d0f1504e8573f763882231cb1da06bdc2a1.tar.bz2 opensim-SC_OLD-ec883d0f1504e8573f763882231cb1da06bdc2a1.tar.xz |
New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index a929e80..0cabe47 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -70,6 +70,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
70 | private readonly UUID m_ownerID; | 70 | private readonly UUID m_ownerID; |
71 | private UUID m_hostGroupID; | 71 | private UUID m_hostGroupID; |
72 | private string m_profileAbout = ""; | 72 | private string m_profileAbout = ""; |
73 | private UUID m_profileImage = UUID.Zero; | ||
73 | private string m_born; | 74 | private string m_born; |
74 | public List<uint> SelectedObjects {get; private set;} | 75 | public List<uint> SelectedObjects {get; private set;} |
75 | 76 | ||
@@ -110,6 +111,13 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
110 | m_profileAbout = value; | 111 | m_profileAbout = value; |
111 | } | 112 | } |
112 | } | 113 | } |
114 | |||
115 | public UUID profileImage | ||
116 | { | ||
117 | get { return m_profileImage; } | ||
118 | set { m_profileImage = value; } | ||
119 | } | ||
120 | |||
113 | public IScene Scene | 121 | public IScene Scene |
114 | { | 122 | { |
115 | get { return m_scene; } | 123 | get { return m_scene; } |