[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59349] trunk/blender/source/blender/ python/bmesh/bmesh_py_types.c: correct error in last commit

Campbell Barton ideasman42 at gmail.com
Wed Aug 21 09:52:31 CEST 2013


Revision: 59349
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59349
Author:   campbellbarton
Date:     2013-08-21 07:52:31 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
correct error in last commit

Modified Paths:
--------------
    trunk/blender/source/blender/python/bmesh/bmesh_py_types.c

Modified: trunk/blender/source/blender/python/bmesh/bmesh_py_types.c
===================================================================
--- trunk/blender/source/blender/python/bmesh/bmesh_py_types.c	2013-08-21 07:51:47 UTC (rev 59348)
+++ trunk/blender/source/blender/python/bmesh/bmesh_py_types.c	2013-08-21 07:52:31 UTC (rev 59349)
@@ -2020,7 +2020,8 @@
 		/* Go ahead and make the face!
 		 * --------------------------- */
 
-		f_new = BM_face_create_verts(bm, vert_array, vert_seq_len, py_face_example->f, BM_CREATE_NOP, true);
+		f_new = BM_face_create_verts(bm, vert_array, vert_seq_len,
+		                             py_face_example ? py_face_example->f : NULL, BM_CREATE_NOP, true);
 
 		if (UNLIKELY(f_new == NULL)) {
 			PyErr_SetString(PyExc_ValueError,




More information about the Bf-blender-cvs mailing list