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>2009-04-12 12:17:46 +0400
committerJoshua Leung <aligorith@gmail.com>2009-04-12 12:17:46 +0400
commitdb3abe9456a9c0b32b988bf86930ee3787b966c7 (patch)
treef3f143f850e81f56c241b1f19877f7dceae8b563 /source/blender/editors/space_action
parentdcb07e387d7a9aec0ec8a9bb091ecad418a80a23 (diff)
Graph Editor:
* Column select (ALT-RMB) works again, and in conjunction with 'extend' (i.e. SHIFT) to add to selection instead of just replacing * Select all keyframes in curve (CTRL-ALT-RMB) now works
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_select.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c
index 952d594bed6..ced80647fec 100644
--- a/source/blender/editors/space_action/action_select.c
+++ b/source/blender/editors/space_action/action_select.c
@@ -615,7 +615,7 @@ static EnumPropertyItem prop_actkeys_leftright_select_types[] = {
/* ------------------- */
/* option 1) select keyframe directly under mouse */
-static void actkeys_select_single (bAnimContext *ac, bAnimListElem *ale, short select_mode, float selx)
+static void actkeys_mselect_single (bAnimContext *ac, bAnimListElem *ale, short select_mode, float selx)
{
bDopeSheet *ads= (ac->datatype == ANIMCONT_DOPESHEET) ? ac->data : NULL;
int ds_filter = ((ads) ? (ads->filterflag) : (0));
@@ -634,7 +634,7 @@ static void actkeys_select_single (bAnimContext *ac, bAnimListElem *ale, short s
}
/* Option 2) Selects all the keyframes on either side of the current frame (depends on which side the mouse is on) */
-static void actkeys_select_leftright (bAnimContext *ac, short leftright, short select_mode)
+static void actkeys_mselect_leftright (bAnimContext *ac, short leftright, short select_mode)
{
ListBase anim_data = {NULL, NULL};
bAnimListElem *ale;
@@ -694,7 +694,7 @@ static void actkeys_select_leftright (bAnimContext *ac, short leftright, short s
}
/* Option 3) Selects all visible keyframes in the same frame as the mouse click */
-static void actkeys_select_column(bAnimContext *ac, short select_mode, float selx)
+static void actkeys_mselect_column(bAnimContext *ac, short select_mode, float selx)
{
ListBase anim_data= {NULL, NULL};
bAnimListElem *ale;
@@ -905,11 +905,11 @@ static void mouse_action_keys (bAnimContext *ac, int mval[2], short select_mode,
}
else if (column) {
/* select all keyframes in the same frame as the one we hit on the active channel */
- actkeys_select_column(ac, select_mode, selx);
+ actkeys_mselect_column(ac, select_mode, selx);
}
else {
/* select the nominated keyframe on the given frame */
- actkeys_select_single(ac, ale, select_mode, selx);
+ actkeys_mselect_single(ac, ale, select_mode, selx);
}
/* free this channel */
@@ -960,7 +960,7 @@ static int actkeys_clickselect_invoke(bContext *C, wmOperator *op, wmEvent *even
else
RNA_int_set(op->ptr, "left_right", ACTKEYS_LRSEL_RIGHT);
- actkeys_select_leftright(&ac, RNA_enum_get(op->ptr, "left_right"), selectmode);
+ actkeys_mselect_leftright(&ac, RNA_enum_get(op->ptr, "left_right"), selectmode);
}
else {
/* select keyframe(s) based upon mouse position*/