Fix T77315 Overlay: Selection Highlighting not working with complex scene
Was caused by a UBO bind to the wrong slot.
This commit is contained in:
parent
78017916f7
commit
0f32029522
Notes:
blender-bot
2023-02-14 05:16:25 +01:00
Referenced by issue #77315, Selection Highlighting (Outline Selected) not working in complex scene
|
@ -953,7 +953,7 @@ static void draw_call_resource_bind(DRWCommandsState *state, const DRWResourceHa
|
|||
}
|
||||
if (state->obinfos_loc != -1) {
|
||||
GPU_uniformbuffer_unbind(DST.vmempool->obinfos_ubo[state->resource_chunk]);
|
||||
GPU_uniformbuffer_bind(DST.vmempool->obinfos_ubo[chunk], 1);
|
||||
GPU_uniformbuffer_bind(DST.vmempool->obinfos_ubo[chunk], state->obinfos_loc);
|
||||
}
|
||||
state->resource_chunk = chunk;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue