17 lines
540 B
Python
17 lines
540 B
Python
import bpy
|
|
from bpy.props import *
|
|
from bpy.types import Node, NodeSocket
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
class ResumeTilesheetNode(ArmLogicTreeNode):
|
|
'''Resume tilesheet node'''
|
|
bl_idname = 'LNResumeTilesheetNode'
|
|
bl_label = 'Resume Tilesheet'
|
|
bl_icon = 'NONE'
|
|
|
|
def init(self, context):
|
|
self.inputs.new('ArmNodeSocketAction', 'In')
|
|
self.inputs.new('ArmNodeSocketObject', 'Object')
|
|
self.outputs.new('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(ResumeTilesheetNode, category=MODULE_AS_CATEGORY)
|