96aa0ee890
This allows to listen for socket updates for the live patch system
18 lines
572 B
Python
18 lines
572 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
|
|
@deprecated('Set Trait Paused')
|
|
class ResumeTraitNode(ArmLogicTreeNode):
|
|
"""Resumes the given trait."""
|
|
bl_idname = 'LNResumeTraitNode'
|
|
bl_label = 'Resume Trait'
|
|
bl_description = "Please use the \"Set Trait Paused\" node instead"
|
|
arm_category = 'Trait'
|
|
arm_version = 2
|
|
|
|
def init(self, context):
|
|
super(ResumeTraitNode, self).init(context)
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('ArmDynamicSocket', 'Trait')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|