main #138

Merged
LeenkxTeam merged 5 commits from Onek8/LNXSDK:main into main 2026-09-09 05:42:52 +00:00
2 changed files with 8 additions and 3 deletions
Showing only changes of commit 40bca62f96 - Show all commits

View File

@ -10,7 +10,7 @@ class GetTransformNode extends LogicNode {
override function get(from: Int): Dynamic { override function get(from: Int): Dynamic {
var object: Object = inputs[0].get(); var object: Object = inputs[0].get();
var relative: Bool = inputs[1].get(); var relative: Bool = inputs.length > 1 && inputs[1] != null ? inputs[1].get() : false;
if (object == null) return null; if (object == null) return null;

View File

@ -18,4 +18,9 @@ class GetTransformNode(LnxLogicTreeNode):
if self.lnx_version not in (0, 1): if self.lnx_version not in (0, 1):
raise LookupError() raise LookupError()
return NodeReplacement.Identity(self) return NodeReplacement(
'LNGetTransformNode', self.lnx_version, 'LNGetTransformNode', 2,
in_socket_mapping={0: 0},
out_socket_mapping={0: 0},
input_defaults={1: False},
)