From 5146661ed1cbae70bcec9d957d82c1d9cc412220 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 29 Jul 2007 12:41:30 +0000 Subject: [PATCH] * Experimental fix for random walking of resized prims. --- OpenSim/Region/Environment/Scenes/Primitive.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs index 5f5113dd32..7a8704414a 100644 --- a/OpenSim/Region/Environment/Scenes/Primitive.cs +++ b/OpenSim/Region/Environment/Scenes/Primitive.cs @@ -427,6 +427,11 @@ namespace OpenSim.Region.Environment.Scenes offset.X /= 2; offset.Y /= 2; offset.Z /= 2; + + //DODGY HACK TEST + offset = new LLVector3(); + //DODGY HACK TEST + if (m_isRootPrim) { m_Parent.Pos += offset;