do send flag PrimFlags.InventoryEmpty

0.9.1.0-post-fixes
UbitUmarov 2019-03-21 06:21:57 +00:00
parent 7211afb3b9
commit b1cf06796f
1 changed files with 4 additions and 1 deletions

View File

@ -2478,7 +2478,10 @@ namespace OpenSim.Region.Framework.Scenes
// if (m_parentGroup == null || m_parentGroup.RootPart == this)
// f &= ~(PrimFlags.Touch | PrimFlags.Money);
return (uint)Flags | (uint)LocalFlags;
uint eff = (uint)Flags | (uint)LocalFlags;
if(m_inventory == null || m_inventory.Count == 0)
eff = (uint)PrimFlags.InventoryEmpty;
return eff;
}
// some of this lines need be moved to other place later