fix: put back numpy types

This commit is contained in:
Swann Martinez 2022-07-31 14:57:32 +02:00
parent 689a565c75
commit 4128a47b88
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@
bl_info = {
"name": "Multi-User",
"author": "Swann Martinez",
"version": (0, 5, 6),
"version": (0, 5, 7),
"description": "Enable real-time collaborative workflow inside blender",
"blender": (2, 82, 0),
"location": "3D View > Sidebar > Multi-User tab",

View File

@ -24,10 +24,10 @@ import numpy as np
BPY_TO_NUMPY_TYPES = {
'FLOAT': float,
'INT': int,
'BOOL': bool,
'BOOLEAN': bool}
'FLOAT': np.float32,
'INT': np.int32,
'BOOL': np.bool,
'BOOLEAN': np.bool}
PRIMITIVE_TYPES = ['FLOAT', 'INT', 'BOOLEAN']