Fix T56695: Selecting an occluded object in xray causes crash
This commit is contained in:
parent
0db545554a
commit
be00a22c23
Notes:
blender-bot
2023-02-14 08:08:56 +01:00
Referenced by issue #56695, Selecting an occluded object in xray causes crash
|
@ -1027,6 +1027,9 @@ int view3d_opengl_select(
|
|||
drw_select_loop_pass, &drw_select_loop_user_data,
|
||||
object_filter.fn, object_filter.user_data);
|
||||
hits = drw_select_loop_user_data.hits;
|
||||
/* FIX: This cleanup the state before doing another selection pass.
|
||||
* (see T56695) */
|
||||
GPU_select_cache_end();
|
||||
}
|
||||
|
||||
if (hits == 0) {
|
||||
|
|
Loading…
Reference in New Issue