mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Prevent plants from being treated like dropped attachments and removed
from the sim.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user