Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_color.c
| Show First 20 Lines • Show All 441 Lines • ▼ Show 20 Lines | static void rna_ColorManagedDisplaySettings_display_device_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr) | ||||
| if (!id) | if (!id) | ||||
| return; | return; | ||||
| if (GS(id->name) == ID_SCE) { | if (GS(id->name) == ID_SCE) { | ||||
| Scene *scene = (Scene *) id; | Scene *scene = (Scene *) id; | ||||
| IMB_colormanagement_validate_settings(&scene->display_settings, &scene->view_settings); | IMB_colormanagement_validate_settings(&scene->display_settings, &scene->view_settings); | ||||
| DAG_id_tag_update(id, 0); | |||||
| WM_main_add_notifier(NC_SCENE | ND_SEQUENCER, NULL); | WM_main_add_notifier(NC_SCENE | ND_SEQUENCER, NULL); | ||||
| } | } | ||||
| } | } | ||||
| static char *rna_ColorManagedDisplaySettings_path(PointerRNA *UNUSED(ptr)) | static char *rna_ColorManagedDisplaySettings_path(PointerRNA *UNUSED(ptr)) | ||||
| { | { | ||||
| return BLI_sprintfN("display_settings"); | return BLI_sprintfN("display_settings"); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 738 Lines • Show Last 20 Lines | |||||