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:
authorWillian Padovani Germano <wpgermano@gmail.com>2005-12-14 21:01:42 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2005-12-14 21:01:42 +0300
commit8304b73a08bc174e190c94ec05245a36e3ad66c2 (patch)
tree7a811eccf4a42fa307f96024f4096b5233edcfe3 /source/blender/python/api2_2x/NMesh.h
parent564ca3cede5f62a3595661d3c3e5c11cc924a2f3 (diff)
BPython:
- malformed nmeshes could crash Blender with a sigsegv. Related to old behavior that accepted "faces" with one or two verts. - removing unused var (store_edges) + doc update.
Diffstat (limited to 'source/blender/python/api2_2x/NMesh.h')
-rw-r--r--source/blender/python/api2_2x/NMesh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h
index 57d029b5d26..f1639d7d401 100644
--- a/source/blender/python/api2_2x/NMesh.h
+++ b/source/blender/python/api2_2x/NMesh.h
@@ -145,7 +145,7 @@ int NMesh_CheckPyObject( PyObject * pyobj );
void mesh_update( Mesh * mesh , Object * ob );
PyObject *new_NMesh( Mesh * oldmesh );
-Mesh *Mesh_fromNMesh( BPy_NMesh * nmesh , int store_edges );
+Mesh *Mesh_fromNMesh( BPy_NMesh * nmesh );
PyObject *NMesh_assignMaterials_toObject( BPy_NMesh * nmesh, Object * ob );
Material **nmesh_updateMaterials( BPy_NMesh * nmesh );
Material **newMaterialList_fromPyList( PyObject * list );