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>2013-09-26 14:35:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-26 14:35:41 +0400
commitf06b440d632c9b3ff69b8eac14dacccc25ca25dc (patch)
tree84a15a92abc9b09f033f90cb1e5b79e855d2e345 /source/blender/editors/mesh/editmesh_knife.c
parentef2e1edca03c52b757bcd219327759f8af31605e (diff)
quiet warnings (converting pointer to boolean)
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 4acc2df96fb..a60b0248644 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -628,13 +628,13 @@ static int find_connected_linehit(KnifeTool_OpData *kcd, int testi, BMFace *f, i
}
if (testfaces) {
if (ifaces)
- shareface = knife_find_common_face(testfaces, ifaces);
+ shareface = (knife_find_common_face(testfaces, ifaces) != NULL);
else if (iface)
- shareface = find_ref(testfaces, iface);
+ shareface = (find_ref(testfaces, iface) != NULL);
}
else if (ifaces) {
if (testface)
- shareface = find_ref(ifaces, testface);
+ shareface = (find_ref(ifaces, testface) != NULL);
}
else if (testface && iface) {
shareface = (testface == iface);