Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9

This commit is contained in:
2026-09-04 10:46:13 -07:00
parent c915312901
commit 0460b9d587
482 changed files with 27797 additions and 3226 deletions

View File

@ -27,6 +27,20 @@ class DrawStringNode(LnxLogicTreeNode):
lnx_section = 'draw'
lnx_version = 3
property1: HaxeEnumProperty(
'property1',
items = [('TextLeft', 'Hor. Align. Left', 'Hor. Align. Left'),
('TextCenter', 'Hor. Align. Center', 'Hor. Align. Center'),
('TextRight', 'Hor. Align. Right', 'Hor. Align. Right'),],
name='', default='TextLeft')
property2: HaxeEnumProperty(
'property2',
items = [('TextTop', 'Ver. Align. Top', 'Ver. Align. Top'),
('TextMiddle', 'Ver. Align. Middle', 'Ver. Align. Middle'),
('TextBottom', 'Ver. Align. Bottom', 'Ver. Align. Bottom'),],
name='', default='TextTop')
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'Draw')
self.add_input('LnxStringSocket', 'String')
@ -41,6 +55,10 @@ class DrawStringNode(LnxLogicTreeNode):
self.add_output('LnxFloatSocket', 'Width')
self.add_output('LnxFloatSocket', 'Height')
def draw_buttons(self, context, layout):
layout.prop(self, 'property1')
layout.prop(self, 'property2')
def get_replacement_node(self, node_tree: bpy.types.NodeTree):
if self.lnx_version not in (0, 1, 2):
raise LookupError()