bug fix: StateSource of a SOG that is not a attachment is StateSource.PrimCrossing
parent
895a57e426
commit
67aefb5e42
|
@ -3064,8 +3064,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
private int GetStateSource(SceneObjectGroup sog)
|
private int GetStateSource(SceneObjectGroup sog)
|
||||||
{
|
{
|
||||||
ScenePresence sp = GetScenePresence(sog.OwnerID);
|
if(!sog.IsAttachmentCheckFull())
|
||||||
|
return 2; // StateSource.PrimCrossing
|
||||||
|
|
||||||
|
ScenePresence sp = GetScenePresence(sog.OwnerID);
|
||||||
if (sp != null)
|
if (sp != null)
|
||||||
return sp.GetStateSource();
|
return sp.GetStateSource();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue