Update Files
This commit is contained in:
19
leenkx/blender/lnx/logicnode/deprecated/LN_play_action.py
Normal file
19
leenkx/blender/lnx/logicnode/deprecated/LN_play_action.py
Normal file
@ -0,0 +1,19 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
@deprecated('Play Action From')
|
||||
class PlayActionNode(LnxLogicTreeNode):
|
||||
"""Plays the given action."""
|
||||
bl_idname = 'LNPlayActionNode'
|
||||
bl_label = 'Play Action'
|
||||
bl_description = "Please use the \"Play Action From\" 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_input('LnxNodeSocketAnimAction', 'Action')
|
||||
self.add_input('LnxFloatSocket', 'Blend', default_value=0.2)
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
self.add_output('LnxNodeSocketAction', 'Done')
|
Reference in New Issue
Block a user