Blender Git Loki

Git Commits -> Revision b037ba2

Revision b037ba2 by Julian Eisel (master)
November 22, 2019, 15:54 (GMT)
UI: Changes to Graph Editor selection and transform

When introducing "drag-all-selected" support all over Blender, we
figured this wouldn't work well with the Graph Editor
selection/transform behavior.
Hence, William and I worked on the following changes, although we used
this chance to improve the behavior in general too.
For more info see T70634.

* Handles now always move with the key, regardless if they are selected
or not.
* Selecting the key doesn't select the handles anymore, their selection
is separate.
* Multiple keys and handles can now be dragged.
* Dragging a handle moves all selected handles **on the same side**.
* Tweak-dragging any handle can never affect any keyframe location,
only handles.
* G/R/S should behave as before.
* Changing the handle type with a key selected always applies the change
to both handles.
* Box selection with Ctrl+Drag now allows deselecting handles (used to
act on entire triple only).
* Box selection //Include Handles// option now only acts on visible
handles, wasn't the case with Only Selected Keyframes Handles enabled.
* Box selection //Include Handles// is now enabled by default in all
bundled keymaps.

The changes have been tested for some days by the animators here in the
Blender Animation Studio. Some changes are based on their feedback.

Also, this improves/adds comments for related code.

Differential Revision: https://developer.blender.org/D6235

Reviewed by: Sybren St�vel, William Reynish

Commit Details:

Full Hash: b037ba2665f4b08d91e0d7d1b350c8bb562ca320
Parent Commit: 177dfc6
Lines Changed: +471, -204

19 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+2, -6) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+5, -9) (Diff)
/source/blender/blenkernel/BKE_curve.h (+11, -1) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+45, -13) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+33, -7) (Diff)
/source/blender/editors/animation/keyframes_edit.c (+67, -20) (Diff)
/source/blender/editors/include/ED_keyframes_edit.h (+6, -0) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_select.c (+91, -43) (Diff)
/source/blender/editors/space_graph/space_graph.c (+3, -0) (Diff)
/source/blender/editors/transform/transform.c (+1, -0) (Diff)
/source/blender/editors/transform/transform.h (+5, -1) (Diff)
/source/blender/editors/transform/transform_convert.c (+23, -17) (Diff)
/source/blender/editors/transform/transform_convert_graph.c (+124, -84) (Diff)
/source/blender/editors/transform/transform_generics.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+7, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+14, -0) (Diff)
/source/blender/windowmanager/intern/wm_operator_props.c (+30, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021