* Primitives no longer walk around while being rescaled.

afrisby
Adam Frisby 2007-07-29 12:46:41 +00:00
parent 5146661ed1
commit 8b3981f1fd
1 changed files with 0 additions and 19 deletions

View File

@ -423,25 +423,6 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="scale"></param>
public void ResizeGoup(LLVector3 scale)
{
LLVector3 offset = (scale - m_Shape.Scale);
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;
}
else
{
m_pos += offset;
}
AddOffsetToChildren(new LLVector3(-offset.X, -offset.Y, -offset.Z));
m_Shape.Scale = scale;
ScheduleFullUpdate();