diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 06:22:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 08:04:20 +0400 |
commit | 5819421e1b5b9e8939d2325e7c7c4f90242bcb83 (patch) | |
tree | 38c98e04acb47c7821fdac4571c4749f59880092 /source | |
parent | bbfeb120fcf7ac65e9b61599f85d562acd26bcbb (diff) |
correct recent commit
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/math_geom_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |