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 | |
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')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 93e22e0..2bebd30 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -553,7 +553,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
553 | { | 553 | { |
554 | Util.FireAndForget(delegate(object x) | 554 | Util.FireAndForget(delegate(object x) |
555 | { | 555 | { |
556 | Thread.Sleep(2000); | 556 | Thread.Sleep(4000); |
557 | 557 | ||
558 | // m_log.DebugFormat("[AVFACTORY]: Client_OnRequestWearables called for {0} ({1})", client.Name, client.AgentId); | 558 | // m_log.DebugFormat("[AVFACTORY]: Client_OnRequestWearables called for {0} ({1})", client.Name, client.AgentId); |
559 | ScenePresence sp = m_scene.GetScenePresence(client.AgentId); | 559 | ScenePresence sp = m_scene.GetScenePresence(client.AgentId); |
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 |