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)
|
||||
{
|
||||
UUID agentID = grp.OwnerID;
|
||||
if (agentID == UUID.Zero)
|
||||
if (grp.RootPart.Shape.PCode == 0 && grp.RootPart.Shape.State != 0 && (!objectsToDelete.Contains(grp)))
|
||||
{
|
||||
objectsToDelete.Add(grp);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue