fix for crash when multires subdividing a mesh with no faces (new bug in bmesh grr!)
This commit is contained in:
parent
d95887d756
commit
f1d680d4b5
@ -835,7 +835,7 @@ static void multires_subdivide(MultiresModifierData *mmd, Object *ob, int totlvl
|
||||
MDisps *mdisps;
|
||||
int lvl= mmd->totlvl;
|
||||
|
||||
if (totlvl > multires_max_levels)
|
||||
if ((totlvl > multires_max_levels) || (me->totpoly == 0))
|
||||
return;
|
||||
|
||||
multires_force_update(ob);
|
||||
|
Loading…
Reference in New Issue
Block a user