Partial fix for corner-handle prim resize bug. Doesn't work correctly with linked-prims yet, but single prims are good (Thanks Dharma!)

afrisby
Brian McBee 2007-08-29 01:14:03 +00:00
parent 2ccc8e1e98
commit 34b836307d
1 changed files with 4 additions and 2 deletions

View File

@ -162,9 +162,11 @@ namespace OpenSim.Region.ClientStack
{ {
if (OnUpdatePrimScale != null) if (OnUpdatePrimScale != null)
{ {
libsecondlife.LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 0); libsecondlife.LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12);
// Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z ); // Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z );
// OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this);
libsecondlife.LLVector3 pos = new LLVector3(multipleupdate.ObjectData[i].Data, 0);
OnUpdatePrimSinglePosition(multipleupdate.ObjectData[i].ObjectLocalID, pos, this);
} }
} }
else if (multipleupdate.ObjectData[i].Type == 5)//single prim scale from object tab else if (multipleupdate.ObjectData[i].Type == 5)//single prim scale from object tab