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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-09-20 21:45:51 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-09-20 21:46:51 +0300
commit25f28d348fe1322da97c003c79d2d0e6e4267d1d (patch)
tree31740799ef77d5de684cc81d9fe0ad1118ebb076 /source/blender/blenkernel/intern/subsurf_ccg.c
parentc5491ba8740258167a2757b651d6d8449cfaacfc (diff)
Fix T52852: Assert in looptri calculation after recent changes.
Wrong condition in asserts...
Diffstat (limited to 'source/blender/blenkernel/intern/subsurf_ccg.c')
-rw-r--r--source/blender/blenkernel/intern/subsurf_ccg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index ee1f5dc6696..27bbdf228d4 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -4484,7 +4484,7 @@ static void ccgDM_recalcLoopTri(DerivedMesh *dm)
DM_ensure_looptri_data(dm);
mlooptri = dm->looptris.array_wip;
- BLI_assert(mlooptri != NULL);
+ BLI_assert(tottri == 0 || mlooptri != NULL);
BLI_assert(poly_to_tri_count(dm->numPolyData, dm->numLoopData) == dm->looptris.num);
BLI_assert(tottri == dm->looptris.num);