realize-depth #5

Merged
Arye Ramaty merged 43 commits from David-Haver/blender:realize-depth into WIP-realize-depth 2024-03-31 17:22:49 +02:00
Showing only changes of commit ab93a426a0 - Show all commits

View File

@ -91,7 +91,7 @@ void BKE_editmesh_looptris_calc_with_partial_ex(BMEditMesh *em,
const BMeshCalcTessellation_Params *params) const BMeshCalcTessellation_Params *params)
{ {
BLI_assert(em->looptris.size() == poly_to_tri_count(em->bm->totface, em->bm->totloop)); BLI_assert(em->looptris.size() == poly_to_tri_count(em->bm->totface, em->bm->totloop));
BLI_assert(!em->looptris.is_empty()); BLI_assert(!(em->bm->totface && em->looptris.is_empty()));
BM_mesh_calc_tessellation_with_partial_ex(em->bm, em->looptris, bmpinfo, params); BM_mesh_calc_tessellation_with_partial_ex(em->bm, em->looptris, bmpinfo, params);
} }