Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-30 06:22:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-30 08:04:20 +0400
commit5819421e1b5b9e8939d2325e7c7c4f90242bcb83 (patch)
tree38c98e04acb47c7821fdac4571c4749f59880092 /source/blender
parentbbfeb120fcf7ac65e9b61599f85d562acd26bcbb (diff)
correct recent commit
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/math_geom_inline.c2
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);
}