Prevent Meta7 plants from being treated like dropped attachments and removed
from the sim.avinationmerge
parent
2232e6f273
commit
09fba16094
|
@ -5068,7 +5068,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
ForEachSOG(delegate (SceneObjectGroup grp)
|
ForEachSOG(delegate (SceneObjectGroup grp)
|
||||||
{
|
{
|
||||||
if (grp.RootPart.Shape.State != 0 && (!objectsToDelete.Contains(grp)))
|
if (grp.RootPart.Shape.PCode == 0 && grp.RootPart.Shape.State != 0 && (!objectsToDelete.Contains(grp)))
|
||||||
{
|
{
|
||||||
UUID agentID = grp.OwnerID;
|
UUID agentID = grp.OwnerID;
|
||||||
if (agentID == UUID.Zero)
|
if (agentID == UUID.Zero)
|
||||||
|
|
Loading…
Reference in New Issue