correct recent commit

This commit is contained in:
Campbell Barton 2014-03-30 13:22:01 +11:00
parent bbfeb120fc
commit 5819421e1b

@ -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) 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); return corner_count - (poly_count * 2);
} }