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-09-24 20:02:56 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-09-24 20:02:56 +0400
commit8b7c690a0bbd053bc734309b1a82792cdfda8733 (patch)
treebbe1b1838b71e3b0f003fd735fc1eafdd56636e3 /source/blender/src/editface.c
parentb3f0facfbef0bbff79ef6f160a0ac0ad8d85cf8e (diff)
- assorted warning fixes (signedness, float->double)
- added decimate,boolean modifier copydata methods
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r--source/blender/src/editface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c
index 0871505f2ea..1a9e4b9ac21 100644
--- a/source/blender/src/editface.c
+++ b/source/blender/src/editface.c
@@ -955,7 +955,7 @@ int face_pick(Mesh *me, short x, short y, unsigned int *index)
}
/* Convert the color back to a face index */
*index = framebuffer_to_index(col);
- if (col==0 || (*index)<=0 || (*index)>me->totface)
+ if (col==0 || (*index)<=0 || (*index)>(unsigned) me->totface)
return 0;
(*index)--;