diff options
Hook up Keyframe motion to almost everything. Failing to cross a sim border
may yield unexpected results in some cases. No database persistence yet,
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/InventoryAccess')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |