diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-15 11:53:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-15 11:53:34 +0300 |
commit | e00f0686f7ca3d95ab865bb66a7c0663cfb558ef (patch) | |
tree | eaa8cc81ac8553533405524c2af88eeee883c318 /source/blender/makesrna/intern/rna_scene.c | |
parent | 09431033e9e2defcea42ffe056632b4bf4fd7a2a (diff) |
Cleanup: style, doxy file
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 54b553e94ae..f8d6757c601 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -1985,10 +1985,12 @@ static void rna_GPUDOFSettings_blades_set(PointerRNA *ptr, const int value) if (value == 1 || value == 2) { if (dofsettings->num_blades == 0) { dofsettings->num_blades = 3; - } else { + } + else { dofsettings->num_blades = 0; } - } else { + } + else { dofsettings->num_blades = value; } } |