diff options
author | Melanie | 2012-02-26 02:36:34 +0100 |
---|---|---|
committer | Melanie | 2012-02-26 02:36:34 +0100 |
commit | c82709c0d6c72852d8614651f9cb31df09fff883 (patch) | |
tree | ee7e539ef5b56383c8bf767f06cfbc2581c8d7bf /OpenSim/Region/CoreModules/Framework | |
parent | Delay the sending of the initial werables update until the inventory and (diff) | |
download | opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.zip opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.gz opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.bz2 opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.xz |
Implement llSetKeyframedMotion. No persistence, no region crossing. Yet.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 6c4c63f..26650a5 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -355,6 +355,10 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
355 | 355 | ||
356 | foreach (SceneObjectGroup objectGroup in objlist) | 356 | foreach (SceneObjectGroup objectGroup in objlist) |
357 | { | 357 | { |
358 | if (objectGroup.KeyframeMotion != null) | ||
359 | objectGroup.KeyframeMotion.Stop(); | ||
360 | objectGroup.KeyframeMotion = null; | ||
361 | |||
358 | Vector3 inventoryStoredPosition = new Vector3 | 362 | Vector3 inventoryStoredPosition = new Vector3 |
359 | (((objectGroup.AbsolutePosition.X > (int)Constants.RegionSize) | 363 | (((objectGroup.AbsolutePosition.X > (int)Constants.RegionSize) |
360 | ? 250 | 364 | ? 250 |