LNXSDK/leenkx/blender/lnx/logicnode/trait/LN_remove_trait.py

14 lines
394 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class RemoveTraitNode(LnxLogicTreeNode):
"""Removes the given trait."""
bl_idname = 'LNRemoveTraitNode'
bl_label = 'Remove Trait'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxDynamicSocket', 'Trait')
self.add_output('LnxNodeSocketAction', 'Out')