Prevent plants from being treated like dropped attachments and removed

from the sim.
viewer-2-initial-appearance
Melanie 2010-11-08 02:39:06 +00:00
parent 4f6dd8bda3
commit 18b27408d6
1 changed files with 1 additions and 2 deletions

View File

@ -4999,8 +4999,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
if (grp.RootPart.Shape.State != 0) if (grp.RootPart.Shape.State != 0)
{ {
UUID agentID = grp.OwnerID; if (grp.RootPart.Shape.PCode == 0 && grp.RootPart.Shape.State != 0 && (!objectsToDelete.Contains(grp)))
if (agentID == UUID.Zero)
{ {
objectsToDelete.Add(grp); objectsToDelete.Add(grp);
return; return;