armory/blender/arm/logicnode/animation/LN_resume_action.py

18 lines
525 B
Python
Raw Normal View History

2017-11-08 23:02:40 +01:00
import bpy
from bpy.props import *
from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class ResumeActionNode(ArmLogicTreeNode):
2017-11-08 23:02:40 +01:00
'''Resume action node'''
bl_idname = 'LNResumeActionNode'
bl_label = 'Resume Action'
2020-08-07 19:00:46 +02:00
bl_icon = 'NONE'
2017-11-08 23:02:40 +01:00
def init(self, context):
self.inputs.new('ArmNodeSocketAction', 'In')
self.inputs.new('ArmNodeSocketObject', 'Object')
self.outputs.new('ArmNodeSocketAction', 'Out')
add_node(ResumeActionNode, category=MODULE_AS_CATEGORY)