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-03-01 14:47:29 +0300
committerJoshua Leung <aligorith@gmail.com>2009-03-01 14:47:29 +0300
commit6888f540e8ebee25c94db67474c48dd7c249bdf9 (patch)
tree9395d23f345c4c5402e19525f56173b1305c489d /source/blender/blenkernel
parentd9c9108a6e62894d6ab696235af9a0af25693c76 (diff)
Graph Editor: Baking (Alt-C) operator now works as expected
In the process, added some really basic drawing code for curves containing such data. Note: the endpoints don't draw right yet though.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/fcurve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c
index f04d24e8803..6f3cad7995c 100644
--- a/source/blender/blenkernel/intern/fcurve.c
+++ b/source/blender/blenkernel/intern/fcurve.c
@@ -344,6 +344,7 @@ void fcurve_store_samples (FCurve *fcu, void *data, int start, int end, FcuSampl
if (fcu->fpt) MEM_freeN(fcu->fpt);
/* store the samples */
+ fcu->bezt= NULL;
fcu->fpt= new_fpt;
fcu->totvert= end - start + 1;
}