mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
add more test code to make usage od compressed updates etc. Should be disable, but well many things can go wrong.
This commit is contained in:
@@ -1179,9 +1179,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
set
|
||||
{
|
||||
string old = m_mediaUrl;
|
||||
m_mediaUrl = value;
|
||||
|
||||
if (ParentGroup != null)
|
||||
if (ParentGroup != null && old != m_mediaUrl)
|
||||
ParentGroup.HasGroupChanged = true;
|
||||
}
|
||||
}
|
||||
@@ -1385,13 +1386,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
[XmlIgnore]
|
||||
public bool IsOccupied // KF If an av is sittingon this prim
|
||||
{
|
||||
get { return m_occupied; }
|
||||
set { m_occupied = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ID of the avatar that is sat on us if we have a sit target. If there is no such avatar then is UUID.Zero
|
||||
/// </summary>
|
||||
@@ -2472,12 +2466,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public uint GetEffectiveObjectFlags()
|
||||
{
|
||||
// Commenting this section of code out since it doesn't actually do anything, as enums are handled by
|
||||
// value rather than reference
|
||||
// PrimFlags f = _flags;
|
||||
// if (m_parentGroup == null || m_parentGroup.RootPart == this)
|
||||
// f &= ~(PrimFlags.Touch | PrimFlags.Money);
|
||||
|
||||
uint eff = (uint)Flags | (uint)LocalFlags;
|
||||
if(m_inventory == null || m_inventory.Count == 0)
|
||||
eff |= (uint)PrimFlags.InventoryEmpty;
|
||||
|
||||
Reference in New Issue
Block a user