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:
authorCampbell Barton <ideasman42@gmail.com>2016-03-05 09:40:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-03-05 09:40:33 +0300
commit40b748d40f7efddbd07f35081a3264215025ffb8 (patch)
tree4d2fc13732d952917733f091da20fd73bf4dcbbc /source/blender/makesdna/DNA_curve_types.h
parent4e500101a7dd3ea578ca6d6f101c0d9ece7f5abc (diff)
Fix for missing update changing VFont.filepath
Changing the filepath wouldn't reload the font even after calling scene.update().
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r--source/blender/makesdna/DNA_curve_types.h3
1 files changed, 3 insertions, 0 deletions
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 */