Fix misuse of the use_occlusion_test parameter.

This commit is contained in:
2018-05-21 11:17:19 -03:00
parent f14e4510ac
commit 08ba057eef
3 changed files with 4 additions and 9 deletions

View File

@@ -5021,7 +5021,6 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, const wmEvent *event)
&(const struct SnapObjectParams){
.snap_select = (vc.obedit != NULL) ? SNAP_NOT_ACTIVE : SNAP_ALL,
.use_object_edit_cage = false,
.use_occlusion_test = true,
},
mval, NULL,
location, NULL);