dont standup avatar on crossing
parent
4aa55204a2
commit
b6af41ec11
|
@ -2469,7 +2469,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
foreach (UUID av in avatars)
|
foreach (UUID av in avatars)
|
||||||
{
|
{
|
||||||
ScenePresence p = GetScenePresence(av);
|
ScenePresence p = GetScenePresence(av);
|
||||||
if (p != null)
|
if (p != null && p.ParentUUID == UUID.Zero)
|
||||||
p.StandUp();
|
p.StandUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3134,7 +3134,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// and the scene presence and the client, if they exist
|
// and the scene presence and the client, if they exist
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ScenePresence sp = GetScenePresence(agentID);
|
ScenePresence sp = WaitGetScenePresence(agentID);
|
||||||
|
|
||||||
if (sp != null)
|
if (sp != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue