Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object_dupli.c
| Show First 20 Lines • Show All 485 Lines • ▼ Show 20 Lines | static void make_duplis_font(const DupliContext *ctx) | ||||
| Object *par = ctx->object; | Object *par = ctx->object; | ||||
| GHash *family_gh; | GHash *family_gh; | ||||
| Object *ob; | Object *ob; | ||||
| Curve *cu; | Curve *cu; | ||||
| struct CharTrans *ct, *chartransdata = NULL; | struct CharTrans *ct, *chartransdata = NULL; | ||||
| float vec[3], obmat[4][4], pmat[4][4], fsize, xof, yof; | float vec[3], obmat[4][4], pmat[4][4], fsize, xof, yof; | ||||
| int text_len, a; | int text_len, a; | ||||
| size_t family_len; | size_t family_len; | ||||
| const wchar_t *text = NULL; | const char32_t *text = NULL; | ||||
| bool text_free = false; | bool text_free = false; | ||||
| /* font dupliverts not supported inside collections */ | /* font dupliverts not supported inside collections */ | ||||
| if (ctx->collection) { | if (ctx->collection) { | ||||
| return; | return; | ||||
| } | } | ||||
| copy_m4_m4(pmat, par->obmat); | copy_m4_m4(pmat, par->obmat); | ||||
| ▲ Show 20 Lines • Show All 631 Lines • Show Last 20 Lines | |||||