diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-05 05:02:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-05 05:02:41 +0400 |
commit | af51827dda90e5402d9e4a476a8ada3f422dda13 (patch) | |
tree | f32031e74d0c7ddae6b13fd4a5f11e7cfc536000 /source/blender/modifiers | |
parent | b095c31c87e86b8e27d9431c1a4bbd2b7dee977f (diff) |
add a message when solidify is used with only-edges, this isn't properly supported.
also minor edits to py-api-ref
-- This line, and those below, will be ignored--
M doc/python_api/sphinx_doc_gen.py
M doc/python_api/rst/include__bmesh.rst
M source/blender/modifiers/intern/MOD_solidify.c
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index fbd3c084e70..75e54d77b15 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -750,6 +750,10 @@ static DerivedMesh *applyModifier( CDDM_calc_normals(result); } + if (numFaces == 0 && numEdges != 0) { + modifier_setError(md, "Faces needed for useful output"); + } + return result; } |