From 18c5c7d5efcb2424f449286ab998d7b6432247b9 Mon Sep 17 00:00:00 2001 From: Mistium <92952823+Mistium@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:18:35 +0000 Subject: [PATCH] Update OSL Utils.js --- Resources/OSL Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/OSL Utils.js b/Resources/OSL Utils.js index acd239f6..68e0296d 100644 --- a/Resources/OSL Utils.js +++ b/Resources/OSL Utils.js @@ -185,7 +185,7 @@ function compileCloseBrackets(OSL) { methods[temp] = name; if (trimmed.indexOf(",") !== -1) { - let inputs = trimmed.split(","); + let inputs = autoTokenise(trimmed, ","); name = randomString(12); const cur = inputs[0].trim(); if (/^\w+$/.test(cur)) {