Prevent plants from being treated like dropped attachments and removed
from the sim.viewer-2-initial-appearance
parent
4f6dd8bda3
commit
18b27408d6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue