Blender Git Loki

Git Commits -> Revision 0b98b66

Revision 0b98b66 by Clément Foucault (temp-drawcontext)
February 20, 2018, 21:45 (GMT)
DRW: Fix DRW_draw_select_loop and DRW_draw_depth_loop

Depth of selection offscreen buffer was uninitialized and selection was behaving badly.

DRW_draw_depth_loop needed to be updated to use the drawmanager context but since the reading is done is quite some places outside of DRW, I prefered to still copy the depth to the backbuffer until we update all operators to use offscreen buffers.

Commit Details:

Full Hash: 0b98b668c4853f9e497173a319c00edb73ec3693
Parent Commit: be04746
Lines Changed: +81, -0

1 Added Path:

/source/blender/gpu/shaders/gpu_shader_image_depth_copy_frag.glsl (+12, -0) (View)

4 Modified Paths:

/source/blender/draw/intern/draw_manager.c (+64, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021