fix: cross-platform serialization errors

This commit is contained in:
Swann Martinez 2022-07-07 14:29:32 +02:00
parent 5311e55208
commit c5f1bf1176

View File

@ -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']