From 527138613afe66e510e0b47c57d858c3f9e73461 Mon Sep 17 00:00:00 2001 From: Tanasart Date: Thu, 20 Jun 2024 12:28:19 +0700 Subject: [PATCH] - [Line] Now accept array of paths (not to be confused with path array). --- scripts/globals/globals.gml | 6 +++--- scripts/node_line/node_line.gml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/globals/globals.gml b/scripts/globals/globals.gml index 4f1f6858a..749859c73 100644 --- a/scripts/globals/globals.gml +++ b/scripts/globals/globals.gml @@ -36,10 +36,10 @@ globalvar VERSION, SAVE_VERSION, VERSION_STRING, BUILD_NUMBER, LATEST_VERSION; LATEST_VERSION = 11700; - VERSION = 11740; + VERSION = 11742; SAVE_VERSION = 11700; - VERSION_STRING = "1.17.4.1"; - BUILD_NUMBER = 11740; + VERSION_STRING = "1.17.4.2"; + BUILD_NUMBER = 11742; globalvar HOTKEYS, HOTKEY_CONTEXT; HOTKEYS = ds_map_create(); diff --git a/scripts/node_line/node_line.gml b/scripts/node_line/node_line.gml index bc482a8df..ea8db3829 100644 --- a/scripts/node_line/node_line.gml +++ b/scripts/node_line/node_line.gml @@ -22,8 +22,7 @@ function Node_Line(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) cons .setDisplay(VALUE_DISPLAY.rotation); inputs[| 7] = nodeValue("Path", self, JUNCTION_CONNECT.input, VALUE_TYPE.pathnode, noone, "Draw line along path.") - .setVisible(true, true) - .setArrayDepth(1); + .setVisible(true, true); inputs[| 8] = nodeValue("Range", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, [0, 1], "Range of the path to draw.") .setDisplay(VALUE_DISPLAY.slider_range);