[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52779] trunk/blender: add a message when solidify is used with only-edges, this isn' t properly supported.

Campbell Barton ideasman42 at gmail.com
Wed Dec 5 02:02:43 CET 2012


Revision: 52779
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52779
Author:   campbellbarton
Date:     2012-12-05 01:02:41 +0000 (Wed, 05 Dec 2012)
Log Message:
-----------
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

Modified Paths:
--------------
    trunk/blender/doc/python_api/rst/include__bmesh.rst
    trunk/blender/doc/python_api/sphinx_doc_gen.py
    trunk/blender/source/blender/modifiers/intern/MOD_solidify.c

Modified: trunk/blender/doc/python_api/rst/include__bmesh.rst
===================================================================
--- trunk/blender/doc/python_api/rst/include__bmesh.rst	2012-12-04 22:33:45 UTC (rev 52778)
+++ trunk/blender/doc/python_api/rst/include__bmesh.rst	2012-12-05 01:02:41 UTC (rev 52779)
@@ -42,7 +42,6 @@
    TODO items are...
 
    * add access to BMesh **walkers**
-   * add api for calling BMesh operators (unrelated to bpy.ops)
    * add custom-data manipulation functions add/remove/rename.
 
 Example Script

Modified: trunk/blender/doc/python_api/sphinx_doc_gen.py
===================================================================
--- trunk/blender/doc/python_api/sphinx_doc_gen.py	2012-12-04 22:33:45 UTC (rev 52778)
+++ trunk/blender/doc/python_api/sphinx_doc_gen.py	2012-12-05 01:02:41 UTC (rev 52779)
@@ -1538,8 +1538,8 @@
         "mathutils", "mathutils.geometry", "mathutils.noise",
         # misc
         "bgl", "blf", "gpu", "aud", "bpy_extras",
-        # bmesh
-        "bmesh", "bmesh.types", "bmesh.utils", "bmesh.ops",
+        # bmesh, submodules are in own page
+        "bmesh",
         )
 
     for mod in standalone_modules:

Modified: trunk/blender/source/blender/modifiers/intern/MOD_solidify.c
===================================================================
--- trunk/blender/source/blender/modifiers/intern/MOD_solidify.c	2012-12-04 22:33:45 UTC (rev 52778)
+++ trunk/blender/source/blender/modifiers/intern/MOD_solidify.c	2012-12-05 01:02:41 UTC (rev 52779)
@@ -750,6 +750,10 @@
 		CDDM_calc_normals(result);
 	}
 
+	if (numFaces == 0 && numEdges != 0) {
+		modifier_setError(md, "Faces needed for useful output");
+	}
+
 	return result;
 }
 




More information about the Bf-blender-cvs mailing list