diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-16 22:24:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-16 22:24:49 +0400 |
commit | 195d6c1b1a363bb30b6efaf9c274cc45edaa6f9a (patch) | |
tree | fd3918bd89fb7d60c385043e291611819af93eb0 /source/blender/editors | |
parent | 67f8e3a3a7af4146b9bb7ae40f1bdc8dabc2b48f (diff) |
minor speedup for scanfill, dont calculate the normal if its already known - use for editmode ngon filling.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 5b3c4f9cd97..6e1506d4c0f 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -288,7 +288,7 @@ static ParamHandle *construct_param_handle(Scene *scene, BMEditMesh *em, BLI_addfilledge(&sf_ctx, firstv, v); - BLI_edgefill(&sf_ctx, TRUE); + BLI_edgefill_ex(&sf_ctx, TRUE, efa->no); for (sefa = sf_ctx.fillfacebase.first; sefa; sefa = sefa->next) { ls[0] = sefa->v1->tmp.p; ls[1] = sefa->v2->tmp.p; |