From c5f1bf11764c97d51c6a3f20f642fed7ca8435fe Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Thu, 7 Jul 2022 14:29:32 +0200 Subject: [PATCH] fix: cross-platform serialization errors --- multi_user/bl_types/dump_anything.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multi_user/bl_types/dump_anything.py b/multi_user/bl_types/dump_anything.py index 45bd856..0e187c9 100644 --- a/multi_user/bl_types/dump_anything.py +++ b/multi_user/bl_types/dump_anything.py @@ -24,10 +24,10 @@ import numpy as np BPY_TO_NUMPY_TYPES = { - 'FLOAT': np.float, - 'INT': np.int, - 'BOOL': np.bool, - 'BOOLEAN': np.bool} + 'FLOAT': float, + 'INT': int, + 'BOOL': bool, + 'BOOLEAN': bool} PRIMITIVE_TYPES = ['FLOAT', 'INT', 'BOOLEAN']