From 40b748d40f7efddbd07f35081a3264215025ffb8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 5 Mar 2016 17:40:33 +1100 Subject: Fix for missing update changing VFont.filepath Changing the filepath wouldn't reload the font even after calling scene.update(). --- source/blender/makesdna/DNA_curve_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_curve_types.h') diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 9be3fbc2348..8f711c1b23b 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -268,6 +268,9 @@ typedef struct Curve { } Curve; +#define CURVE_VFONT_ANY(cu) \ + ((cu)->vfont), ((cu)->vfontb), ((cu)->vfonti), ((cu)->vfontbi) + /* **************** CURVE ********************* */ /* Curve.texflag */ -- cgit v1.2.3