diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-25 05:49:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-25 05:49:32 +0300 |
commit | 6623d572aa55591059bbbc60b75d414700763720 (patch) | |
tree | a1292e49a784ecdc5cd0bcbf9c5237613c4fd33a /source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c | |
parent | 9708aa6341329bac93012de083bfb33c97be5667 (diff) |
Cleanup: minor changes and comments to screen_bounds_get access
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c index 7404778f960..07264f75d19 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c @@ -352,7 +352,7 @@ static int gizmo_axis_cursor_get(wmGizmo *UNUSED(gz)) return WM_CURSOR_DEFAULT; } -static void gizmo_axis_bounds(bContext *C, wmGizmo *gz, rcti *r_bounding_box) +static void gizmo_axis_screen_bounds_get(bContext *C, wmGizmo *gz, rcti *r_bounding_box) { ScrArea *area = CTX_wm_area(C); const float rad = WIDGET_RADIUS; @@ -371,7 +371,7 @@ void VIEW3D_GT_navigate_rotate(wmGizmoType *gzt) gzt->draw = gizmo_axis_draw; gzt->test_select = gizmo_axis_test_select; gzt->cursor_get = gizmo_axis_cursor_get; - gzt->screen_bounds_get = gizmo_axis_bounds; + gzt->screen_bounds_get = gizmo_axis_screen_bounds_get; gzt->struct_size = sizeof(wmGizmo); } |