aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-08-01 04:14:31 +0100
committerUbitUmarov2019-08-01 04:14:49 +0100
commit618c6ceda514190924e8003d4ee895f3e2e9f0cc (patch)
treea7e068a45d5807412ef5d567eb24b79557107277 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentmantis8548: let rotation division be -(olderResult) this is formally more cor... (diff)
downloadopensim-SC-618c6ceda514190924e8003d4ee895f3e2e9f0cc.zip
opensim-SC-618c6ceda514190924e8003d4ee895f3e2e9f0cc.tar.gz
opensim-SC-618c6ceda514190924e8003d4ee895f3e2e9f0cc.tar.bz2
opensim-SC-618c6ceda514190924e8003d4ee895f3e2e9f0cc.tar.xz
mantis8569: do aggregate script events when a script is deleted; block nonphysical drag if a touch event is triggered, add a time guard on that
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index a0f8959..1ba74f4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -1091,7 +1091,6 @@ namespace OpenSim.Region.Framework.Scenes
1091 m_part.ParentGroup.InvalidateDeepEffectivePerms(); 1091 m_part.ParentGroup.InvalidateDeepEffectivePerms();
1092 1092
1093 m_inventorySerial++; 1093 m_inventorySerial++;
1094 m_part.TriggerScriptChangedEvent(Changed.INVENTORY);
1095 1094
1096 HasInventoryChanged = true; 1095 HasInventoryChanged = true;
1097 m_part.ParentGroup.HasGroupChanged = true; 1096 m_part.ParentGroup.HasGroupChanged = true;
@@ -1113,8 +1112,12 @@ namespace OpenSim.Region.Framework.Scenes
1113 m_part.RemFlag(PrimFlags.Scripted); 1112 m_part.RemFlag(PrimFlags.Scripted);
1114 } 1113 }
1115 1114
1116 m_part.ScheduleFullUpdate(); 1115 if (type == (int)InventoryType.LSL)
1116 m_part.aggregateScriptEvents(); // this also does full update
1117 else
1118 m_part.ScheduleFullUpdate();
1117 1119
1120 m_part.TriggerScriptChangedEvent(Changed.INVENTORY);
1118 return type; 1121 return type;
1119 } 1122 }
1120 else 1123 else