From 3f950d37df94c00f61857a886ffe33f6dc1c22e2 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 2 Apr 2017 20:11:52 -0600 Subject: [PATCH] distributed: Fix msgpack encoder's float endianness --- direct/src/distributed/AstronInternalRepository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/distributed/AstronInternalRepository.py b/direct/src/distributed/AstronInternalRepository.py index 51d0ff6e2d..ba06142a9f 100644 --- a/direct/src/distributed/AstronInternalRepository.py +++ b/direct/src/distributed/AstronInternalRepository.py @@ -81,7 +81,7 @@ def msgpack_encode(dg, element): # Python does not distinguish between floats and doubles, so we send # everything as a double in MsgPack: dg.addUint8(0xcb) - dg.addFloat64(element) + dg.addBeFloat64(element) else: raise TypeError('Encountered non-MsgPack-packable value: %r' % element)