Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-07-07 09:03:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-07 09:04:10 +0300
commitb28683b8b5f9a3c357af8fcd596000dc0e5f33ca (patch)
tree1e39aa001fe7743fe57bc0ac7d8c011f39d3c057 /source/blender/editors/uvedit/uvedit_rip.c
parent0c58970da75601473d8dcf3c508546f0b2a1d989 (diff)
Cleanup: remove unused arguments
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_rip.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_rip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_rip.c b/source/blender/editors/uvedit/uvedit_rip.c
index 99d1b4f1bf5..b01e2c42e9e 100644
--- a/source/blender/editors/uvedit/uvedit_rip.c
+++ b/source/blender/editors/uvedit/uvedit_rip.c
@@ -955,9 +955,7 @@ static int uv_rip_exec(bContext *C, wmOperator *op)
{
/* Note that we only want to run this on the */
Object *obedit = CTX_data_edit_object(C);
- Mesh *me = (Mesh *)obedit->data;
- BMEditMesh *em = me->edit_mesh;
- ED_uvedit_get_aspect(scene, obedit, em->bm, &aspx, &aspy);
+ ED_uvedit_get_aspect(obedit, &aspx, &aspy);
}
const float aspect_y = aspx / aspy;