diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-26 13:15:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-26 13:15:47 +0300 |
commit | fe7812f7c24f4c89cd1d046abc87daad545c2d48 (patch) | |
tree | cf7214ecd393325d3f87a26fd71f06b5942ba2d5 /source/blender/editors/curve/editcurve_undo.c | |
parent | 14e013758d69f6d69683f6631b822b9f9a4a7643 (diff) |
Cleanup: style, use braces for editor/curve
Diffstat (limited to 'source/blender/editors/curve/editcurve_undo.c')
-rw-r--r-- | source/blender/editors/curve/editcurve_undo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve_undo.c b/source/blender/editors/curve/editcurve_undo.c index 30dd7346191..6cde9abb33f 100644 --- a/source/blender/editors/curve/editcurve_undo.c +++ b/source/blender/editors/curve/editcurve_undo.c @@ -133,8 +133,9 @@ static void undocurve_from_editcurve(UndoCurve *ucu, Curve *cu, const short shap } if (ad) { - if (ad->action) + if (ad->action) { copy_fcurves(&ucu->fcurves, &ad->action->curves); + } copy_fcurves(&ucu->drivers, &ad->drivers); } |