diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-19 03:59:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-19 04:09:02 +0300 |
commit | 5bf09bbcdf5f9c476cec1f56de21d5e100e5b369 (patch) | |
tree | a6bc591d999120876b843ef85ba3b036c8eb9efe /source | |
parent | f3e7c1e8c8c17564e5e571c57b3df869b04597db (diff) |
Cleanup: shadow warning
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 6b0fb38b4b5..af2804a9161 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -822,7 +822,7 @@ static bool raycastEditMesh(SnapObjectContext *sctx, if (treedata->tree == NULL) { /* Operators only update the editmesh looptris of the original mesh. */ BLI_assert(sod->treedata_editmesh.em == BKE_editmesh_from_object(DEG_get_original_object(ob))); - BMEditMesh *em = sod->treedata_editmesh.em; + em = sod->treedata_editmesh.em; if (sctx->callbacks.edit_mesh.test_face_fn) { BMesh *bm = em->bm; @@ -910,7 +910,7 @@ static bool raycastEditMesh(SnapObjectContext *sctx, retval = true; if (r_index) { - BMEditMesh *em = sod->treedata_editmesh.em; + em = sod->treedata_editmesh.em; *r_index = BM_elem_index_get(em->looptris[hit.index][0]->f); } |