Update Files
This commit is contained in:
21
leenkx/blender/lnx/logicnode/custom/LN_run_javascript.py
Normal file
21
leenkx/blender/lnx/logicnode/custom/LN_run_javascript.py
Normal file
@ -0,0 +1,21 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class RunJavascriptNode(LnxLogicTreeNode):
|
||||
"""Run Javascript"""
|
||||
bl_idname = 'LNRunJavascriptNode'
|
||||
bl_label = 'Run Javascript'
|
||||
bl_description = 'Run Javascript '
|
||||
lnx_category = 'HTML'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxStringSocket', 'Javascript')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
|
||||
|
||||
def register():
|
||||
add_category('HTML', icon='SEQ_STRIP_META')
|
||||
RunJavascriptNode.on_register()
|
Reference in New Issue
Block a user