forked from blender/blender
realize-depth #5
@ -506,7 +506,7 @@ void ED_view3d_gizmo_mesh_preselect_get_active(const bContext *C,
|
|||||||
/* weak, allocate an array just to access the index. */
|
/* weak, allocate an array just to access the index. */
|
||||||
Base *base = nullptr;
|
Base *base = nullptr;
|
||||||
Object *obedit = nullptr;
|
Object *obedit = nullptr;
|
||||||
{
|
if (object_index != -1) {
|
||||||
Vector<Base *> bases = BKE_view_layer_array_from_bases_in_edit_mode(
|
Vector<Base *> bases = BKE_view_layer_array_from_bases_in_edit_mode(
|
||||||
scene, view_layer, CTX_wm_view3d(C));
|
scene, view_layer, CTX_wm_view3d(C));
|
||||||
if (object_index < bases.size()) {
|
if (object_index < bases.size()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user