diff options
author | Melanie Thielker | 2008-09-08 02:40:20 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-08 02:40:20 +0000 |
commit | 490ac0be005a989c86ebde62aad137fd2da7cbd8 (patch) | |
tree | 0bd15a47dea6d2dea470d50779603970a0493fd9 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | Implement llEjectFromLand. (diff) | |
download | opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.zip opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.gz opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.bz2 opensim-SC_OLD-490ac0be005a989c86ebde62aad137fd2da7cbd8.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 80db10d..3c34f73 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1131,6 +1131,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1131 | Name, UUID, m_scene.RegionInfo.RegionName); | 1131 | Name, UUID, m_scene.RegionInfo.RegionName); |
1132 | 1132 | ||
1133 | SceneObjectGroup backup_group = Copy(OwnerID, GroupID, false); | 1133 | SceneObjectGroup backup_group = Copy(OwnerID, GroupID, false); |
1134 | backup_group.RootPart.Velocity = RootPart.Velocity; | ||
1135 | backup_group.RootPart.Acceleration = RootPart.Acceleration; | ||
1136 | backup_group.RootPart.AngularVelocity = RootPart.AngularVelocity; | ||
1137 | backup_group.RootPart.ParticleSystem = RootPart.ParticleSystem; | ||
1134 | 1138 | ||
1135 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); | 1139 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); |
1136 | HasGroupChanged = false; | 1140 | HasGroupChanged = false; |