* 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
This commit is contained in:
Teravus Ovares
2007-12-30 06:18:17 +00:00
parent 14368d9a73
commit 32438ab1b9
12 changed files with 157 additions and 167 deletions

View File

@@ -148,8 +148,7 @@ namespace OpenSim.Framework
public void ViewerEffectHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock)
{
ViewerEffectPacket packet = (ViewerEffectPacket) PacketPool.Instance.GetPacket(PacketType.ViewerEffect);
// TODO: don't create new blocks if recycling an old packet
ViewerEffectPacket packet = new ViewerEffectPacket();
packet.Effect = effectBlock;
// Wasteful, I know