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/editcurve.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/editcurve.c')
-rw-r--r--source/blender/src/editcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c
index 41533e7f6f0..b80e8861e9d 100644
--- a/source/blender/src/editcurve.c
+++ b/source/blender/src/editcurve.c
@@ -3796,7 +3796,7 @@ void default_curve_ipo(Curve *cu)
icu->blocktype= ID_CU;
icu->adrcode= CU_SPEED;
- icu->flag= IPO_VISIBLE+IPO_SELECT;
+ icu->flag= IPO_VISIBLE|IPO_SELECT|IPO_AUTO_HORIZ;
set_icu_vars(icu);
BLI_addtail( &(cu->ipo->curve), icu);