17 lines
525 B
Python
17 lines
525 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
|
||
|
@deprecated('Set Trait Paused')
|
||
|
class ResumeTraitNode(LnxLogicTreeNode):
|
||
|
"""Resumes the given trait."""
|
||
|
bl_idname = 'LNResumeTraitNode'
|
||
|
bl_label = 'Resume Trait'
|
||
|
bl_description = "Please use the \"Set Trait Paused\" node instead"
|
||
|
lnx_category = 'Trait'
|
||
|
lnx_version = 2
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxDynamicSocket', 'Trait')
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|