mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment
This commit is contained in:
@@ -611,7 +611,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
if (obj != null)
|
||||
{
|
||||
if ((obj is SceneObjectGroup) && ((SceneObjectGroup)obj).RootPart != null && !((SceneObjectGroup)obj).RootPart.IsAttachment)
|
||||
if ((obj is SceneObjectGroup) && !((SceneObjectGroup)obj).IsDeleted && !((SceneObjectGroup)obj).IsAttachment)
|
||||
{
|
||||
m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user