diff options
author | Melanie Thielker | 2019-08-07 18:19:56 +0100 |
---|---|---|
committer | Melanie Thielker | 2019-08-07 18:22:13 +0100 |
commit | c3e74d9e044618b012f38d3d00aeac2dd212bf45 (patch) | |
tree | a0cc2d65ae2e099e66b60863d943ab8ec9f7c0ca /OpenSim/Region/OptionalModules/World | |
parent | Merge branch 'master' of brain.opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-c3e74d9e044618b012f38d3d00aeac2dd212bf45.zip opensim-SC-c3e74d9e044618b012f38d3d00aeac2dd212bf45.tar.gz opensim-SC-c3e74d9e044618b012f38d3d00aeac2dd212bf45.tar.bz2 opensim-SC-c3e74d9e044618b012f38d3d00aeac2dd212bf45.tar.xz |
Put a scope un users. Should fix Unknown UserUMMAU43 unless the user IS unknown
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rwxr-xr-x[-rw-r--r--] | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d3eb25f..798576c 100644..100755 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -67,6 +67,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
67 | private readonly Vector3 m_startPos; | 67 | private readonly Vector3 m_startPos; |
68 | private UUID m_uuid = UUID.Random(); | 68 | private UUID m_uuid = UUID.Random(); |
69 | private readonly Scene m_scene; | 69 | private readonly Scene m_scene; |
70 | private readonly UUID m_scopeID; | ||
70 | private readonly UUID m_ownerID; | 71 | private readonly UUID m_ownerID; |
71 | private UUID m_hostGroupID; | 72 | private UUID m_hostGroupID; |
72 | private string m_profileAbout = ""; | 73 | private string m_profileAbout = ""; |
@@ -82,6 +83,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
82 | m_startPos = position; | 83 | m_startPos = position; |
83 | m_uuid = UUID.Random(); | 84 | m_uuid = UUID.Random(); |
84 | m_scene = scene; | 85 | m_scene = scene; |
86 | m_scopeID = scene.RegionInfo.ScopeID; | ||
85 | m_ownerID = ownerID; | 87 | m_ownerID = ownerID; |
86 | SenseAsAgent = senseAsAgent; | 88 | SenseAsAgent = senseAsAgent; |
87 | m_hostGroupID = UUID.Zero; | 89 | m_hostGroupID = UUID.Zero; |
@@ -123,6 +125,11 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
123 | get { return m_scene; } | 125 | get { return m_scene; } |
124 | } | 126 | } |
125 | 127 | ||
128 | public UUID ScopeId | ||
129 | { | ||
130 | get { return m_scopeID; } | ||
131 | } | ||
132 | |||
126 | public int PingTimeMS { get { return 0; } } | 133 | public int PingTimeMS { get { return 0; } } |
127 | 134 | ||
128 | public UUID OwnerID | 135 | public UUID OwnerID |