diff options
author | UbitUmarov | 2019-08-01 05:31:03 +0100 |
---|---|---|
committer | UbitUmarov | 2019-08-01 05:31:03 +0100 |
commit | 96dabca85b7112c68466f8ac668b9dc07e206ef8 (patch) | |
tree | d0802063de9d60aadcb1f066aeaee64314afc0f7 /OpenSim/Region/Framework/Scenes | |
parent | mantis8569: do aggregate script events when a script is deleted; block nonphy... (diff) | |
download | opensim-SC-96dabca85b7112c68466f8ac668b9dc07e206ef8.zip opensim-SC-96dabca85b7112c68466f8ac668b9dc07e206ef8.tar.gz opensim-SC-96dabca85b7112c68466f8ac668b9dc07e206ef8.tar.bz2 opensim-SC-96dabca85b7112c68466f8ac668b9dc07e206ef8.tar.xz |
make sure XEngine does release script events when a script is destroyed
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 1ba74f4..8c880fc 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -1112,10 +1112,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1112 | m_part.RemFlag(PrimFlags.Scripted); | 1112 | m_part.RemFlag(PrimFlags.Scripted); |
1113 | } | 1113 | } |
1114 | 1114 | ||
1115 | if (type == (int)InventoryType.LSL) | 1115 | m_part.ScheduleFullUpdate(); |
1116 | m_part.aggregateScriptEvents(); // this also does full update | ||
1117 | else | ||
1118 | m_part.ScheduleFullUpdate(); | ||
1119 | 1116 | ||
1120 | m_part.TriggerScriptChangedEvent(Changed.INVENTORY); | 1117 | m_part.TriggerScriptChangedEvent(Changed.INVENTORY); |
1121 | return type; | 1118 | return type; |