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