Fix T38720: Clear preview range operator missing notifier to redraw

timeline.
This commit is contained in:
Lukas Tönne 2014-02-19 13:33:47 +01:00
parent 5d20db1d87
commit bff99b10a3
Notes: blender-bot 2023-02-14 11:09:46 +01:00
Referenced by issue #38720, Clear preview range is not redrawing icon
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ static int previewrange_clear_exec(bContext *C, wmOperator *UNUSED(op))
ED_area_tag_redraw(curarea);
/* send notifiers */
WM_event_add_notifier(C, NC_SCENE | ND_FRAME, scene);
return OPERATOR_FINISHED;
}