diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-24 03:20:52 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-24 03:20:52 +0300 |
commit | be81690b73ad1e1a54da43b38b791d7c866ec0e1 (patch) | |
tree | 42a4743d1e83c4fef3a66fb9c9ecf2ef84849ad3 /source/blender/python/intern | |
parent | 649807a8cd3ba7815a5609b92ffb3f3ac77e1fea (diff) | |
parent | 112a2c0627fad56a38030b080ef63fd9ffa4c90b (diff) |
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
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; |