Fix T72957 Crash using Eye dropper in Edit mode with X-ray
This commit is contained in:
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
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue