[Bf-blender-cvs] [77ef3f9] master: Fix T44717: use_negative_frames ignored /w graph-editor

Campbell Barton noreply at git.blender.org
Wed May 20 14:02:46 CEST 2015


Commit: 77ef3f9041edea39b1d036e048a8ac35e388520d
Author: Campbell Barton
Date:   Wed May 20 20:01:33 2015 +1000
Branches: master
https://developer.blender.org/rB77ef3f9041edea39b1d036e048a8ac35e388520d

Fix T44717: use_negative_frames ignored /w graph-editor

D1303 by @barfot

===================================================================

M	source/blender/editors/space_graph/graph_ops.c

===================================================================

diff --git a/source/blender/editors/space_graph/graph_ops.c b/source/blender/editors/space_graph/graph_ops.c
index 3d1fa2c..f4cce29 100644
--- a/source/blender/editors/space_graph/graph_ops.c
+++ b/source/blender/editors/space_graph/graph_ops.c
@@ -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);




More information about the Bf-blender-cvs mailing list