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:
authorAlex Strand <astrand130>2019-03-25 05:32:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-25 05:33:13 +0300
commit7bfd3130fb7b53acca7b2211c0213f6ada51459d (patch)
tree6feb76ea4b913dad0196aa1557600c7f3ba304e7 /source/blender/blenkernel
parent6dbe96757bc345efa8a432861b057f65b26ae69f (diff)
Fix T62866: 3D text not filled by default
Regression in bc5b0f7a091c395526370 See D4581
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/curve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index 1112c490c13..0ab5a6ca963 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -162,6 +162,7 @@ void BKE_curve_init(Curve *cu)
cu->bb = BKE_boundbox_alloc_unit();
if (cu->type == OB_FONT) {
+ cu->flag |= CU_FRONT | CU_BACK;
cu->vfont = cu->vfontb = cu->vfonti = cu->vfontbi = BKE_vfont_builtin_get();
cu->vfont->id.us += 4;
cu->str = MEM_malloc_arrayN(12, sizeof(unsigned char), "str");