mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System This will make "Eye Candy" scripts work without modification in XEngine. The use of the CHANGED_REGION_RESTART hack is no longer needed. Implemented in MySQL only, hovertext also in SQLite.
This commit is contained in:
@@ -433,6 +433,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
set { m_TextureAnimation = value; }
|
||||
}
|
||||
|
||||
[XmlIgnore]
|
||||
public Byte[] ParticleSystem
|
||||
{
|
||||
get { return m_particleSystem; }
|
||||
set { m_particleSystem = value; }
|
||||
}
|
||||
|
||||
public Vector3 GroupPosition
|
||||
{
|
||||
get
|
||||
@@ -1212,9 +1219,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
dupe.GroupPosition = GroupPosition;
|
||||
dupe.OffsetPosition = OffsetPosition;
|
||||
dupe.RotationOffset = RotationOffset;
|
||||
dupe.Velocity = Vector3.Zero;
|
||||
dupe.Acceleration = Vector3.Zero;
|
||||
dupe.AngularVelocity = Vector3.Zero;
|
||||
dupe.Velocity = new Vector3(0, 0, 0);
|
||||
dupe.Acceleration = new Vector3(0, 0, 0);
|
||||
dupe.AngularVelocity = new Vector3(0, 0, 0);
|
||||
dupe.ObjectFlags = ObjectFlags;
|
||||
|
||||
dupe._ownershipCost = _ownershipCost;
|
||||
|
||||
Reference in New Issue
Block a user