From 4758b4033ec6c7b3cb85e46ff52ce062e291d0ad Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 27 Jun 2019 16:40:25 +1000 Subject: Cleanup: remove unused context check in toolsystem_ref_link Also comment corrections. --- source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c') diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c index f57760cdc2b..beb2707d94d 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c @@ -629,7 +629,7 @@ static wmGizmo *gizmo_find_intersected_3d(bContext *C, { for (int select_id = 0; select_id < visible_gizmos_len; select_id++) { wmGizmo *gz = visible_gizmos[select_id]; - /* With both defined, favor the 3D, incase the gizmo can be used in 2D or 3D views. */ + /* With both defined, favor the 3D, in case the gizmo can be used in 2D or 3D views. */ if (gz->type->test_select && (gz->type->draw_select == NULL)) { if ((*r_part = gz->type->test_select(C, gz, co)) != -1) { hit = select_id; @@ -1257,8 +1257,8 @@ void WM_gizmoconfig_update_tag_remove(wmGizmoMapType *gzmap_type, wmGizmoGroupTy } /** - * Run incase new types have been added (runs often, early exit where possible). - * Follows #WM_keyconfig_update concentions. + * Run in case new types have been added (runs often, early exit where possible). + * Follows #WM_keyconfig_update conventions. */ void WM_gizmoconfig_update(struct Main *bmain) { -- cgit v1.2.3