Cleanup: Solidify modifier: Remove unneccessary error message.

For any modifier, the expected output when the input mesh is empty, is an
empty mesh. So this error message was useless, and could spam the
console in some usecases of the modifier stack...

Reviewed By: weasel, mont29

Differential Revision: https://developer.blender.org/D7571
This commit is contained in:
Demeter Dzadik 2020-05-01 11:41:21 +02:00 committed by Bastien Montagne
parent 7a809a7504
commit b2d850efc0
2 changed files with 0 additions and 5 deletions

View File

@ -1233,10 +1233,6 @@ Mesh *MOD_solidify_extrude_applyModifier(ModifierData *md,
MEM_freeN(poly_nors);
}
if (numPolys == 0 && numVerts != 0) {
modifier_setError(md, "Faces needed for useful output");
}
return result;
}

View File

@ -149,7 +149,6 @@ Mesh *MOD_solidify_nonmanifold_applyModifier(ModifierData *md,
const uint numLoops = (uint)mesh->totloop;
if (numPolys == 0 && numVerts != 0) {
modifier_setError(md, "Faces needed for useful output");
return mesh;
}