From 5a2ec0c32836a003e7974e24dcc92b322a8b8c27 Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Thu, 10 Feb 2022 11:11:21 +0100 Subject: [PATCH] clean: logging --- multi_user/bl_types/bl_object.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/multi_user/bl_types/bl_object.py b/multi_user/bl_types/bl_object.py index e61a471..5985a4c 100644 --- a/multi_user/bl_types/bl_object.py +++ b/multi_user/bl_types/bl_object.py @@ -508,9 +508,7 @@ def load_modifiers(dumped_modifiers: list, modifiers: bpy.types.bpy_prop_collect for i in range(len(src_cust_profile['handle_type_2'])-len(dst_points)): dst_points.add(0,0) - - loaded_modifier.custom_profile.points.update() - logging.info(len(loaded_modifier.custom_profile.points)) + np_load_collection(src_cust_profile, dst_points, CURVE_POINT) @@ -520,7 +518,7 @@ def load_modifiers(dumped_modifiers: list, modifiers: bpy.types.bpy_prop_collect def load_modifiers_custom_data(dumped_modifiers: dict, modifiers: bpy.types.bpy_prop_collection): """ Load modifiers custom data not managed by the dump_anything loader - +git :param dumped_modifiers: modifiers to load :type dumped_modifiers: dict :param modifiers: target modifiers collection