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 <campbell@blender.org>2022-08-24 03:20:52 +0300
committerCampbell Barton <campbell@blender.org>2022-08-24 03:20:52 +0300
commitbe81690b73ad1e1a54da43b38b791d7c866ec0e1 (patch)
tree42a4743d1e83c4fef3a66fb9c9ecf2ef84849ad3 /source/blender/python
parent649807a8cd3ba7815a5609b92ffb3f3ac77e1fea (diff)
parent112a2c0627fad56a38030b080ef63fd9ffa4c90b (diff)
Merge branch 'blender-v3.3-release'
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 c565f96741c..56de0bfc18e 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -2250,7 +2250,7 @@ static PyObject *pyrna_prop_collection_subscript_int(BPy_PropertyRNA *self, Py_s
}
else {
/* No callback defined, just iterate and find the nth item. */
- const int key = (int)keynum;
+ const int key = (int)keynum_abs;
PyObject *result = NULL;
bool found = false;
CollectionPropertyIterator iter;