Blender Git Commit Log

Git Commits -> Revision a2bf25e

Revision a2bf25e by Sergey Sharybin (master)
January 5, 2014, 11:26 (GMT)
Fix crash when having multiple text objects sharing the same curve datablock

Issue was caused by BKE_vfont_to_curve() modifying curve->nurbs list which
gave threading issues.

Now added BKE_vfont_to_curve_nubase() which operates on a given nurbs list
base which is local in do_makeDispListCurveTypes().

By the looks of it it wouldn't give speed regression because previously it
also was creating nurbs for every font object sharing the same curve data.

Commit Details:

Full Hash: a2bf25e8ff7172643fa156cb12d42582595ecd7d
Parent Commit: ac3d33a
Lines Changed: +29, -13

3 Modified Paths:

/source/blender/blenkernel/BKE_font.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/displist.c (+6, -4) (Diff)
/source/blender/blenkernel/intern/font.c (+20, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021