Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_clip/space_clip.c
| Show First 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | case NC_GPENCIL: | ||||
| if (wmn->action == NA_EDITED) { | if (wmn->action == NA_EDITED) { | ||||
| clip_scopes_check_gpencil_change(sa); | clip_scopes_check_gpencil_change(sa); | ||||
| ED_area_tag_redraw(sa); | ED_area_tag_redraw(sa); | ||||
| } | } | ||||
| else if (wmn->data & ND_GPENCIL_EDITMODE) { | else if (wmn->data & ND_GPENCIL_EDITMODE) { | ||||
| ED_area_tag_redraw(sa); | ED_area_tag_redraw(sa); | ||||
| } | } | ||||
| break; | break; | ||||
| case NC_WM: | |||||
| switch (wmn->data) { | |||||
| case ND_FILEREAD: | |||||
| case ND_UNDO: | |||||
| clip_area_sync_frame_from_scene(sa, scene); | |||||
| break; | |||||
| } | |||||
| break; | |||||
| } | } | ||||
| } | } | ||||
| static void clip_operatortypes(void) | static void clip_operatortypes(void) | ||||
| { | { | ||||
| /* ** clip_ops.c ** */ | /* ** clip_ops.c ** */ | ||||
| WM_operatortype_append(CLIP_OT_open); | WM_operatortype_append(CLIP_OT_open); | ||||
| WM_operatortype_append(CLIP_OT_reload); | WM_operatortype_append(CLIP_OT_reload); | ||||
| ▲ Show 20 Lines • Show All 1,008 Lines • Show Last 20 Lines | |||||