aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-08-01 05:37:27 +0100
committerUbitUmarov2019-08-01 05:37:27 +0100
commit0142f102ce046bbd46be7087f84845326bb95044 (patch)
tree855cd3a3ccd7e4b040afe07d034f25d56b4f7269 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentmake sure XEngine does release script events when a script is destroyed (diff)
downloadopensim-SC-0142f102ce046bbd46be7087f84845326bb95044.zip
opensim-SC-0142f102ce046bbd46be7087f84845326bb95044.tar.gz
opensim-SC-0142f102ce046bbd46be7087f84845326bb95044.tar.bz2
opensim-SC-0142f102ce046bbd46be7087f84845326bb95044.tar.xz
remove redundant code
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 5e2204e..ec58b97 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3023,11 +3023,6 @@ namespace OpenSim.Region.Framework.Scenes
3023 { 3023 {
3024 if (m_scriptEvents.ContainsKey(scriptid)) 3024 if (m_scriptEvents.ContainsKey(scriptid))
3025 { 3025 {
3026 scriptEvents oldparts = scriptEvents.None;
3027 oldparts = (scriptEvents) m_scriptEvents[scriptid];
3028
3029 // remove values from aggregated script events
3030 AggregateScriptEvents &= ~oldparts;
3031 m_scriptEvents.Remove(scriptid); 3026 m_scriptEvents.Remove(scriptid);
3032 aggregateScriptEvents(); 3027 aggregateScriptEvents();
3033 } 3028 }