--HG-- branch : trunk
With thanks to Lynx3d and click, and Aokromes and ritchy for testing. --HG-- branch : trunk