aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorDr Scofield2009-04-23 14:38:55 +0000
committerDr Scofield2009-04-23 14:38:55 +0000
commit07b435b2b9289ca3bb3046aeeab996f7810f7bcd (patch)
treed7d5ade07eb71daddbd52a4333a2930fb6c4cf56 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentFrom: Alan M Webb <alan_webb@us.ibm.com> (diff)
downloadopensim-SC_OLD-07b435b2b9289ca3bb3046aeeab996f7810f7bcd.zip
opensim-SC_OLD-07b435b2b9289ca3bb3046aeeab996f7810f7bcd.tar.gz
opensim-SC_OLD-07b435b2b9289ca3bb3046aeeab996f7810f7bcd.tar.bz2
opensim-SC_OLD-07b435b2b9289ca3bb3046aeeab996f7810f7bcd.tar.xz
From: Alan Webb <alan_webb@us.ibm.com>
Cleanup tabs and spacing.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs4
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");