Fix T55078: Assert statement
This commit is contained in:
parent
bcf6cc1f6b
commit
10fe8ec68f
Notes:
blender-bot
2023-02-14 06:00:50 +01:00
Referenced by issue #55078, Crash when using bone selection overlay
|
@ -247,6 +247,7 @@ static void POSE_draw_scene(void *vedata)
|
|||
if(bone_selection_overlay) {
|
||||
GPU_framebuffer_bind(dfbl->default_fb);
|
||||
DRW_draw_pass(psl->bone_selection);
|
||||
GPU_framebuffer_bind(dfbl->depth_only_fb);
|
||||
GPU_framebuffer_clear_depth(dfbl->depth_only_fb, 1.0);
|
||||
GPU_framebuffer_bind(dfbl->default_fb);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue