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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-22 14:26:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-22 14:30:13 +0300
commit78c3caf3c1b87f449837b11c903ddeaf00afe7b9 (patch)
tree58c82fafd7b0d06f28d4122a37d1ba08fa07d646 /source/blender/python
parent623ddc4aa6fc4006308fdbd9c7172d1fc7efcf17 (diff)
Fix crash auto-completing bpy.types in the Python console
Reference counting error in dc61a63e3f1bb3773677fb009fd787af7bd5c727
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index ae0d5b46458..189d8308c14 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -7729,7 +7729,7 @@ static PyObject *bpy_types_module_dir(PyObject *self)
PyObject *key, *value;
Py_ssize_t pos = 0;
while (PyDict_Next(submodule_dict, &pos, &key, &value)) {
- PyList_APPEND(ret, key);
+ PyList_Append(ret, key);
}
return ret;
}