Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-10-20 15:56:18 +0300
committerBastien Montagne <bastien@blender.org>2021-10-20 15:56:18 +0300
commit3435ea014d42d1e223513f448cbdaba63864115c (patch)
tree875ab41e6907990225972ff105e6503c45ec2b51 /source/blender/editors/gizmo_library/gizmo_types
parentdfb193f634bf2d4b6a28b458d7d23b79bcd45633 (diff)
Cleanup: unused parameters, `nullptr` instead of `NULL` in cpp code...
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_types')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
index b95935f2e06..13d9f1ecda7 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/snap3d_gizmo.c
@@ -100,7 +100,7 @@ bool ED_gizmotypes_snap_3d_invert_snap_get(struct wmGizmo *UNUSED(gz))
return snap_data->is_snap_invert;
}
-bool ED_gizmotypes_snap_3d_is_enabled(const wmGizmo *gz)
+bool ED_gizmotypes_snap_3d_is_enabled(const wmGizmo *UNUSED(gz))
{
V3DSnapCursorData *snap_data = ED_view3d_cursor_snap_data_get(NULL, NULL, 0, 0);
return snap_data->is_enabled;