Fix T44717: use_negative_frames ignored /w graph-editor

D1303 by @barfot
This commit is contained in:
Campbell Barton 2015-05-20 20:01:33 +10:00
parent eb6bab25ba
commit 77ef3f9041
Notes: blender-bot 2023-02-14 09:07:24 +01:00
Referenced by issue #44717, use_negative_frames user preference is not respected in the graph editor
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ static void graphview_cursor_apply(bContext *C, wmOperator *op)
* NOTE: sync this part of the code with ANIM_OT_change_frame
*/
CFRA = RNA_int_get(op->ptr, "frame");
FRAMENUMBER_MIN_CLAMP(CFRA);
SUBFRA = 0.f;
BKE_sound_seek_scene(bmain, scene);