17 lines
535 B
Python
17 lines
535 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
|
||
|
@deprecated('Set Action Paused')
|
||
|
class PauseActionNode(LnxLogicTreeNode):
|
||
|
"""Pauses the given action."""
|
||
|
bl_idname = 'LNPauseActionNode'
|
||
|
bl_label = 'Pause Action'
|
||
|
bl_description = "Please use the \"Set Action Paused\" node instead"
|
||
|
lnx_category = 'Animation'
|
||
|
lnx_version = 2
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||
|
self.add_input('LnxNodeSocketObject', 'Object')
|
||
|
self.add_output('LnxNodeSocketAction', 'Out')
|