aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorteravus2013-02-05 18:46:02 -0500
committerJustin Clark-Casey (justincc)2013-02-08 21:31:51 +0000
commit78debc981f90f070675da85b025c092434db8b28 (patch)
treeca65e4e4d6875a37b512b97b977f30e8feaaecb9
parentTry to fix uploaded mesh rotations - code from Avination code base. (diff)
downloadopensim-SC_OLD-78debc981f90f070675da85b025c092434db8b28.zip
opensim-SC_OLD-78debc981f90f070675da85b025c092434db8b28.tar.gz
opensim-SC_OLD-78debc981f90f070675da85b025c092434db8b28.tar.bz2
opensim-SC_OLD-78debc981f90f070675da85b025c092434db8b28.tar.xz
* the root prim was being given an OffsetPosition in addition to setting the position when creating the root prim. The offset position caused the positioning code to re-move the root prim when you selected it and released it.
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
index 6ebe660..568e216 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
@@ -617,7 +617,7 @@ namespace OpenSim.Region.ClientStack.Linden
617 = new SceneObjectPart(owner_id, pbs, position, Quaternion.Identity, Vector3.Zero); 617 = new SceneObjectPart(owner_id, pbs, position, Quaternion.Identity, Vector3.Zero);
618 618
619 prim.Scale = scale; 619 prim.Scale = scale;
620 prim.OffsetPosition = position; 620 //prim.OffsetPosition = position;
621 rotations.Add(rotation); 621 rotations.Add(rotation);
622 positions.Add(position); 622 positions.Add(position);
623 prim.UUID = UUID.Random(); 623 prim.UUID = UUID.Random();