Rather than having a FromFolderID property on every single prim and only ever using the root prim one, store on SOG instead.

This reduces pointless memory usage.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-04-07 00:40:55 +01:00
parent 7d8bb33c5b
commit cce760dbfc
4 changed files with 19 additions and 10 deletions

View File

@@ -586,10 +586,21 @@ namespace OpenSim.Region.Framework.Scenes
}
}
/// <summary>
/// The item ID that this object was rezzed from, if applicable.
/// </summary>
public UUID FromItemID { get; set; }
/// <summary>
/// The item ID that this object was rezzed from, if applicable.
/// </summary>
/// <remarks>
/// If not applicable will be UUID.Zero
/// </remarks>
public UUID FromItemID { get; set; }
/// <summary>
/// The folder ID that this object was rezzed from, if applicable.
/// </summary>
/// <remarks>
/// If not applicable will be UUID.Zero
/// </remarks>
public UUID FromFolderID { get; set; }
#endregion

View File

@@ -182,8 +182,6 @@ namespace OpenSim.Region.Framework.Scenes
public uint TimeStampTerse;
public UUID FromFolderID;
public int STATUS_ROTATE_X;
public int STATUS_ROTATE_Y;