diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2022-09-30 14:41:07 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-10-06 15:11:02 +0300 |
commit | a01ab2b4e093a35b56888cf646d84686bccb0fbd (patch) | |
tree | a9ee5c157b6da7e0a9ac17b637d872c4501d19ca /source/blender/makesrna | |
parent | 25533ac22d73086fb8841a7fc96018338fff44c5 (diff) |
Fix T101492: UV stitch crash (more than 32 objects selected)
Crash happened when adjusting operator props in Adjust Last Operation
panel.
When there are more than 32 objects selected in muti-object-editmode, we
are running into RNA array limit (`objects_selection_count` is defined as
an RNA array (which can only hold 32 entries, see
`RNA_MAX_ARRAY_LENGTH`), leading to reading random memory errors.
While there might be ways to make this work with more than 32 selected
objects (e.g. by instead using a collection, or investigate supporting
dynamic sized arrays for run-time RNA), this patch only cancels the
operator with a report message (instead of crashing).
Maniphest Tasks: T101492
Differential Revision: https://developer.blender.org/D16115
Diffstat (limited to 'source/blender/makesrna')
0 files changed, 0 insertions, 0 deletions