Fix object centers & geometry selecting meta-elements in edit-mode

This commit is contained in:
Campbell Barton 2022-03-16 19:52:59 +11:00 committed by Philipp Oeser
parent 99ce71dd5b
commit 6aa4543462
Notes: blender-bot 2023-02-14 09:48:23 +01:00
Referenced by issue #96241, 3.1: Potential candidates for corrective releases
1 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,11 @@ void OVERLAY_edit_metaball_cache_populate(OVERLAY_Data *vedata, Object *ob)
select_id += 0x10000;
}
/* Needed so object centers and geometry are not detected as meta-elements. */
if (is_select) {
DRW_select_load_id(-1);
}
}
void OVERLAY_metaball_cache_populate(OVERLAY_Data *vedata, Object *ob)