diff options
author | teravus | 2013-02-05 18:46:02 -0500 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-08 21:31:51 +0000 |
commit | 78debc981f90f070675da85b025c092434db8b28 (patch) | |
tree | ca65e4e4d6875a37b512b97b977f30e8feaaecb9 | |
parent | Try to fix uploaded mesh rotations - code from Avination code base. (diff) | |
download | opensim-SC-78debc981f90f070675da85b025c092434db8b28.zip opensim-SC-78debc981f90f070675da85b025c092434db8b28.tar.gz opensim-SC-78debc981f90f070675da85b025c092434db8b28.tar.bz2 opensim-SC-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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 2 |
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(); |