diff options
author | Melanie Thielker | 2008-10-04 14:23:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-04 14:23:33 +0000 |
commit | 6bf521c7df9e7c151484d50ac01215bf67ec4e6e (patch) | |
tree | 07fff634111b3a757ca322243dbc025cce4e4ca3 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Remove type="owner" from the data snapshot. Made the parser choke and there (diff) | |
download | opensim-SC-6bf521c7df9e7c151484d50ac01215bf67ec4e6e.zip opensim-SC-6bf521c7df9e7c151484d50ac01215bf67ec4e6e.tar.gz opensim-SC-6bf521c7df9e7c151484d50ac01215bf67ec4e6e.tar.bz2 opensim-SC-6bf521c7df9e7c151484d50ac01215bf67ec4e6e.tar.xz |
Guard against negative scale set through LSL functions
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index c139fd9..26f3e1d 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -1675,6 +1675,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
1675 | SceneObjectGroup objectGroup = grp; | 1675 | SceneObjectGroup objectGroup = grp; |
1676 | if (objectGroup != null) | 1676 | if (objectGroup != null) |
1677 | { | 1677 | { |
1678 | if (!grp.HasGroupChanged) | ||
1679 | { | ||
1680 | m_log.InfoFormat("Detaching {0} which is unchanged", grp.UUID.ToString()); | ||
1681 | return; | ||
1682 | } | ||
1678 | string sceneObjectXml = objectGroup.ToXmlString(); | 1683 | string sceneObjectXml = objectGroup.ToXmlString(); |
1679 | 1684 | ||
1680 | CachedUserInfo userInfo = | 1685 | CachedUserInfo userInfo = |