fix: put back numpy types
This commit is contained in:
parent
689a565c75
commit
4128a47b88
@ -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",
|
||||||
|
@ -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']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user