Blender Git Loki
Git Commits -> Revision a459ef2
Revision a459ef2 by Campbell Barton (master) March 1, 2018, 05:37 (GMT) |
Fix T54190: Occlusion query select failed By default select wasn't picking the nearest object, this could have been fixed by not clearing the depth buffer, but calling GPU_select_(begin/end) without the binded frame-buffer caused issues for depth-picking. So move GPU_select begin/end to a callback. This also has the advantage that only needs to populate the engines once to draw two passes. Note that cycling through objects fails with occlusion queries still, will fix shortly. |
Commit Details:
Full Hash: a459ef2827f1bb9e6ce92b0946a7463061c9ac55
Parent Commit: 68015f9
Lines Changed: +83, -31