Open
Description
Tested versions
- Reproducible in: 4.4 (and previous 4.4.dev builds since saving color palettes was introduced Save color palette as resources to reuse later #91604)
System information
Godot v4.4.stable - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - integrated AMD Radeon 780M Graphics (Advanced Micro Devices, Inc.; 32.0.11039.8001) - AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (16 threads)
Issue description
If you have multiple ColorPicker
s in the scene and each has some color presets, and you will save one as color palette, presets from all ColorPicker
s will be displayed as colors of this palette. However, the saved palette has only presets from the ColorPicker
that was used to save it.
Nagrywanie.ekranu.2025-03-16.095710.mp4
From the code it seems to be a problem with using preset_cache
in ColorPicker
to display colors, which is static
.
Steps to reproduce
- Add 2 or more
ColorPicker
s to the scene - Assign different colors to each
ColorPicker
- Run the game
- Open Swatches in each
ColorPicker
and add current color to presets - Save presets of one
ColorPicker
as color palette - You should see colors from all
ColorPicker
s displayed as the palette in the one where you saved presets