* Primitives no longer walk around while being rescaled.
parent
5146661ed1
commit
8b3981f1fd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue