Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/space_outliner.c
| Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | case NC_GPENCIL: | ||||
| if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) | if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) | ||||
| ED_region_tag_redraw(ar); | ED_region_tag_redraw(ar); | ||||
| break; | break; | ||||
| case NC_SCREEN: | case NC_SCREEN: | ||||
| if (ELEM(wmn->data, ND_LAYER)) { | if (ELEM(wmn->data, ND_LAYER)) { | ||||
| ED_region_tag_redraw(ar); | ED_region_tag_redraw(ar); | ||||
| } | } | ||||
| break; | break; | ||||
| case NC_MASK: | |||||
| if (ELEM(wmn->action, NA_ADDED)) { | |||||
| ED_region_tag_redraw(ar); | |||||
| } | |||||
| break; | |||||
| } | } | ||||
| } | } | ||||
| static void outliner_main_region_message_subscribe( | static void outliner_main_region_message_subscribe( | ||||
| const struct bContext *UNUSED(C), | const struct bContext *UNUSED(C), | ||||
| struct WorkSpace *UNUSED(workspace), struct Scene *UNUSED(scene), | struct WorkSpace *UNUSED(workspace), struct Scene *UNUSED(scene), | ||||
| struct bScreen *UNUSED(screen), struct ScrArea *sa, struct ARegion *ar, | struct bScreen *UNUSED(screen), struct ScrArea *sa, struct ARegion *ar, | ||||
| ▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines | |||||