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 | |
parent | 09431033e9e2defcea42ffe056632b4bf4fd7a2a (diff) |
Cleanup: style, doxy file
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 6 | ||||
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_api.h | 2 |
2 files changed, 5 insertions, 3 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; } } diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_api.h b/source/blender/windowmanager/gizmo/WM_gizmo_api.h index 1d2abab8af4..a93597d4f64 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_api.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_api.h @@ -23,7 +23,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -/** \file blender/windowmanager/gizmos/WM_gizmo_api.h +/** \file blender/windowmanager/gizmo/WM_gizmo_api.h * \ingroup wm * * \name Gizmo API |