aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorAdam Frisby2007-07-29 12:41:30 +0000
committerAdam Frisby2007-07-29 12:41:30 +0000
commit5146661ed1cbae70bcec9d957d82c1d9cc412220 (patch)
treefc44c8597e08dfda3defda1af1ea22cba99a4d77 /OpenSim/Region/Environment/Scenes
parent* Fixed a potential div by zero with terrain commands. (diff)
downloadopensim-SC-5146661ed1cbae70bcec9d957d82c1d9cc412220.zip
opensim-SC-5146661ed1cbae70bcec9d957d82c1d9cc412220.tar.gz
opensim-SC-5146661ed1cbae70bcec9d957d82c1d9cc412220.tar.bz2
opensim-SC-5146661ed1cbae70bcec9d957d82c1d9cc412220.tar.xz
* Experimental fix for random walking of resized prims.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Primitive.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs
index 5f5113d..7a87044 100644
--- a/OpenSim/Region/Environment/Scenes/Primitive.cs
+++ b/OpenSim/Region/Environment/Scenes/Primitive.cs
@@ -427,6 +427,11 @@ namespace OpenSim.Region.Environment.Scenes
427 offset.X /= 2; 427 offset.X /= 2;
428 offset.Y /= 2; 428 offset.Y /= 2;
429 offset.Z /= 2; 429 offset.Z /= 2;
430
431 //DODGY HACK TEST
432 offset = new LLVector3();
433 //DODGY HACK TEST
434
430 if (m_isRootPrim) 435 if (m_isRootPrim)
431 { 436 {
432 m_Parent.Pos += offset; 437 m_Parent.Pos += offset;