diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-06-12 16:25:46 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-06-12 16:26:23 +0300 |
commit | 7823ca06da0bd3d2c0eba83f9a98f5b1d1a6db7f (patch) | |
tree | 4ccc55138cb5ceb4007267c0be9ea144efcc6a6b /source/blender/editors/interface | |
parent | 4fae3620d0494ccc128c5e169c4a579449e28220 (diff) |
Support metadata display in clip editor
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/resources.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 8e7c1674f06..68016ae3dd8 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -2620,7 +2620,13 @@ void init_userdef_do_versions(void) } } - + if (U.versionfile < 275 || (U.versionfile == 275 && U.subversionfile < 1)) { + bTheme *btheme; + for (btheme = U.themes.first; btheme; btheme = btheme->next) { + copy_v4_v4_char(btheme->tclip.metadatatext, btheme->tseq.text_hi); + } + } + if (U.pixelsize == 0.0f) U.pixelsize = 1.0f; |