diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 01:48:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 02:11:47 +0400 |
commit | 48446870a8981c28ee4c695823d12fb4419e56eb (patch) | |
tree | a9b80b92be135af86d451b60a6b55a4e33bf0fb0 /source/blender/editors/mesh | |
parent | cdaff060265ef81539d04f6ad1f16762dbbba288 (diff) |
Code cleanup: remove redundant CTX calls
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_loopcut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c index e52ec8d74f5..4ef6c13ec3e 100644 --- a/source/blender/editors/mesh/editmesh_loopcut.c +++ b/source/blender/editors/mesh/editmesh_loopcut.c @@ -415,7 +415,7 @@ static int ringsel_init(bContext *C, wmOperator *op, bool do_cut) lcd->num.unit_type[1] = B_UNIT_NONE; /* XXX, temp, workaround for [# ] */ - EDBM_mesh_ensure_valid_dm_hack(CTX_data_scene(C), lcd->em); + EDBM_mesh_ensure_valid_dm_hack(scene, lcd->em); em_setup_viewcontext(C, &lcd->vc); |