diff options
author | Brian McBee | 2007-08-29 01:14:03 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-29 01:14:03 +0000 |
commit | 34b836307d5512acfa1ff3c405b4546b7de6b7ea (patch) | |
tree | 82b18bccabb7a24c2427819c17eb19a5c3b5812a /OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |
parent | Fixed the problem of uploaded animations not showing up in inventory [Mantis ... (diff) | |
download | opensim-SC_OLD-34b836307d5512acfa1ff3c405b4546b7de6b7ea.zip opensim-SC_OLD-34b836307d5512acfa1ff3c405b4546b7de6b7ea.tar.gz opensim-SC_OLD-34b836307d5512acfa1ff3c405b4546b7de6b7ea.tar.bz2 opensim-SC_OLD-34b836307d5512acfa1ff3c405b4546b7de6b7ea.tar.xz |
Partial fix for corner-handle prim resize bug. Doesn't work correctly with linked-prims yet, but single prims are good (Thanks Dharma!)
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs index 99b84ff..082eec2 100644 --- a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs +++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |||
@@ -162,9 +162,11 @@ namespace OpenSim.Region.ClientStack | |||
162 | { | 162 | { |
163 | if (OnUpdatePrimScale != null) | 163 | if (OnUpdatePrimScale != null) |
164 | { | 164 | { |
165 | libsecondlife.LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 0); | 165 | libsecondlife.LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12); |
166 | // Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z ); | 166 | // Console.WriteLine("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z ); |
167 | // OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); | 167 | OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); |
168 | libsecondlife.LLVector3 pos = new LLVector3(multipleupdate.ObjectData[i].Data, 0); | ||
169 | OnUpdatePrimSinglePosition(multipleupdate.ObjectData[i].ObjectLocalID, pos, this); | ||
168 | } | 170 | } |
169 | } | 171 | } |
170 | else if (multipleupdate.ObjectData[i].Type == 5)//single prim scale from object tab | 172 | else if (multipleupdate.ObjectData[i].Type == 5)//single prim scale from object tab |