From 3a34d669e197b874d757a320ecae46d99714e2c2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 15 Aug 2010 16:06:26 +0000 Subject: remove foreach_get/set for rna arrays, was crashing and are only valid for collections. --- source/blender/python/intern/bpy_rna.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index e0a684bb767..05ccabe1641 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -3130,8 +3130,6 @@ static struct PyMethodDef pyrna_prop_methods[] = { }; static struct PyMethodDef pyrna_prop_array_methods[] = { - {"foreach_get", (PyCFunction)pyrna_prop_foreach_get, METH_VARARGS, NULL}, - {"foreach_set", (PyCFunction)pyrna_prop_foreach_set, METH_VARARGS, NULL}, {NULL, NULL, 0, NULL} }; -- cgit v1.2.3