Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-05 05:02:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-05 05:02:41 +0400
commitaf51827dda90e5402d9e4a476a8ada3f422dda13 (patch)
treef32031e74d0c7ddae6b13fd4a5f11e7cfc536000 /source/blender/modifiers
parentb095c31c87e86b8e27d9431c1a4bbd2b7dee977f (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.c4
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;
}