Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/anim_markers.c
| Show First 20 Lines • Show All 743 Lines • ▼ Show 20 Lines | |||||
| } MarkerMove; | } MarkerMove; | ||||
| static bool ed_marker_move_use_time(MarkerMove *mm) | static bool ed_marker_move_use_time(MarkerMove *mm) | ||||
| { | { | ||||
| if (((mm->slink->spacetype == SPACE_SEQ) && !(((SpaceSeq *)mm->slink)->flag & SEQ_DRAWFRAMES)) || | if (((mm->slink->spacetype == SPACE_SEQ) && !(((SpaceSeq *)mm->slink)->flag & SEQ_DRAWFRAMES)) || | ||||
| ((mm->slink->spacetype == SPACE_ACTION) && | ((mm->slink->spacetype == SPACE_ACTION) && | ||||
| (((SpaceAction *)mm->slink)->flag & SACTION_DRAWTIME)) || | (((SpaceAction *)mm->slink)->flag & SACTION_DRAWTIME)) || | ||||
| ((mm->slink->spacetype == SPACE_GRAPH) && | ((mm->slink->spacetype == SPACE_GRAPH) && | ||||
| !(((SpaceGraph *)mm->slink)->flag & SIPO_DRAWTIME)) || | (((SpaceGraph *)mm->slink)->flag & SIPO_DRAWTIME)) || | ||||
| ((mm->slink->spacetype == SPACE_NLA) && !(((SpaceNla *)mm->slink)->flag & SNLA_DRAWTIME))) { | ((mm->slink->spacetype == SPACE_NLA) && (((SpaceNla *)mm->slink)->flag & SNLA_DRAWTIME))) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| } | } | ||||
| static void ed_marker_move_update_header(bContext *C, wmOperator *op) | static void ed_marker_move_update_header(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 960 Lines • Show Last 20 Lines | |||||