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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-26 13:15:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-26 13:15:47 +0300
commitfe7812f7c24f4c89cd1d046abc87daad545c2d48 (patch)
treecf7214ecd393325d3f87a26fd71f06b5942ba2d5 /source/blender/editors/curve/editcurve_undo.c
parent14e013758d69f6d69683f6631b822b9f9a4a7643 (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.c3
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);
}