diff options
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 8 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 960fb3b417c..4173bb9d99a 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -1434,7 +1434,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) scene->eevee.flag &= ~_flag; \ } \ } \ - } + } ((void)0) #define EEVEE_GET_INT(_props, _name) \ { \ @@ -1442,7 +1442,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) if (_idprop != NULL) { \ scene->eevee._name = IDP_Int(_idprop); \ } \ - } + } ((void)0) #define EEVEE_GET_FLOAT(_props, _name) \ { \ @@ -1450,7 +1450,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) if (_idprop != NULL) { \ scene->eevee._name = IDP_Float(_idprop); \ } \ - } + } ((void)0) #define EEVEE_GET_FLOAT_ARRAY(_props, _name, _length) \ { \ @@ -1461,7 +1461,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) scene->eevee._name [_i] = _values[_i]; \ } \ } \ - } + } ((void)0) IDProperty *props = IDP_GetPropertyFromGroup(scene->layer_properties, RE_engine_id_BLENDER_EEVEE); EEVEE_GET_BOOL(props, volumetric_enable, SCE_EEVEE_VOLUMETRIC_ENABLED); diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 502b33a2b4a..025bfc55569 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -52,7 +52,7 @@ static void do_versions_theme(UserDef *userdef, bTheme *btheme) } #define FROM_DEFAULT_V4_UCHAR(member) \ - copy_v4_v4_char(btheme->member, U_theme_default.member); + copy_v4_v4_char(btheme->member, U_theme_default.member) if (!USER_VERSION_ATLEAST(280, 25)) { copy_v4_v4_char(btheme->space_action.anim_preview_range, btheme->space_action.anim_active); |