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:
authorTon Roosendaal <ton@blender.org>2005-07-11 16:31:15 +0400
committerTon Roosendaal <ton@blender.org>2005-07-11 16:31:15 +0400
commita17e21dfabd25265e27853cdce2c91a49b4efd16 (patch)
tree286f39944a9e356f62b4d58ecb25916eef295943 /source/blender/src/editkey.c
parent85aca9bba1fc85968083fa04f446fe91a854e6a4 (diff)
SLightly altered rule for the new IpoCurve option "Keep horizontal on
extrema". It now also keeps auto-handles horizontal when the Y coordinate is exactly identical. And; made this option default on inserting new curve/keys.
Diffstat (limited to 'source/blender/src/editkey.c')
-rw-r--r--source/blender/src/editkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c
index e610de992df..60328cfc43a 100644
--- a/source/blender/src/editkey.c
+++ b/source/blender/src/editkey.c
@@ -290,7 +290,7 @@ static void default_key_ipo(Key *key)
icu->blocktype= ID_KE;
icu->adrcode= KEY_SPEED;
- icu->flag= IPO_VISIBLE+IPO_SELECT;
+ icu->flag= IPO_VISIBLE|IPO_SELECT|IPO_AUTO_HORIZ;
set_icu_vars(icu);
BLI_addtail( &(key->ipo->curve), icu);