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>2012-03-08 08:38:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-08 08:38:35 +0400
commite61339a76fe346f9d9bd45c01f60aa93506eee42 (patch)
treea4ed4ec2e755307c91e8562b5d5da566d34163a8 /source/blender/editors/mesh/editface.c
parent79d97ca509a3804e3a174959a65267826a6ea77a (diff)
code cleanup: duplicate checks and double assignments.
Diffstat (limited to 'source/blender/editors/mesh/editface.c')
-rw-r--r--source/blender/editors/mesh/editface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c
index a6ceba061f6..a7f72481456 100644
--- a/source/blender/editors/mesh/editface.c
+++ b/source/blender/editors/mesh/editface.c
@@ -576,10 +576,9 @@ int do_paintface_box_select(ViewContext *vc, rcti *rect, int select, int extend)
selar= MEM_callocN(me->totpoly+1, "selar");
- if (extend == 0 && select)
+ if (extend == 0 && select) {
paintface_deselect_all_visible(vc->obact, SEL_DESELECT, FALSE);
- if (extend == 0 && select) {
mface= me->mpoly;
for(a=1; a<=me->totpoly; a++, mface++) {
if((mface->flag & ME_HIDE) == 0)