[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60380] trunk/blender/source/blender/ editors/mesh/editmesh_knife.c: quiet warnings ( converting pointer to boolean)

Campbell Barton ideasman42 at gmail.com
Thu Sep 26 12:35:42 CEST 2013


Revision: 60380
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60380
Author:   campbellbarton
Date:     2013-09-26 10:35:41 +0000 (Thu, 26 Sep 2013)
Log Message:
-----------
quiet warnings (converting pointer to boolean)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_knife.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_knife.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2013-09-26 07:55:55 UTC (rev 60379)
+++ trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2013-09-26 10:35:41 UTC (rev 60380)
@@ -628,13 +628,13 @@
 		}
 		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);




More information about the Bf-blender-cvs mailing list