16 lines
468 B
Python
16 lines
468 B
Python
import bpy
|
|
from bpy.props import *
|
|
from bpy.types import Node, NodeSocket
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
class AnimActionNode(ArmLogicTreeNode):
|
|
'''Anim action node'''
|
|
bl_idname = 'LNAnimActionNode'
|
|
bl_label = 'Action'
|
|
bl_icon = 'NONE'
|
|
|
|
def init(self, context):
|
|
self.inputs.new('ArmNodeSocketAnimAction', 'Action')
|
|
self.outputs.new('ArmNodeSocketAnimAction', 'Action')
|
|
|
|
add_node(AnimActionNode, category=MODULE_AS_CATEGORY)
|