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>2008-04-01 14:06:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-01 14:06:06 +0400
commite9b7ce9f22c1d130be42dcb6e22423cc2f3fa549 (patch)
treedbc17cbfe724078a5c680487e5bf9e686c8c9069 /source/blender/src/editsima.c
parent3932c747d62217689c126c9b1a6a50bb208b182a (diff)
fix for [bf-blender-Bug Tracker][8833] View selected in UV editor
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index d52ae4e7d9e..7ea6683b2de 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -2080,11 +2080,10 @@ int minmax_tface_uv(float *min, float *max)
for (efa= em->faces.first; efa; efa= efa->next) {
tf = CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
if (simaFaceDraw_Check(efa, tf)) {
- if (simaUVSel_Check(efa, tf, 0)) DO_MINMAX2(tf->uv[0], min, max);
- if (simaUVSel_Check(efa, tf, 1)) DO_MINMAX2(tf->uv[1], min, max);
- if (simaUVSel_Check(efa, tf, 2)) DO_MINMAX2(tf->uv[2], min, max);
- if (efa->v4 && (simaUVSel_Check(efa, tf, 3))) DO_MINMAX2(tf->uv[3], min, max);
- sel = 1;
+ if (simaUVSel_Check(efa, tf, 0)) { DO_MINMAX2(tf->uv[0], min, max); sel = 1; }
+ if (simaUVSel_Check(efa, tf, 1)) { DO_MINMAX2(tf->uv[1], min, max); sel = 1; }
+ if (simaUVSel_Check(efa, tf, 2)) { DO_MINMAX2(tf->uv[2], min, max); sel = 1; }
+ if (efa->v4 && (simaUVSel_Check(efa, tf, 3))) { DO_MINMAX2(tf->uv[3], min, max); sel = 1; }
}
}
return sel;