forked from blender/blender
main sync #3
@ -3664,7 +3664,8 @@ static bool do_mesh_box_select(ViewContext *vc,
|
|||||||
}
|
}
|
||||||
if (ts->selectmode & SCE_SELECT_EDGE) {
|
if (ts->selectmode & SCE_SELECT_EDGE) {
|
||||||
/* Does both use_zbuf and non-use_zbuf versions (need screen cos for both) */
|
/* Does both use_zbuf and non-use_zbuf versions (need screen cos for both) */
|
||||||
struct BoxSelectUserData_ForMeshEdge cb_data {};
|
struct BoxSelectUserData_ForMeshEdge cb_data {
|
||||||
|
};
|
||||||
cb_data.data = &data;
|
cb_data.data = &data;
|
||||||
cb_data.esel = use_zbuf ? esel : nullptr;
|
cb_data.esel = use_zbuf ? esel : nullptr;
|
||||||
cb_data.backbuf_offset = use_zbuf ? DRW_select_buffer_context_offset_for_object_elem(
|
cb_data.backbuf_offset = use_zbuf ? DRW_select_buffer_context_offset_for_object_elem(
|
||||||
|
Loading…
Reference in New Issue
Block a user