diff options
Diffstat (limited to 'source')
-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 |