diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-11-28 02:15:39 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-11-28 02:15:39 +0300 |
commit | ea1df5652d97a0487923705ff169ce6ccefc629a (patch) | |
tree | a16c1df64e913974247b01ad57115e03528dabc5 /source/blender | |
parent | 8fb9ef7a1d53c13abdf5e2a920a73b3830757a4c (diff) |
-- bugfix: me.subdivide() was declared NOARGS but was expecting an arg,
causing a segfault. Thanks to Cam for catching it.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index 3aed4695ca1..ab286b20761 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -5528,7 +5528,7 @@ static struct PyMethodDef BPy_Mesh_methods[] = { "Convert selected triangles to quads (experimental)"}, {"quadToTriangle", (PyCFunction)Mesh_quad2tri, METH_VARARGS, "Convert selected quads to triangles (experimental)"}, - {"subdivide", (PyCFunction)Mesh_subdivide, METH_NOARGS, + {"subdivide", (PyCFunction)Mesh_subdivide, METH_VARARGS, "Subdivide selected edges in a mesh (experimental)"}, {"remDoubles", (PyCFunction)Mesh_removeDoubles, METH_VARARGS, "Removes duplicates from selected vertices (experimental)"}, |