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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-29 17:59:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-29 17:59:52 +0300
commit3e3363a6edd719038592567ee9b9e3a7db658458 (patch)
treeef12039ad697629dd9c22d88a94bf18890a95fb3 /source
parent97923d9b9892b422cfd4c5a795258a34e44c09e8 (diff)
parent315582f28cefbf158b308f0dea17dab949eb6eff (diff)
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/tools/bmesh_intersect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_intersect.c b/source/blender/bmesh/tools/bmesh_intersect.c
index c176210426b..710d7f79637 100644
--- a/source/blender/bmesh/tools/bmesh_intersect.c
+++ b/source/blender/bmesh/tools/bmesh_intersect.c
@@ -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);
}