Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_texture.c
| Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | switch (GS(id->name)) { | ||||
| case ID_LA: | case ID_LA: | ||||
| WM_main_add_notifier(NC_LAMP | ND_LIGHTING, id); | WM_main_add_notifier(NC_LAMP | ND_LIGHTING, id); | ||||
| WM_main_add_notifier(NC_LAMP | ND_LIGHTING_DRAW, id); | WM_main_add_notifier(NC_LAMP | ND_LIGHTING_DRAW, id); | ||||
| break; | break; | ||||
| case ID_BR: | case ID_BR: | ||||
| { | { | ||||
| Scene *scene = CTX_data_scene(C); | Scene *scene = CTX_data_scene(C); | ||||
| MTex *mtex = ptr->data; | MTex *mtex = ptr->data; | ||||
| SceneLayer *scene_layer = CTX_data_scene_layer(C); | ViewLayer *view_layer = CTX_data_view_layer(C); | ||||
| BKE_paint_invalidate_overlay_tex(scene, scene_layer, mtex->tex); | BKE_paint_invalidate_overlay_tex(scene, view_layer, mtex->tex); | ||||
| WM_main_add_notifier(NC_BRUSH, id); | WM_main_add_notifier(NC_BRUSH, id); | ||||
| break; | break; | ||||
| } | } | ||||
| case ID_LS: | case ID_LS: | ||||
| WM_main_add_notifier(NC_LINESTYLE, id); | WM_main_add_notifier(NC_LINESTYLE, id); | ||||
| break; | break; | ||||
| case ID_PA: | case ID_PA: | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 1,897 Lines • Show Last 20 Lines | |||||