remove foreach_get/set for rna arrays, was crashing and are only valid for collections.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 15 Aug 2010 16:06:26 +0000 (16:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 15 Aug 2010 16:06:26 +0000 (16:06 +0000)
source/blender/python/intern/bpy_rna.c

index e0a684bb7672a60483436598805b45cf4252c646..05ccabe16419d8ba831fa86013af753dff646e96 100644 (file)
@@ -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}
 };