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-08-04 16:30:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-04 16:30:16 +0400
commit9ff4fa667108eeecfaaaae477b9e3708c0db5eab (patch)
tree025fd5ede7537919d4c70ee2423ebefc2853ae57 /source/blender/editors/uvedit
parent2390c95cf1435c19adcb22263b27750ea3ca81e7 (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c2
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 0e129cb4dcb..67e06b1c33c 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -224,7 +224,7 @@ void ED_uvedit_assign_image(Main *bmain, Scene *scene, Object *obedit, Image *im
else id_lib_extern(&ima->id);
/* we also need to correct the aspect of uvs */
- if(tf->unwrap & TF_CORRECT_ASPECT) {
+ if (tf->unwrap & TF_CORRECT_ASPECT) {
BMIter liter;
BMLoop *l;
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index c6ded2a91cf..39a78ea934b 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -660,10 +660,11 @@ static void p_flush_uvs(PHandle *handle, PChart *chart)
}
for (f = chart->faces; f; f = f->nextlink) {
- if(f->unwrap_flag) {
+ if (f->unwrap_flag) {
if (handle->do_aspect) {
*f->unwrap_flag |= TF_CORRECT_ASPECT;
- } else {
+ }
+ else {
*f->unwrap_flag &= ~TF_CORRECT_ASPECT;
}
}