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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-15 02:16:38 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-15 02:16:38 +0400
commit480b8ce10b149aa7aa9c62fed62cbf2a5ec904b3 (patch)
tree6762786764a5d29103df5925f9fae99446d457ef /source/blender/src/editsima.c
parent40bfa5c7a1a04f2dad0825e2c93edd25b586cbd2 (diff)
- switch em_{vert,solid,wire}offs to be unsigned
- some other twiddles to fix mixed signedness compiler warnings And from the "Dear lazy programmers" file: After you have extern declared a variable 5 or more times at the top a function, you would have actually saved a lot of effort by just putting it in the header where it belonged. Or perhaps you thought by hiding it no one else would notice you were using global variables to pass information around. Tsk tsk.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index b9c409c5758..a698446234b 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1480,7 +1480,8 @@ void stitch_uv_tface(int mode)
MFace *mf;
TFace *tf, *tface;
Mesh *me;
- unsigned int a, b, c, vtot, vtot2, tot;
+ int a;
+ unsigned int b, c, vtot, vtot2, tot;
float newuv[2], limit[2], *uv, *uv1;
struct uvvertsort *sortblock, *sb, *sb1, *sb2;
@@ -1624,8 +1625,8 @@ void select_linked_tface_uv(int mode)
TFace *tface, *tf, *nearesttf=NULL;
Mesh *me;
char sel, *linkflag;
- int nearestuv, i, nverts;
- unsigned int a, b, c, vtot, tot, nearestv;
+ int a, nearestuv, i, nverts;
+ unsigned int b, c, vtot, tot, nearestv;
float limit[2], *uv, *uv1;
struct uvvertsort *sortblock, *sb, *sb1, *sb2;