diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-31 12:21:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-31 12:21:04 +0300 |
commit | ad5b611953b6c2b510982e25218552a12d70437c (patch) | |
tree | 149e62b15328609fcd3ec809513817f6bb801a9d /source/blender/blenloader | |
parent | a823f58dfd039291fe14bdf7d281ecaa0311292e (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 7339f1977ff..93577315b1c 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -1645,7 +1645,9 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) { if (sl->spacetype == SPACE_VIEW3D) { View3D *v3d = (View3D *)sl; - v3d->shading.background_type = (v3d->flag3 & V3D_SHOW_WORLD)? V3D_SHADING_BACKGROUND_WORLD: V3D_SHADING_BACKGROUND_THEME; + v3d->shading.background_type = ( + (v3d->flag3 & V3D_SHOW_WORLD) ? + V3D_SHADING_BACKGROUND_WORLD : V3D_SHADING_BACKGROUND_THEME); copy_v3_fl(v3d->shading.background_color, 0.05f); } } |