From e9127cabbef3e1b833059ca2cddbdb7f41571a7c Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Fri, 21 Jun 2024 21:38:34 +0200 Subject: [PATCH] shx-3d-render --- snippets/shx-3d-render-input.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index 54fda2c..cd4e55b 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -178,7 +178,7 @@ options = {...FilamentList}; } else for(let i = 0; i < colorWhiteList.length; i++) { if(FilamentList[colorWhiteList[i]]) { - options[i] = FilamentList[colorWhiteList[i]]; + options[colorWhiteList[i]] = FilamentList[colorWhiteList[i]]; } else { console.error("Color not found in FilamentList", colorWhiteList[i]); }