diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-16 22:27:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-16 22:27:38 +0300 |
commit | 0b3dfc441eddb0d4840205d9afe7d53026f2ab9c (patch) | |
tree | 8fe173be141d8ddec931b10a1205bcb5a513ad66 /source/blender | |
parent | ad01c90ee3942fb2a4a792f0454a136b441f42b4 (diff) |
pyrna, adding back foreach functions from collections. they are needed!
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 8d9678df389..9b754f9e635 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -2654,6 +2654,9 @@ static struct PyMethodDef pyrna_prop_array_methods[] = { }; static struct PyMethodDef pyrna_prop_collection_methods[] = { + {"foreach_get", (PyCFunction)pyrna_prop_foreach_get, METH_VARARGS, NULL}, + {"foreach_set", (PyCFunction)pyrna_prop_foreach_set, METH_VARARGS, NULL}, + {"keys", (PyCFunction)pyrna_prop_keys, METH_NOARGS, NULL}, {"items", (PyCFunction)pyrna_prop_items, METH_NOARGS,NULL}, {"values", (PyCFunction)pyrna_prop_values, METH_NOARGS, NULL}, |