diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-17 00:05:17 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-17 00:05:17 +0300 |
commit | 27660b3cd90d7ac2ade613e2fe0c750bc53a805a (patch) | |
tree | ed4d0873778e493ddb8a5f319bb3c6658354db37 /source/blender/blenkernel/intern | |
parent | 6ade522f277fb74d4691973b7bb55840300043a2 (diff) |
Fix: Text object custom profile bevel not written to file
The CurveProfile struct was only being written to the file for regular
curve objects. Caused by an incorrect merge of master before committing.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 24be6708785..7a6488eb1f6 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -186,10 +186,10 @@ static void curve_blend_write(BlendWriter *writer, ID *id, const void *id_addres } } } + } - if (cu->bevel_profile != NULL) { - BKE_curveprofile_blend_write(writer, cu->bevel_profile); - } + if (cu->bevel_profile != NULL) { + BKE_curveprofile_blend_write(writer, cu->bevel_profile); } } } |