diff options
author | Justin Clarke Casey | 2009-02-03 17:50:25 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-03 17:50:25 +0000 |
commit | a9e76ce8470062f7e9a1de3a314fd37e675e25a9 (patch) | |
tree | ee5cd26fe3f8fea8249b09c54edd1f1400b1c963 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | * Fixes mantis #3070 (diff) | |
download | opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.zip opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.gz opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.bz2 opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.xz |
* minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone()
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 0f36e82..256d6f8 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1380,7 +1380,6 @@ if (m_shape != null) { | |||
1380 | if (!userExposed) | 1380 | if (!userExposed) |
1381 | dupe.PhysActor = null; | 1381 | dupe.PhysActor = null; |
1382 | 1382 | ||
1383 | |||
1384 | dupe._ownerID = AgentID; | 1383 | dupe._ownerID = AgentID; |
1385 | dupe._groupID = GroupID; | 1384 | dupe._groupID = GroupID; |
1386 | dupe.GroupPosition = GroupPosition; | 1385 | dupe.GroupPosition = GroupPosition; |
@@ -1428,6 +1427,7 @@ if (m_shape != null) { | |||
1428 | bool UsePhysics = ((dupe.ObjectFlags & (uint)PrimFlags.Physics) != 0); | 1427 | bool UsePhysics = ((dupe.ObjectFlags & (uint)PrimFlags.Physics) != 0); |
1429 | dupe.DoPhysicsPropertyUpdate(UsePhysics, true); | 1428 | dupe.DoPhysicsPropertyUpdate(UsePhysics, true); |
1430 | } | 1429 | } |
1430 | |||
1431 | return dupe; | 1431 | return dupe; |
1432 | } | 1432 | } |
1433 | 1433 | ||