19 lines
629 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
@deprecated('Set Object Scale')
class ScaleObjectNode(LnxLogicTreeNode):
"""Deprecated. 'Use Set Object Scale' instead."""
bl_idname = 'LNScaleObjectNode'
bl_label = 'Scale Object'
bl_description = "Please use the \"Set Object Scale\" node instead"
lnx_category = 'Transform'
lnx_section = 'scale'
lnx_version = 2
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
self.add_input('LnxVectorSocket', 'Scale')
self.add_output('LnxNodeSocketAction', 'Out')