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