From b2d850efc0ec5a9d829e6bd5d2b598077c71ee1f Mon Sep 17 00:00:00 2001 From: Demeter Dzadik Date: Fri, 1 May 2020 11:41:21 +0200 Subject: 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 --- source/blender/modifiers/intern/MOD_solidify_extrude.c | 4 ---- source/blender/modifiers/intern/MOD_solidify_nonmanifold.c | 1 - 2 files changed, 5 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_solidify_extrude.c b/source/blender/modifiers/intern/MOD_solidify_extrude.c index 1868bb17851..fee1b552d89 100644 --- a/source/blender/modifiers/intern/MOD_solidify_extrude.c +++ b/source/blender/modifiers/intern/MOD_solidify_extrude.c @@ -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; } diff --git a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c index 3188bb59ae4..e42207081ed 100644 --- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c +++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c @@ -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; } -- cgit v1.2.3