Fix: Color picker does not refresh properly when changing working space

Clear outdated cached transforms.

Pull Request: https://projects.blender.org/blender/blender/pulls/145878
This commit is contained in:
Brecht Van Lommel
2025-09-07 18:54:03 +02:00
committed by Brecht Van Lommel
parent b67d44fc70
commit 2825f98f80

View File

@@ -3164,7 +3164,10 @@ bool IMB_colormanagement_working_space_set_from_name(const char *name)
STRNCPY(global_role_scene_linear, name);
g_config->set_scene_linear_role(name);
global_color_picking_state.cpu_processor_from.reset();
global_color_picking_state.cpu_processor_to.reset();
colormanage_update_matrices();
return true;
}