From 4c0356e72410cb9f9c6f40d751d789d5181b93dc Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Thu, 17 Feb 2022 10:43:47 +0100 Subject: [PATCH] fix: geometry node boolean parameter loading related to #250 --- multi_user/bl_types/bl_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi_user/bl_types/bl_object.py b/multi_user/bl_types/bl_object.py index ebc85e1..e8b64e6 100644 --- a/multi_user/bl_types/bl_object.py +++ b/multi_user/bl_types/bl_object.py @@ -172,7 +172,7 @@ def load_modifier_geometry_node_props(dumped_modifier: dict, target_modifier: bp for input_index, inpt in enumerate(get_node_group_properties_identifiers(target_modifier.node_group)): dumped_value, dumped_type = dumped_modifier['props'][input_index] input_value = target_modifier[inpt[0]] - if dumped_type in ['INT', 'VALUE', 'STR']: + if dumped_type in ['INT', 'VALUE', 'STR', 'BOOL']: logging.info(f"{inpt[0]}/{dumped_value}") target_modifier[inpt[0]] = dumped_value elif dumped_type in ['RGBA', 'VECTOR']: