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>2006-12-05 08:25:34 +0300
committerJoshua Leung <aligorith@gmail.com>2006-12-05 08:25:34 +0300
commit246ab11255a4f5a3a2f024ef708b6807a5f63317 (patch)
treeac73976ad240a4cf53af831a8215434c1c8cc219 /source/blender/src/editipo_mods.c
parent201df23d5474b7257ccf25b5f5b763e94a62d46f (diff)
Some more action editor goodies:
* Now it is possible to invert the selection status of keyframes and markers. These options can only be found in the Select menu in the header. * It is also possible to select the keyframes that occur within the 2 'extreme' selected markers. Hotkey for this is Ctrl K
Diffstat (limited to 'source/blender/src/editipo_mods.c')
-rw-r--r--source/blender/src/editipo_mods.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/editipo_mods.c b/source/blender/src/editipo_mods.c
index fd9a60edf3e..b54ae5d4f01 100644
--- a/source/blender/src/editipo_mods.c
+++ b/source/blender/src/editipo_mods.c
@@ -995,7 +995,12 @@ void set_ipo_key_selection(Ipo *ipo, int sel)
for (icu=ipo->curve.first; icu; icu=icu->next){
for (i=0; i<icu->totvert; i++){
- if (sel){
+ if (sel == 2) {
+ icu->bezt[i].f1^=1;
+ icu->bezt[i].f2^=1;
+ icu->bezt[i].f3^=1;
+ }
+ else if (sel == 1){
icu->bezt[i].f1|=1;
icu->bezt[i].f2|=1;
icu->bezt[i].f3|=1;