aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs6
3 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs
index cc088a0..03bbaf3 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Inventory/InventoryModule.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory
54 54
55 public void Initialise(Scene scene, IConfigSource config) 55 public void Initialise(Scene scene, IConfigSource config)
56 { 56 {
57 if(!m_Scenelist.Contains(scene)) 57 if (!m_Scenelist.Contains(scene))
58 { 58 {
59 m_Scenelist.Add(scene); 59 m_Scenelist.Add(scene);
60 60
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index bdfe664..d534ffc 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -148,7 +148,7 @@ namespace OpenSim.Region.Environment.Scenes
148 public void DeselectPrim(uint primLocalID, IClientAPI remoteClient) 148 public void DeselectPrim(uint primLocalID, IClientAPI remoteClient)
149 { 149 {
150 SceneObjectPart part = GetSceneObjectPart(primLocalID); 150 SceneObjectPart part = GetSceneObjectPart(primLocalID);
151 if(part == null) 151 if (part == null)
152 return; 152 return;
153 153
154 bool isAttachment = false; 154 bool isAttachment = false;
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Scenes
159 // 159 //
160 if (part.ParentGroup == null) 160 if (part.ParentGroup == null)
161 { 161 {
162 if(part.IsAttachment) 162 if (part.IsAttachment)
163 isAttachment = true; 163 isAttachment = true;
164 else 164 else
165 part.ScheduleFullUpdate(); 165 part.ScheduleFullUpdate();
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index d6aef95..1432912 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1177,7 +1177,7 @@ namespace OpenSim.Region.Environment.Scenes
1177 1177
1178 public void ClearUndoState() 1178 public void ClearUndoState()
1179 { 1179 {
1180 lock(m_undo) 1180 lock (m_undo)
1181 { 1181 {
1182 m_undo.Clear(); 1182 m_undo.Clear();
1183 } 1183 }
@@ -2449,7 +2449,7 @@ namespace OpenSim.Region.Environment.Scenes
2449 { 2449 {
2450 if (m_parentGroup != null) 2450 if (m_parentGroup != null)
2451 { 2451 {
2452 lock(m_undo) 2452 lock (m_undo)
2453 { 2453 {
2454 if (m_undo.Count > 0) 2454 if (m_undo.Count > 0)
2455 { 2455 {
@@ -2958,7 +2958,7 @@ namespace OpenSim.Region.Environment.Scenes
2958 2958
2959 public void Undo() 2959 public void Undo()
2960 { 2960 {
2961 lock(m_undo) 2961 lock (m_undo)
2962 { 2962 {
2963 if (m_undo.Count > 0) 2963 if (m_undo.Count > 0)
2964 { 2964 {