diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-10 17:12:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-10 19:56:54 +0300 |
commit | 49dee07e9c6ab385152a7bb441c65d5488c97789 (patch) | |
tree | f11e86ff7df36374a68ce7be6812046b91afb310 /source/blender/editors/uvedit | |
parent | b94d34915fe345e3bba54bb0a4c91aba5bed5456 (diff) |
Cleanup: fix compiler warnings.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index bb4fbee1483..e57c4cc13f9 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -3799,7 +3799,7 @@ static int uv_snap_selection_exec(bContext *C, wmOperator *op) ToolSettings *ts = scene->toolsettings; const bool synced_selection = (ts->uv_flag & UV_SYNC_SELECTION) != 0; const int target = RNA_enum_get(op->ptr, "target"); - float offset[2]; + float offset[2] = {0}; uint objects_len = 0; Object **objects = BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs(view_layer, &objects_len); |