From c31b2a18ad6e03018d7f59eed4c2bab3d5ce1f3e Mon Sep 17 00:00:00 2001 From: Onek8 Date: Thu, 14 Aug 2025 19:03:28 +0000 Subject: [PATCH] Update leenkx/blender/lnx/logicnode/draw/LN_draw_string.py --- leenkx/blender/lnx/logicnode/draw/LN_draw_string.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/leenkx/blender/lnx/logicnode/draw/LN_draw_string.py b/leenkx/blender/lnx/logicnode/draw/LN_draw_string.py index 5317335..2873760 100644 --- a/leenkx/blender/lnx/logicnode/draw/LN_draw_string.py +++ b/leenkx/blender/lnx/logicnode/draw/LN_draw_string.py @@ -17,15 +17,15 @@ class DrawStringNode(LnxLogicTreeNode): at the anchor point. @output Out: Activated after the string has been drawn. - @output Height: String Height. @output Width: String Width. + @output Height: String Height. @see [`kha.graphics2.Graphics.drawString()`](http://kha.tech/api/kha/graphics2/Graphics.html#drawString). """ bl_idname = 'LNDrawStringNode' bl_label = 'Draw String' lnx_section = 'draw' - lnx_version = 2 + lnx_version = 3 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'Draw') @@ -38,11 +38,11 @@ class DrawStringNode(LnxLogicTreeNode): self.add_input('LnxFloatSocket', 'Angle') self.add_output('LnxNodeSocketAction', 'Out') - self.add_output('LnxFloatSocket', 'Height') self.add_output('LnxFloatSocket', 'Width') + self.add_output('LnxFloatSocket', 'Height') def get_replacement_node(self, node_tree: bpy.types.NodeTree): - if self.lnx_version not in (0, 1): + if self.lnx_version not in (0, 1, 2): raise LookupError() return NodeReplacement.Identity(self)