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:
committed by
Brecht Van Lommel
parent
b67d44fc70
commit
2825f98f80
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user