aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMW2007-12-12 17:15:37 +0000
committerMW2007-12-12 17:15:37 +0000
commit8a2a6ad7611d9079d7038508c18a376d7c168b03 (patch)
tree6881491c83cad9311fb45e21bb37e3b0e269c01e /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parent* Fixed a catch error. (diff)
downloadopensim-SC_OLD-8a2a6ad7611d9079d7038508c18a376d7c168b03.zip
opensim-SC_OLD-8a2a6ad7611d9079d7038508c18a376d7c168b03.tar.gz
opensim-SC_OLD-8a2a6ad7611d9079d7038508c18a376d7c168b03.tar.bz2
opensim-SC_OLD-8a2a6ad7611d9079d7038508c18a376d7c168b03.tar.xz
couple of small fixes.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index a039015..ca6e2fa 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -238,14 +238,14 @@ namespace OpenSim.Region.Environment.Scenes
238 public SceneObjectGroup(Scene scene, ulong regionHandle, SceneObjectPart part) 238 public SceneObjectGroup(Scene scene, ulong regionHandle, SceneObjectPart part)
239 { 239 {
240 m_scene = scene; 240 m_scene = scene;
241 m_regionHandle = regionHandle;
242
243 part.SetParent(this); 241 part.SetParent(this);
244 part.ParentID = 0; 242 part.ParentID = 0;
245 243
246 m_parts.Add(part.UUID, part); 244 m_parts.Add(part.UUID, part);
247 SetPartAsRoot(part); 245 SetPartAsRoot(part);
248 246
247 RegionHandle = regionHandle;
248
249 AttachToBackup(); 249 AttachToBackup();
250 250
251 ApplyPhysics(); 251 ApplyPhysics();