diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-11 22:14:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-11 22:14:37 +0300 |
commit | 7aecb018f6476defa9222a251a097a4187784a15 (patch) | |
tree | 82cb3a6df038b6bf33176a3ba92fd8d7def572e9 /source/blender/editors | |
parent | 1b18e0d8f625952fe68d907d37f8f06bfa2fc97f (diff) |
=Fix unused func warning in GP code...
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index e115e415d95..b6b70ff3dfd 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -2622,7 +2622,7 @@ static float gp_snap_to_grid_fl(float v, const float offset, const float spacing return v; } -static void gp_snap_to_grid_v2(float v[2], const float offset[2], const float spacing) +static void UNUSED_FUNCTION(gp_snap_to_grid_v2)(float v[2], const float offset[2], const float spacing) { v[0] = gp_snap_to_grid_fl(v[0], offset[0], spacing); v[1] = gp_snap_to_grid_fl(v[1], offset[1], spacing); |