Blender Git Commit Log
Git Commits -> Revision 6507249
Revision 6507249 by Joshua Leung (master) October 26, 2015, 07:18 (GMT) |
Graph Editor: Allow "cursor x" to have fractional values when working with Drivers (T46004) When working is the Graph Editor it can be very important to be able to work with fractions (sub integers), especially when working with Drivers. Currently the "Cursor Y" is hooked up to "cursor_position_y" which allows fractions but "Cursor X" is directly hooked up to "frame_current" which is an integer. This commit adds initial support for this feature. * When in Drivers mode, the x-part of the cursor is mapped to a new "cursor_position_x" value which can have fractional values. Animation mode however remains mapped to frame_current * This commit only adds the UI/property/drawing tweaks needed to support this. Many operators still need to be modified to consider this value instead of the current frame, for this to be more useful. |
Commit Details:
Full Hash: 65072499c65affaf26e2e6912129387ba54211f1
Parent Commit: 2092056
Lines Changed: +53, -13
5 Modified Paths:
/source/blender/editors/space_graph/graph_buttons.c (+4, -1) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+15, -8) (Diff)
/source/blender/editors/space_graph/space_graph.c (+27, -4) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+15, -8) (Diff)
/source/blender/editors/space_graph/space_graph.c (+27, -4) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)