diff options
author | Demeter Dzadik <Mets> | 2020-05-01 12:41:21 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-05-01 12:41:38 +0300 |
commit | b2d850efc0ec5a9d829e6bd5d2b598077c71ee1f (patch) | |
tree | 55578316c4b27617736df75109f2ac433c73ab18 /source/blender/modifiers | |
parent | 7a809a7504dee23e926e94798d8e9cac1adc7c9d (diff) |
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
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify_extrude.c | 4 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify_nonmanifold.c | 1 |
2 files changed, 0 insertions, 5 deletions
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; } |