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

View File

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