diff options
Diffstat (limited to 'src/shared/LV2Object.cpp')
-rw-r--r-- | src/shared/LV2Object.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/LV2Object.cpp b/src/shared/LV2Object.cpp index 3442c004..54c81429 100644 --- a/src/shared/LV2Object.cpp +++ b/src/shared/LV2Object.cpp @@ -39,6 +39,9 @@ to_atom(World* world, LV2_Object* object, Raul::Atom& atom) if (object->type == map->object_class_string) { atom = Raul::Atom((char*)(object + 1)); return true; + } else if (object->type == map->object_class_bool) { + atom = Raul::Atom((bool)(int32_t*)(object + 1)); + return true; } else if (object->type == map->object_class_int32) { atom = Raul::Atom((int32_t*)(object + 1)); return true; |