Fix #110164: Trigger spreadsheet redraw on animation pause

When playing and then pausing the animation the spreadsheet would show stale data,
not only during playback but also afterwards.

Pull Request: https://projects.blender.org/blender/blender/pulls/110224
This commit is contained in:
Martijn Versteegh
2023-07-18 09:56:11 +02:00
parent 7fe1f14116
commit b199f10204

View File

@@ -4913,6 +4913,7 @@ int ED_screen_animation_play(bContext *C, int sync, int mode)
/* Triggers redraw of sequencer preview so that it does not show to fps anymore after stopping
* playback. */
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_SEQUENCER, scene);
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_SPREADSHEET, scene);
}
else {
BKE_callback_exec_id_depsgraph(