aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-03-21 06:21:57 +0000
committerUbitUmarov2019-03-21 06:21:57 +0000
commitb1cf06796f498be162ae8e3dedca2ae9d8af9bda (patch)
tree18374598bea1eb332e44d02ef79ec0884dc3d07b /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentmissing file (diff)
downloadopensim-SC-b1cf06796f498be162ae8e3dedca2ae9d8af9bda.zip
opensim-SC-b1cf06796f498be162ae8e3dedca2ae9d8af9bda.tar.gz
opensim-SC-b1cf06796f498be162ae8e3dedca2ae9d8af9bda.tar.bz2
opensim-SC-b1cf06796f498be162ae8e3dedca2ae9d8af9bda.tar.xz
do send flag PrimFlags.InventoryEmpty
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index cf9dfee..6fb0eed 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2478,7 +2478,10 @@ namespace OpenSim.Region.Framework.Scenes
2478// if (m_parentGroup == null || m_parentGroup.RootPart == this) 2478// if (m_parentGroup == null || m_parentGroup.RootPart == this)
2479// f &= ~(PrimFlags.Touch | PrimFlags.Money); 2479// f &= ~(PrimFlags.Touch | PrimFlags.Money);
2480 2480
2481 return (uint)Flags | (uint)LocalFlags; 2481 uint eff = (uint)Flags | (uint)LocalFlags;
2482 if(m_inventory == null || m_inventory.Count == 0)
2483 eff = (uint)PrimFlags.InventoryEmpty;
2484 return eff;
2482 } 2485 }
2483 2486
2484 // some of this lines need be moved to other place later 2487 // some of this lines need be moved to other place later