diff options
author | Justin Clarke Casey | 2008-11-07 21:07:14 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-07 21:07:14 +0000 |
commit | 54e10e5b61aa543102bcc3a7415877c44aabb5df (patch) | |
tree | d16149d29a5ef4921e9256f6128cbb9cc17aadc0 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | * refactor: stop unnecessary passing of scene to sog copy constructor (diff) | |
download | opensim-SC-54e10e5b61aa543102bcc3a7415877c44aabb5df.zip opensim-SC-54e10e5b61aa543102bcc3a7415877c44aabb5df.tar.gz opensim-SC-54e10e5b61aa543102bcc3a7415877c44aabb5df.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 |
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. |