diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-28 19:18:56 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-28 19:19:12 +0300 |
commit | 2d7957727c9be8af2689f1cff1ebed590238cb8e (patch) | |
tree | b5e49e62b0822fe38f7521a849421a32230669dc /source/blender/editors/space_view3d | |
parent | fbc884d2a82951c3a8c0f92993de3a0eb9907d86 (diff) |
Fix: Incorrect conversion from C bitfield syntax
Recent cleanups 9a8669ac81b99b2 and 1c790555a02bfc3
incorrectly interpereted the bitfield width syntax as a default
value. Also resolve two other compilation warnings.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index b39557929f8..a02058fde6b 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -694,6 +694,7 @@ static void view3d_ob_drop_matrix_from_snap(V3DSnapCursorState *snap_state, { V3DSnapCursorData *snap_data = ED_view3d_cursor_snap_data_get(); BLI_assert(snap_state->draw_box || snap_state->draw_plane); + UNUSED_VARS_NDEBUG(snap_state); copy_m4_m3(obmat_final, snap_data->plane_omat); copy_v3_v3(obmat_final[3], snap_data->loc); |