[Bf-blender-cvs] [ddf0bacaa9c] blender-v3.0-release: Cleanup: typo in function name

Campbell Barton noreply at git.blender.org
Thu Nov 11 05:02:35 CET 2021


Commit: ddf0bacaa9ce4019af6d838836a80f237e45d282
Author: Campbell Barton
Date:   Thu Nov 11 14:57:17 2021 +1100
Branches: blender-v3.0-release
https://developer.blender.org/rBddf0bacaa9ce4019af6d838836a80f237e45d282

Cleanup: typo in function name

===================================================================

M	source/blender/editors/space_view3d/view3d_cursor_snap.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_cursor_snap.c b/source/blender/editors/space_view3d/view3d_cursor_snap.c
index bb387adb82e..1213614704d 100644
--- a/source/blender/editors/space_view3d/view3d_cursor_snap.c
+++ b/source/blender/editors/space_view3d/view3d_cursor_snap.c
@@ -759,7 +759,7 @@ static void v3d_cursor_snap_update(V3DSnapCursorState *state,
 /** \name Callbacks
  * \{ */
 
-static bool v3d_cursor_snap_pool_fn(bContext *C)
+static bool v3d_cursor_snap_poll_fn(bContext *C)
 {
   if (G.moving) {
     return false;
@@ -898,7 +898,7 @@ static void v3d_cursor_snap_activate(void)
     }
 
     struct wmPaintCursor *pc = WM_paint_cursor_activate(
-        SPACE_VIEW3D, RGN_TYPE_WINDOW, v3d_cursor_snap_pool_fn, v3d_cursor_snap_draw_fn, NULL);
+        SPACE_VIEW3D, RGN_TYPE_WINDOW, v3d_cursor_snap_poll_fn, v3d_cursor_snap_draw_fn, NULL);
     data_intern->handle = pc;
   }
 }



More information about the Bf-blender-cvs mailing list