aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Primitive.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs
index 7a87044..ba10893 100644
--- a/OpenSim/Region/Environment/Scenes/Primitive.cs
+++ b/OpenSim/Region/Environment/Scenes/Primitive.cs
@@ -423,25 +423,6 @@ namespace OpenSim.Region.Environment.Scenes
423 /// <param name="scale"></param> 423 /// <param name="scale"></param>
424 public void ResizeGoup(LLVector3 scale) 424 public void ResizeGoup(LLVector3 scale)
425 { 425 {
426 LLVector3 offset = (scale - m_Shape.Scale);
427 offset.X /= 2;
428 offset.Y /= 2;
429 offset.Z /= 2;
430
431 //DODGY HACK TEST
432 offset = new LLVector3();
433 //DODGY HACK TEST
434
435 if (m_isRootPrim)
436 {
437 m_Parent.Pos += offset;
438 }
439 else
440 {
441 m_pos += offset;
442 }
443
444 AddOffsetToChildren(new LLVector3(-offset.X, -offset.Y, -offset.Z));
445 m_Shape.Scale = scale; 426 m_Shape.Scale = scale;
446 427
447 ScheduleFullUpdate(); 428 ScheduleFullUpdate();