Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_nla/space_nla.c
| Show First 20 Lines • Show All 471 Lines • ▼ Show 20 Lines | switch (wmn->category) { | ||||
| default: | default: | ||||
| if (wmn->data == ND_KEYS) | if (wmn->data == ND_KEYS) | ||||
| ED_region_tag_redraw(ar); | ED_region_tag_redraw(ar); | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| /* editor level listener */ | /* editor level listener */ | ||||
| static void nla_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn, const Scene *UNUSED(scene)) | static void nla_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn, const Scene *UNUSED(scene), | ||||
| const WorkSpace *UNUSED(workspace)) | |||||
| { | { | ||||
| /* context changes */ | /* context changes */ | ||||
| switch (wmn->category) { | switch (wmn->category) { | ||||
| case NC_ANIMATION: | case NC_ANIMATION: | ||||
| // TODO: filter specific types of changes? | // TODO: filter specific types of changes? | ||||
| ED_area_tag_refresh(sa); | ED_area_tag_refresh(sa); | ||||
| break; | break; | ||||
| case NC_SCENE: | case NC_SCENE: | ||||
| ▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines | |||||