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:
authorSergey Sharybin <sergey.vfx@gmail.com>2010-07-26 23:07:33 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2010-07-26 23:07:33 +0400
commitcc9dbc7ac259e6f8547a58904bf5f834e14d58bc (patch)
tree9a75014d9398a3ffafa8dbae5969a9ee2df85e4b /source/blender/editors
parentc1649dcf103919b90ea8d8f90bef5ea9eb5ca674 (diff)
Curve shape keys:
- Fixed incorrect working of "from mix" insert keyblock operator property shapekey coordinated are applying on curve's data when creating displist, so curve's nurbs can't be used as unchanged data -- use basis keyblock data instead - Fixed tilt damaging when loading editcurve -- made a typo in array indexes
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/curve/editcurve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 8d8dac33f9f..d38c91da5c5 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -884,7 +884,7 @@ static void calc_shapeKeys(Object *obedit)
fp+= 3; curofp+= 3;
}
- fp[0]= ofp[0];
+ fp[0]= curofp[0];
if(apply_offset) {
/* apply alfa offsets */
@@ -914,7 +914,7 @@ static void calc_shapeKeys(Object *obedit)
if (index >= 0) {
curofp= ofp + index;
VECCOPY(fp, curofp);
- fp[3]= curofp[4];
+ fp[3]= curofp[3];
if(apply_offset) {
VECADD(fp, fp, ofs[i]);