14 lines
378 B
Python
14 lines
378 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class GetMeshNode(LnxLogicTreeNode):
|
||
|
"""Returns the mesh of the given object."""
|
||
|
bl_idname = 'LNGetMeshNode'
|
||
|
bl_label = 'Get Object Mesh'
|
||
|
lnx_section = 'props'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_input('LnxNodeSocketObject', 'Object')
|
||
|
|
||
|
self.add_output('LnxDynamicSocket', 'Mesh')
|