Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2019-12-17 16:34:49 +0300
committermano-wii <germano.costa@ig.com.br>2019-12-17 16:34:49 +0300
commit84c1e57dfeed1f6a84bd210d949b4285c3132064 (patch)
tree2719e6c789bb462bd52b9a9975443bf78dbb2bb2 /source/blender/draw/intern/draw_manager.c
parentbda4a284d20164fec2433f7c40f49fc903319400 (diff)
Fix T72507: Depth of bones missing for navigation
Regression introduced in rBb11272a0
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r--source/blender/draw/intern/draw_manager.c3
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();