[Bf-blender-cvs] [93d1acf] master: correct ifdef

Campbell Barton noreply at git.blender.org
Sun Aug 2 15:41:26 CEST 2015


Commit: 93d1acfb5c2174a36486c806364486b9021490b0
Author: Campbell Barton
Date:   Sun Aug 2 23:35:58 2015 +1000
Branches: master
https://developer.blender.org/rB93d1acfb5c2174a36486c806364486b9021490b0

correct ifdef

===================================================================

M	source/blender/bmesh/operators/bmo_connect_pair.c

===================================================================

diff --git a/source/blender/bmesh/operators/bmo_connect_pair.c b/source/blender/bmesh/operators/bmo_connect_pair.c
index ead1c71..12af890 100644
--- a/source/blender/bmesh/operators/bmo_connect_pair.c
+++ b/source/blender/bmesh/operators/bmo_connect_pair.c
@@ -215,7 +215,7 @@ static void state_calc_co_pair(
 	interp_v3_v3v3(r_co, co_a, co_b, fac);
 }
 
-#ifdef DEBUG
+#ifndef NDEBUG
 /**
  * Ideally we wouldn't need this and for most cases we don't.
  * But when a face has vertices that are on the boundary more than once this becomes tricky.




More information about the Bf-blender-cvs mailing list