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]); }