mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments.
This commit is contained in:
@@ -30,6 +30,7 @@ using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using Axiom.Math;
|
||||
using libsecondlife;
|
||||
using libsecondlife.Packets;
|
||||
@@ -89,6 +90,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// since the group's last persistent backup
|
||||
/// </summary>
|
||||
public bool HasGroupChanged = false;
|
||||
|
||||
|
||||
|
||||
private LLVector3 lastPhysGroupPos;
|
||||
@@ -484,6 +486,26 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
}
|
||||
|
||||
public void SetFromAssetID(LLUUID AssetId)
|
||||
{
|
||||
lock (m_parts)
|
||||
{
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
{
|
||||
part.fromAssetID = AssetId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public LLUUID GetFromAssetID()
|
||||
{
|
||||
if (m_rootPart != null)
|
||||
{
|
||||
return m_rootPart.fromAssetID;
|
||||
}
|
||||
return LLUUID.Zero;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user