aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-07 21:07:14 +0000
committerJustin Clarke Casey2008-11-07 21:07:14 +0000
commit54e10e5b61aa543102bcc3a7415877c44aabb5df (patch)
treed16149d29a5ef4921e9256f6128cbb9cc17aadc0 /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parent* refactor: stop unnecessary passing of scene to sog copy constructor (diff)
downloadopensim-SC_OLD-54e10e5b61aa543102bcc3a7415877c44aabb5df.zip
opensim-SC_OLD-54e10e5b61aa543102bcc3a7415877c44aabb5df.tar.gz
opensim-SC_OLD-54e10e5b61aa543102bcc3a7415877c44aabb5df.tar.bz2
opensim-SC_OLD-54e10e5b61aa543102bcc3a7415877c44aabb5df.tar.xz
* Stop requiring local ids in the SOG constructors.
* These are assigned when the object is attached to the scene
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index d37006a..beca44c 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1118,9 +1118,8 @@ namespace OpenSim.Region.Environment.Scenes
1118 m_sitAtAutoTarget = false; 1118 m_sitAtAutoTarget = false;
1119 PrimitiveBaseShape proxy = PrimitiveBaseShape.Default; 1119 PrimitiveBaseShape proxy = PrimitiveBaseShape.Default;
1120 //proxy.PCode = (byte)PCode.ParticleSystem; 1120 //proxy.PCode = (byte)PCode.ParticleSystem;
1121 uint nextUUID = m_scene.NextLocalId;
1122 1121
1123 proxyObjectGroup = new SceneObjectGroup(UUID, nextUUID, Pos, Rotation, proxy); 1122 proxyObjectGroup = new SceneObjectGroup(UUID, Pos, Rotation, proxy);
1124 proxyObjectGroup.AttachToScene(m_scene); 1123 proxyObjectGroup.AttachToScene(m_scene);
1125 1124
1126 // Commented out this code since it could never have executed, but might still be informative. 1125 // Commented out this code since it could never have executed, but might still be informative.