aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2007-07-31 19:14:17 +0000
committerAdam Frisby2007-07-31 19:14:17 +0000
commit899ab4cd326ef6967cc83d68aadb4f288da5487b (patch)
tree698d423dd49efaaf14c13bfe7d50ad854a5a1935 /OpenSim/Region
parentclear userAgent state on client shutdown, which fixes the issue (diff)
downloadopensim-SC_OLD-899ab4cd326ef6967cc83d68aadb4f288da5487b.zip
opensim-SC_OLD-899ab4cd326ef6967cc83d68aadb4f288da5487b.tar.gz
opensim-SC_OLD-899ab4cd326ef6967cc83d68aadb4f288da5487b.tar.bz2
opensim-SC_OLD-899ab4cd326ef6967cc83d68aadb4f288da5487b.tar.xz
* Fix for issue#246/251 - Rescaling primitives has offset problems. (Thanks DharmaVoyager!)
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
index 27265cf..6b94ec1 100644
--- a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
+++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs
@@ -151,6 +151,11 @@ namespace OpenSim.Region.ClientStack
151 LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12); 151 LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12);
152 //Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z); 152 //Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z);
153 OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); 153 OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this);
154
155 // Change the position based on scale (for bug number 246)
156 libsecondlife.LLVector3 pos = new LLVector3(multipleupdate.ObjectData[i].Data, 0);
157 // System.Console.WriteLine("new movement position is " + pos.X + " , " + pos.Y + " , " + pos.Z);
158 OnUpdatePrimSinglePosition(multipleupdate.ObjectData[i].ObjectLocalID, pos, this);
154 } 159 }
155 } 160 }
156 else if (multipleupdate.ObjectData[i].Type == 29)//group scale from mouse 161 else if (multipleupdate.ObjectData[i].Type == 29)//group scale from mouse