diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-04-23 13:15:30 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-04-23 13:45:04 +0300 |
commit | ae054af14f995ef84e6368c25b49a306993b701b (patch) | |
tree | 8ac335188dcfb2699bcc088df272acc8795878d0 /source/blender/editors/space_view3d/view3d_gizmo_armature.c | |
parent | 624e93bbef8a8a34be822c1a98df131439c32788 (diff) |
Cleanup: rename the curveInX etc bbone DNA fields to curve_in_x etc.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_armature.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_armature.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_armature.c b/source/blender/editors/space_view3d/view3d_gizmo_armature.c index ae186505456..3ea127b364f 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_armature.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_armature.c @@ -85,13 +85,13 @@ static void gizmo_bbone_offset_get(const wmGizmo *UNUSED(gz), if (bh->index == 0) { bh->co[1] = pchan->bone->ease1 / BBONE_SCALE_Y; - bh->co[0] = pchan->curveInX; - bh->co[2] = pchan->curveInY; + bh->co[0] = pchan->curve_in_x; + bh->co[2] = pchan->curve_in_y; } else { bh->co[1] = -pchan->bone->ease2 / BBONE_SCALE_Y; - bh->co[0] = pchan->curveOutX; - bh->co[2] = pchan->curveOutY; + bh->co[0] = pchan->curve_out_x; + bh->co[2] = pchan->curve_out_y; } copy_v3_v3(value, bh->co); } @@ -110,13 +110,13 @@ static void gizmo_bbone_offset_set(const wmGizmo *UNUSED(gz), if (bh->index == 0) { pchan->bone->ease1 = max_ff(0.0f, bh->co[1] * BBONE_SCALE_Y); - pchan->curveInX = bh->co[0]; - pchan->curveInY = bh->co[2]; + pchan->curve_in_x = bh->co[0]; + pchan->curve_in_y = bh->co[2]; } else { pchan->bone->ease2 = max_ff(0.0f, -bh->co[1] * BBONE_SCALE_Y); - pchan->curveOutX = bh->co[0]; - pchan->curveOutY = bh->co[2]; + pchan->curve_out_x = bh->co[0]; + pchan->curve_out_y = bh->co[2]; } } |