diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-15 13:53:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-15 13:53:57 +0300 |
commit | b8feef59c8b463dfec0b991bf40554947c96bff1 (patch) | |
tree | f763ba0a45e14bd90084a2d007bb146f5154f27b /source/blender/blenloader/intern/versioning_280.c | |
parent | 5029b97d0240a2b59914812fe004b14b26f8fc34 (diff) |
Cleanup: add parens for clarity
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 4b591e0d508..87442a10d12 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -2539,7 +2539,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) V3D_SHOW_MODE_SHADE_OVERRIDE = (1 << 15), }; View3D *v3d = (View3D *)sl; - float alpha = v3d->flag2 & V3D_SHOW_MODE_SHADE_OVERRIDE ? 0.0f : 1.0f; + float alpha = (v3d->flag2 & V3D_SHOW_MODE_SHADE_OVERRIDE) ? 0.0f : 1.0f; v3d->overlay.texture_paint_mode_opacity = alpha; v3d->overlay.vertex_paint_mode_opacity = alpha; v3d->overlay.weight_paint_mode_opacity = alpha; |