realize-depth #5

Merged
Arye Ramaty merged 43 commits from David-Haver/blender:realize-depth into WIP-realize-depth 2024-03-31 17:22:49 +02:00
Showing only changes of commit 436b9a5aae - Show all commits

View File

@ -505,7 +505,7 @@ void ED_view3d_gizmo_mesh_preselect_get_active(bContext *C,
/* weak, allocate an array just to access the index. */
Base *base = nullptr;
Object *obedit = nullptr;
{
if (object_index != -1) {
Vector<Base *> bases = BKE_view_layer_array_from_bases_in_edit_mode(
scene, view_layer, CTX_wm_view3d(C));
if (object_index < bases.size()) {