Always provide at least 2 packets of a texture (if the texture is larger than 1 packet). This fixes compatibility with the newer (broken) SnowGlobe and Emerald viewer(s), but also matches the behaviour of SL.
parent
655f02b695
commit
293f775fa5
|
@ -202,6 +202,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
m_stopPacket = TexturePacketCount();
|
m_stopPacket = TexturePacketCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Give them at least two packets, to play nice with some broken viewers (SL also behaves this way)
|
||||||
|
if (m_stopPacket == 1 && Layers[0].End > FIRST_PACKET_SIZE) m_stopPacket++;
|
||||||
|
|
||||||
m_currentPacket = StartPacket;
|
m_currentPacket = StartPacket;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue