Prevent Meta7 plants from being treated like dropped attachments and removed

from the sim.
avinationmerge
Melanie Thielker 2010-09-01 20:10:44 +02:00
parent 2232e6f273
commit 09fba16094
1 changed files with 1 additions and 1 deletions

View File

@ -5068,7 +5068,7 @@ namespace OpenSim.Region.Framework.Scenes
{
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;
if (agentID == UUID.Zero)