Fix T42587 rotation curves not setting jump to cursor position
authorAntony Riakiotakis <kalast@gmail.com>
Thu, 13 Nov 2014 14:03:44 +0000 (15:03 +0100)
committerAntony Riakiotakis <kalast@gmail.com>
Thu, 13 Nov 2014 14:03:59 +0000 (15:03 +0100)
correctly.

source/blender/editors/space_graph/graph_edit.c

index c829892..53beb5e 100644 (file)
@@ -1888,7 +1888,7 @@ static int graphkeys_framejump_exec(bContext *C, wmOperator *UNUSED(op))
 
                ked.f1 += current_ked.f1;
                ked.i1 += current_ked.i1;
-               ked.f2 += current_ked.f2 / unit_scale;
+               ked.f2 += current_ked.f2 * unit_scale;
                ked.i2 += current_ked.i2;
        }