diff options
author | Teravus Ovares | 2007-12-30 06:18:17 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-30 06:18:17 +0000 |
commit | 32438ab1b9a5c270e0a4a2d708f8c7730dc7e617 (patch) | |
tree | 21595ce38d7a9474c1b3f3eb71c8d50a2763039a /OpenSim/Framework/ClientManager.cs | |
parent | * Applied Melanie's same instance IM fix. This will make IMs work within the... (diff) | |
download | opensim-SC-32438ab1b9a5c270e0a4a2d708f8c7730dc7e617.zip opensim-SC-32438ab1b9a5c270e0a4a2d708f8c7730dc7e617.tar.gz opensim-SC-32438ab1b9a5c270e0a4a2d708f8c7730dc7e617.tar.bz2 opensim-SC-32438ab1b9a5c270e0a4a2d708f8c7730dc7e617.tar.xz |
* This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
* This update also fixes scripting and some weird physics reactions
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ClientManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index 181000c..f464015 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs | |||
@@ -148,8 +148,7 @@ namespace OpenSim.Framework | |||
148 | 148 | ||
149 | public void ViewerEffectHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock) | 149 | public void ViewerEffectHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock) |
150 | { | 150 | { |
151 | ViewerEffectPacket packet = (ViewerEffectPacket) PacketPool.Instance.GetPacket(PacketType.ViewerEffect); | 151 | ViewerEffectPacket packet = new ViewerEffectPacket(); |
152 | // TODO: don't create new blocks if recycling an old packet | ||
153 | packet.Effect = effectBlock; | 152 | packet.Effect = effectBlock; |
154 | 153 | ||
155 | // Wasteful, I know | 154 | // Wasteful, I know |