From 5819421e1b5b9e8939d2325e7c7c4f90242bcb83 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 30 Mar 2014 13:22:01 +1100 Subject: [PATCH] correct recent commit --- source/blender/blenlib/intern/math_geom_inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenlib/intern/math_geom_inline.c b/source/blender/blenlib/intern/math_geom_inline.c index 4b1d6a94185..0e243c5e198 100644 --- a/source/blender/blenlib/intern/math_geom_inline.c +++ b/source/blender/blenlib/intern/math_geom_inline.c @@ -218,7 +218,7 @@ MINLINE int min_axis_v3(const float vec[3]) */ MINLINE int poly_to_tri_count(const int poly_count, const int corner_count) { - BLI_assert(corner_count > poly_count * 2); + BLI_assert(!poly_count || corner_count > poly_count * 2); return corner_count - (poly_count * 2); }