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 = { BPY_TO_NUMPY_TYPES = {
'FLOAT': np.float, 'FLOAT': float,
'INT': np.int, 'INT': int,
'BOOL': np.bool, 'BOOL': bool,
'BOOLEAN': np.bool} 'BOOLEAN': bool}
PRIMITIVE_TYPES = ['FLOAT', 'INT', 'BOOLEAN'] PRIMITIVE_TYPES = ['FLOAT', 'INT', 'BOOLEAN']