diff --git a/leenkx/blender/lnx/logicnode/lnx_sockets.py b/leenkx/blender/lnx/logicnode/lnx_sockets.py index 85fc0ab..585a3b0 100644 --- a/leenkx/blender/lnx/logicnode/lnx_sockets.py +++ b/leenkx/blender/lnx/logicnode/lnx_sockets.py @@ -87,7 +87,7 @@ class LnxAnimActionSocket(LnxCustomSocket): default_value_get: PointerProperty(name='Action', type=bpy.types.Action) # legacy version of the line after this one default_value_raw: PointerProperty(name='Action', type=bpy.types.Action, update=_on_update_socket) - def __init__(self): + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) if self.default_value_get is not None: self.default_value_raw = self.default_value_get @@ -496,7 +496,7 @@ class LnxObjectSocket(LnxCustomSocket): default_value_get: PointerProperty(name='Object', type=bpy.types.Object) # legacy version of the line after this one default_value_raw: PointerProperty(name='Object', type=bpy.types.Object, update=_on_update_socket) - def __init__(self): + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) if self.default_value_get is not None: self.default_value_raw = self.default_value_get