diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index e952799..6bf1654 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -265,7 +265,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
265 | } | 265 | } |
266 | else | 266 | else |
267 | { | 267 | { |
268 | if(m_part.ParentGroup.m_savedScriptState != null) | 268 | if (m_part.ParentGroup.m_savedScriptState != null) |
269 | RestoreSavedScriptState(item.OldItemID, item.ItemID); | 269 | RestoreSavedScriptState(item.OldItemID, item.ItemID); |
270 | m_items[item.ItemID].PermsMask = 0; | 270 | m_items[item.ItemID].PermsMask = 0; |
271 | m_items[item.ItemID].PermsGranter = UUID.Zero; | 271 | m_items[item.ItemID].PermsGranter = UUID.Zero; |
@@ -283,7 +283,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
283 | 283 | ||
284 | private void RestoreSavedScriptState(UUID oldID, UUID newID) | 284 | private void RestoreSavedScriptState(UUID oldID, UUID newID) |
285 | { | 285 | { |
286 | if(m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID)) | 286 | if (m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID)) |
287 | { | 287 | { |
288 | string fpath = Path.Combine("ScriptEngines/"+m_part.ParentGroup.Scene.RegionInfo.RegionID.ToString(), | 288 | string fpath = Path.Combine("ScriptEngines/"+m_part.ParentGroup.Scene.RegionInfo.RegionID.ToString(), |
289 | newID.ToString()+".state"); | 289 | newID.ToString()+".state"); |