diff options
author | Diva Canto | 2013-06-05 20:20:22 -0700 |
---|---|---|
committer | Diva Canto | 2013-06-05 20:20:22 -0700 |
commit | 25fa647a74194db5b20155ac6d8a34cc231996e8 (patch) | |
tree | 5dce1f838e05c2bb8562cd039e229210d99b1c5c /OpenSim/Region/CoreModules | |
parent | Strengthen some assumptions. (diff) | |
parent | Database persistence for keyframes. Contains a Migration. (diff) | |
download | opensim-SC_OLD-25fa647a74194db5b20155ac6d8a34cc231996e8.zip opensim-SC_OLD-25fa647a74194db5b20155ac6d8a34cc231996e8.tar.gz opensim-SC_OLD-25fa647a74194db5b20155ac6d8a34cc231996e8.tar.bz2 opensim-SC_OLD-25fa647a74194db5b20155ac6d8a34cc231996e8.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index f58a24f..85d26f3 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -2247,6 +2247,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
2247 | // move out of the region creating an infinite loop of failed attempts to cross | 2247 | // move out of the region creating an infinite loop of failed attempts to cross |
2248 | grp.UpdatePrimFlags(grp.RootPart.LocalId,false,grp.IsTemporary,grp.IsPhantom,false); | 2248 | grp.UpdatePrimFlags(grp.RootPart.LocalId,false,grp.IsTemporary,grp.IsPhantom,false); |
2249 | 2249 | ||
2250 | if (grp.RootPart.KeyframeMotion != null) | ||
2251 | grp.RootPart.KeyframeMotion.CrossingFailure(); | ||
2252 | |||
2250 | grp.ScheduleGroupForFullUpdate(); | 2253 | grp.ScheduleGroupForFullUpdate(); |
2251 | } | 2254 | } |
2252 | } | 2255 | } |
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index e6d6cbf..880205a 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -357,6 +357,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
357 | 357 | ||
358 | foreach (SceneObjectGroup objectGroup in objlist) | 358 | foreach (SceneObjectGroup objectGroup in objlist) |
359 | { | 359 | { |
360 | if (objectGroup.RootPart.KeyframeMotion != null) | ||
361 | objectGroup.RootPart.KeyframeMotion.Stop(); | ||
362 | objectGroup.RootPart.KeyframeMotion = null; | ||
360 | // Vector3 inventoryStoredPosition = new Vector3 | 363 | // Vector3 inventoryStoredPosition = new Vector3 |
361 | // (((objectGroup.AbsolutePosition.X > (int)Constants.RegionSize) | 364 | // (((objectGroup.AbsolutePosition.X > (int)Constants.RegionSize) |
362 | // ? 250 | 365 | // ? 250 |