mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T86799: Boolean crashes duplicating object with "Fast" solver
BMesh intersect could leave invalid items in the selection list, causing a crash. The list is now cleared since boolean is such a destructive operation, it's unlikely the selection order would be useful. Thanks to @lukastoenne for finding the root cause.
This commit is contained in:
parent
5946352ae2
commit
315582f28c
1 changed files with 4 additions and 0 deletions
|
|
@ -1660,5 +1660,9 @@ bool BM_mesh_intersect(BMesh *bm,
|
|||
|
||||
BLI_memarena_free(s.mem_arena);
|
||||
|
||||
/* It's unlikely the selection history is useful at this point,
|
||||
* if this is not called this array would need to be validated, see: T86799. */
|
||||
BM_select_history_clear(bm);
|
||||
|
||||
return (has_edit_isect || has_edit_boolean);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue