forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
@deprecated('Set Object Material Slot')
|
||||
class SetMaterialNode(LnxLogicTreeNode):
|
||||
"""Sets the material of the given object."""
|
||||
bl_idname = 'LNSetMaterialNode'
|
||||
bl_label = 'Set Object Material'
|
||||
bl_description = "Please use the \"Set Object Material Slot\" node instead"
|
||||
lnx_category = 'Material'
|
||||
lnx_version = 2
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Object')
|
||||
self.add_input('LnxDynamicSocket', 'Material')
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user