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:
authorHans Goudey <h.goudey@me.com>2020-09-17 00:05:17 +0300
committerHans Goudey <h.goudey@me.com>2020-09-17 00:05:17 +0300
commit27660b3cd90d7ac2ade613e2fe0c750bc53a805a (patch)
treeed4d0873778e493ddb8a5f319bb3c6658354db37 /source/blender
parent6ade522f277fb74d4691973b7bb55840300043a2 (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')
-rw-r--r--source/blender/blenkernel/intern/curve.c6
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);
}
}
}