Fix #129921: Graph editor lacked any "frame changed" tagging

There is a different operator in the graph editor for jumping between
frames. This operator lacked the correct update tags and functions that
is in screen_ops for the other timeline editors.

Pull Request: https://projects.blender.org/blender/blender/pulls/130924
This commit is contained in:
Sebastian Parborg
2024-11-26 12:16:43 +01:00
committed by Gitea
parent 43560ad9f7
commit ee2b543da1

View File

@@ -41,6 +41,7 @@
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "UI_interface_icons.hh"
@@ -2305,6 +2306,8 @@ static int keyframe_jump_exec(bContext *C, wmOperator *op)
}
BKE_scene_frame_set(scene, closest_frame);
ED_areas_do_frame_follow(C, true);
DEG_id_tag_update(&scene->id, ID_RECALC_FRAME_CHANGE);
/* Set notifier that things have changed. */
WM_event_add_notifier(C, NC_SCENE | ND_FRAME, ac.scene);