diff options
author | Jeff Ames | 2008-08-17 23:07:14 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-17 23:07:14 +0000 |
commit | 531f6c01eb8e137016e4e9a20438a107cd7b4f7f (patch) | |
tree | b29e68fb095a61fa2600f1f65bf0e75592bf9c89 /OpenSim/Region/Environment/Scenes | |
parent | Change the deselect processing to prevent gratuituous full update (diff) | |
download | opensim-SC_OLD-531f6c01eb8e137016e4e9a20438a107cd7b4f7f.zip opensim-SC_OLD-531f6c01eb8e137016e4e9a20438a107cd7b4f7f.tar.gz opensim-SC_OLD-531f6c01eb8e137016e4e9a20438a107cd7b4f7f.tar.bz2 opensim-SC_OLD-531f6c01eb8e137016e4e9a20438a107cd7b4f7f.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 6 |
2 files changed, 5 insertions, 5 deletions
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 | { |