aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2012-03-04 00:06:07 +0100
committerMelanie2012-03-04 00:06:07 +0100
commit6dc4a6dfb1af79ea116d1b5ca8dcd82307349c64 (patch)
treebe8b635a55cefd68d8c4534977432198fefb13c8 /OpenSim
parentThis still causes terrain artefacts (diff)
downloadopensim-SC_OLD-6dc4a6dfb1af79ea116d1b5ca8dcd82307349c64.zip
opensim-SC_OLD-6dc4a6dfb1af79ea116d1b5ca8dcd82307349c64.tar.gz
opensim-SC_OLD-6dc4a6dfb1af79ea116d1b5ca8dcd82307349c64.tar.bz2
opensim-SC_OLD-6dc4a6dfb1af79ea116d1b5ca8dcd82307349c64.tar.xz
Zero velocity when drag-copying
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index fefae9d..c9ea8e4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1989,6 +1989,8 @@ namespace OpenSim.Region.Framework.Scenes
1989 public void CopyRootPart(SceneObjectPart part, UUID cAgentID, UUID cGroupID, bool userExposed) 1989 public void CopyRootPart(SceneObjectPart part, UUID cAgentID, UUID cGroupID, bool userExposed)
1990 { 1990 {
1991 SetRootPart(part.Copy(m_scene.AllocateLocalId(), OwnerID, GroupID, 0, userExposed)); 1991 SetRootPart(part.Copy(m_scene.AllocateLocalId(), OwnerID, GroupID, 0, userExposed));
1992 if (userExposed)
1993 RootPart.Velocity = Vector3.Zero; // In case source is moving
1992 } 1994 }
1993 1995
1994 public void ScriptSetPhysicsStatus(bool usePhysics) 1996 public void ScriptSetPhysicsStatus(bool usePhysics)