From c8a8c944d1eebe59872894b79912cb292078e285 Mon Sep 17 00:00:00 2001 From: Tanasart Date: Tue, 16 Jul 2024 09:32:47 +0700 Subject: [PATCH] - [Line] Add data type properties. - [Line] Add support for segments data. --- scripts/node_line/node_line.gml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/node_line/node_line.gml b/scripts/node_line/node_line.gml index 2f8845ca1..fa754f3de 100644 --- a/scripts/node_line/node_line.gml +++ b/scripts/node_line/node_line.gml @@ -67,7 +67,7 @@ function Node_Line(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) cons inputs[| 26] = nodeValue("Clamp range", self, JUNCTION_CONNECT.input, VALUE_TYPE.boolean, false ); - inputs[| 27] = nodeValue("Data Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 0) + inputs[| 27] = nodeValue("Data Type", self, JUNCTION_CONNECT.input, VALUE_TYPE.integer, 1) .setDisplay(VALUE_DISPLAY.enum_scroll, [ "None", "Path", "Segments" ]); inputs[| 28] = nodeValue("Segments", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [[]])