fix: blender 3.1 numpy loading compatibility

This commit is contained in:
Swann Martinez 2022-03-11 18:38:09 +01:00
parent c228b6ad7f
commit 8190846b59

View File

@ -26,7 +26,8 @@ import numpy as np
BPY_TO_NUMPY_TYPES = {
'FLOAT': np.float32,
'INT': np.int32,
'BOOL': np.bool}
'BOOL': np.bool,
'BOOLEAN': np.bool}
PRIMITIVE_TYPES = ['FLOAT', 'INT', 'BOOLEAN']