diff options
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_metaball.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_metaball.c b/source/blender/draw/engines/overlay/overlay_metaball.c index b747000abc4..7805b63993e 100644 --- a/source/blender/draw/engines/overlay/overlay_metaball.c +++ b/source/blender/draw/engines/overlay/overlay_metaball.c @@ -92,6 +92,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) |