aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJeff Ames2009-03-14 22:55:17 +0000
committerJeff Ames2009-03-14 22:55:17 +0000
commitfec8aef03a3f924c4a85fbea024fefae5400c8b7 (patch)
tree80e2c9e49d0cf31be4f8b678ecc118fec3e72857 /OpenSim/Region/ClientStack
parentThank you, mcortez, for a patch that fixes a number of long standing (diff)
downloadopensim-SC_OLD-fec8aef03a3f924c4a85fbea024fefae5400c8b7.zip
opensim-SC_OLD-fec8aef03a3f924c4a85fbea024fefae5400c8b7.tar.gz
opensim-SC_OLD-fec8aef03a3f924c4a85fbea024fefae5400c8b7.tar.bz2
opensim-SC_OLD-fec8aef03a3f924c4a85fbea024fefae5400c8b7.tar.xz
Thanks rtomita for a patch to add handlers for prim scale updates from libomv-based clients. (#3291)
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 10e5c5a..ace09f0 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4066,6 +4066,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4066 handlerUpdatePrimSingleRotation(localId, rot2, this); 4066 handlerUpdatePrimSingleRotation(localId, rot2, this);
4067 } 4067 }
4068 break; 4068 break;
4069 case 4:
4070 case 20:
4071 Vector3 scale4 = new Vector3(block.Data, 0);
4072
4073 handlerUpdatePrimScale = OnUpdatePrimScale;
4074 if (handlerUpdatePrimScale != null)
4075 {
4076// m_log.Debug("new scale is " + scale4.X + " , " + scale4.Y + " , " + scale4.Z);
4077 handlerUpdatePrimScale(localId, scale4, this);
4078 }
4079 break;
4069 case 5: 4080 case 5:
4070 4081
4071 Vector3 scale1 = new Vector3(block.Data, 12); 4082 Vector3 scale1 = new Vector3(block.Data, 12);
@@ -4117,6 +4128,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4117 handlerUpdatePrimGroupRotation(localId, pos3, rot4, this); 4128 handlerUpdatePrimGroupRotation(localId, pos3, rot4, this);
4118 } 4129 }
4119 break; 4130 break;
4131 case 12:
4132 case 28:
4133 Vector3 scale7 = new Vector3(block.Data, 0);
4134
4135 handlerUpdatePrimGroupScale = OnUpdatePrimGroupScale;
4136 if (handlerUpdatePrimGroupScale != null)
4137 {
4138// m_log.Debug("new scale is " + scale7.X + " , " + scale7.Y + " , " + scale7.Z);
4139 handlerUpdatePrimGroupScale(localId, scale7, this);
4140 }
4141 break;
4120 case 13: 4142 case 13:
4121 Vector3 scale2 = new Vector3(block.Data, 12); 4143 Vector3 scale2 = new Vector3(block.Data, 12);
4122 Vector3 pos4 = new Vector3(block.Data, 0); 4144 Vector3 pos4 = new Vector3(block.Data, 0);
@@ -4169,6 +4191,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4169 } 4191 }
4170 } 4192 }
4171 break; 4193 break;
4194 default:
4195 m_log.Debug("[CLIENT] MultipleObjUpdate recieved an unknown packet type: " + (block.Type));
4196 break;
4172 } 4197 }
4173 } 4198 }
4174 } 4199 }