diff options
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 5832db31c4e..b747222e387 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -2468,6 +2468,9 @@ void DRW_draw_depth_loop(struct Depsgraph *depsgraph, /* Get list of enabled engines */ { + /* Required by `DRW_state_draw_support()` */ + DST.draw_ctx.v3d = v3d; + drw_engines_enable_basic(); if (DRW_state_draw_support()) { drw_engines_enable_overlays(); |