diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-03 06:23:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-03 06:23:55 +0400 |
commit | e281fff26c98d924cc5a3b1cc947419cfc2c4df7 (patch) | |
tree | 6ae5f180385aa0f992a4799d5002fb1533de43dd /source/blender/editors/uvedit | |
parent | 854fd940165736db01eeff05719f1a60a6a89a8b (diff) |
remove unused random number generator, thanks Bao2 for spotting.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 8f5580f9384..773b72ea390 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -261,7 +261,6 @@ static ParamHandle *construct_param_handle(Scene *scene, Object *ob, BMEditMesh BMFace *efa; BMLoop *l; BMEdge *eed; - RNG *rng; BMIter iter, liter; const int cd_loop_uv_offset = CustomData_get_offset(&bm->ldata, CD_MLOOPUV); @@ -280,8 +279,6 @@ static ParamHandle *construct_param_handle(Scene *scene, Object *ob, BMEditMesh /* we need the vert indices */ BM_mesh_elem_index_ensure(em->bm, BM_VERT); - - rng = BLI_rng_new(0); BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) { @@ -318,7 +315,6 @@ static ParamHandle *construct_param_handle(Scene *scene, Object *ob, BMEditMesh } param_construct_end(handle, fill, implicit); - BLI_rng_free(rng); return handle; } |