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:
authorClément Foucault <foucault.clem@gmail.com>2021-10-12 15:43:41 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-10-12 17:47:42 +0300
commit45f167237f0cbebfed95e8b58b405367070ac305 (patch)
tree54aa790cda4540ed4bd7c980c1d7466836c3c105 /source/blender/draw/intern/draw_manager.c
parent6535779c92b90035870047f178cf3eff95f0bdf0 (diff)
Fix T91981: Crash when using operators that needs scene depth
There was a double lock in the object depth drawing function. Also the texture read was not reading the texture with the right format. Now it needs a conversion. Fix T91981 Particle Edit make Blender Crash Fix T92006 Light spot interactively point can't use
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r--source/blender/draw/intern/draw_manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index c8900d64935..4761e8b755f 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -2801,7 +2801,6 @@ void DRW_draw_depth_object(
GPU_framebuffer_restore();
GPU_framebuffer_free(depth_fb);
- DRW_opengl_context_disable();
}
/** \} */