Error in last commit

Get/set mismatch, reading from pchan, writing to bone.
This commit is contained in:
Campbell Barton 2017-08-15 17:42:59 +10:00
parent d3ba86de07
commit ed3c3992ad
1 changed files with 4 additions and 4 deletions

View File

@ -116,13 +116,13 @@ static void manipulator_bbone_offset_set(
if (bh->index == 0) {
pchan->bone->ease1 = max_ff(0.0f, bh->co[1] * BBONE_SCALE_Y);
pchan->bone->curveInX = bh->co[0];
pchan->bone->curveInY = bh->co[2];
pchan->curveInX = bh->co[0];
pchan->curveInY = bh->co[2];
}
else {
pchan->bone->ease2 = max_ff(0.0f, -bh->co[1] * BBONE_SCALE_Y);
pchan->bone->curveOutX = bh->co[0];
pchan->bone->curveOutY = bh->co[2];
pchan->curveOutX = bh->co[0];
pchan->curveOutY = bh->co[2];
}
}