diff options
author | UbitUmarov | 2014-10-06 00:17:41 +0100 |
---|---|---|
committer | UbitUmarov | 2014-10-06 00:17:41 +0100 |
commit | c0a75fcc038c50047e7fe3739f7b53d0e1310b03 (patch) | |
tree | 133ae4fbd4744c5e8b3d21f8a07e56a502caf7f5 /OpenSim/Region/Framework/Scenes | |
parent | reduce some avatar engine strenght (diff) | |
download | opensim-SC-c0a75fcc038c50047e7fe3739f7b53d0e1310b03.zip opensim-SC-c0a75fcc038c50047e7fe3739f7b53d0e1310b03.tar.gz opensim-SC-c0a75fcc038c50047e7fe3739f7b53d0e1310b03.tar.bz2 opensim-SC-c0a75fcc038c50047e7fe3739f7b53d0e1310b03.tar.xz |
fix targetOmega resend on deselect on the right place, can't be at sop
but packethandlers
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index 46b2d2e..931093a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |||
@@ -291,6 +291,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
291 | EventManager.TriggerParcelPrimCountTainted(); | 291 | EventManager.TriggerParcelPrimCountTainted(); |
292 | } | 292 | } |
293 | 293 | ||
294 | // restore targetOmega | ||
295 | if (part.AngularVelocity != Vector3.Zero) | ||
296 | part.ScheduleTerseUpdate(); | ||
297 | |||
294 | } | 298 | } |
295 | 299 | ||
296 | public virtual void ProcessMoneyTransferRequest(UUID source, UUID destination, int amount, | 300 | public virtual void ProcessMoneyTransferRequest(UUID source, UUID destination, int amount, |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 3fc741c..d5377d0 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -666,8 +666,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
666 | m_isSelected = value; | 666 | m_isSelected = value; |
667 | if (ParentGroup != null) | 667 | if (ParentGroup != null) |
668 | ParentGroup.PartSelectChanged(value); | 668 | ParentGroup.PartSelectChanged(value); |
669 | if (!m_isSelected && m_angularVelocity != Vector3.Zero) | 669 | |
670 | ScheduleTerseUpdate(); | ||
671 | } | 670 | } |
672 | } | 671 | } |
673 | 672 | ||