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

This commit is contained in:
2020-01-13 16:53:40 +01:00
parent b8bdb8e9e9
commit 84825e4b50

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) {