From fe7812f7c24f4c89cd1d046abc87daad545c2d48 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 26 Mar 2019 21:15:47 +1100 Subject: Cleanup: style, use braces for editor/curve --- source/blender/editors/curve/editcurve_undo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/curve/editcurve_undo.c') 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); } -- cgit v1.2.3