Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2016-05-09 07:58:12 +0300
committerJoshua Leung <aligorith@gmail.com>2016-05-09 08:23:35 +0300
commit0578d3ef3e53faa447880bb939aa33272464cef1 (patch)
tree16e3bfb5600d7c47b4823b3fe5ffee5c35fb0c67 /source/blender/editors/space_graph/graph_select.c
parent9a1e11260c667dce5df123c2b451d119d8c05a7b (diff)
Graph Editor: Ctrl-Click keyframing now deselects all existing keyframes by default
Now, when creating new keyframes in the graph editor by ctrl-clicking, only the newly created keyframes will be selected. This is a little workflow tweak to make it faster to work, as you no longer have to deselect all, and then re-select the newly added keys in order to manipulate them. The old behaviour (not modifying the selection status of the old keys) has been kept, but is now available via Shift-Ctrl-Click. Feature request from @Shhlife
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
-rw-r--r--source/blender/editors/space_graph/graph_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c
index 67274100312..eb786d872ec 100644
--- a/source/blender/editors/space_graph/graph_select.c
+++ b/source/blender/editors/space_graph/graph_select.c
@@ -83,7 +83,7 @@
* 2 = invert
* - do_channels: whether to affect selection status of channels
*/
-static void deselect_graph_keys(bAnimContext *ac, short test, short sel, short do_channels)
+void deselect_graph_keys(bAnimContext *ac, bool test, short sel, bool do_channels)
{
ListBase anim_data = {NULL, NULL};
bAnimListElem *ale;