From 59f8dff22f7318515ccedf1923fb3de505688062 Mon Sep 17 00:00:00 2001 From: Onek8 Date: Tue, 10 Jun 2025 20:04:37 +0000 Subject: [PATCH] t3du - Resolution post process --- .../postprocess/LN_set_resolution_settings.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 leenkx/blender/lnx/logicnode/postprocess/LN_set_resolution_settings.py diff --git a/leenkx/blender/lnx/logicnode/postprocess/LN_set_resolution_settings.py b/leenkx/blender/lnx/logicnode/postprocess/LN_set_resolution_settings.py new file mode 100644 index 0000000..ca7e5a9 --- /dev/null +++ b/leenkx/blender/lnx/logicnode/postprocess/LN_set_resolution_settings.py @@ -0,0 +1,20 @@ +from lnx.logicnode.lnx_nodes import * + +class ResolutionSetNode(LnxLogicTreeNode): + """Set the resolution post-processing settings. + Filter 0: Lineal 1: Closest + """ + bl_idname = 'LNResolutionSetNode' + bl_label = 'Set Resolution Settings' + lnx_version = 1 + + def lnx_init(self, context): + self.add_input('LnxNodeSocketAction', 'In') + self.add_input('LnxIntSocket', 'Size', default_value=720) + self.add_input('LnxIntSocket', 'Filter', default_value=0) + + self.add_output('LnxNodeSocketAction', 'Out') + + def draw_buttons(self, context, layout): + layout.label(text="Type 0: Lineal") + layout.label(text="Type 1: Closest") \ No newline at end of file