Fix T72957 Crash using Eye dropper in Edit mode with X-ray

This commit is contained in:
Clément Foucault 2020-01-13 16:53:40 +01:00
parent b8bdb8e9e9
commit 84825e4b50
Notes: blender-bot 2023-02-14 11:28:43 +01:00
Referenced by issue #72957, Crash using Eye dropper in Edit mode with X-ray
Referenced by issue #72444, Crash when ctrl-selecting vertices
1 changed files with 5 additions and 0 deletions

View File

@ -412,6 +412,11 @@ static void OVERLAY_draw_scene(void *vedata)
OVERLAY_motion_path_draw(vedata);
OVERLAY_extra_centers_draw(vedata);
if (DRW_state_is_select()) {
/* Edit modes have their own selection code. */
return;
}
/* Functions after this point can change FBO freely. */
switch (pd->ctx_mode) {