Files
test2/source/blender/editors/include/ED_lattice.hh
Campbell Barton 63cdb7eae4 Cleanup: pass SelectPick_Params by reference instead of pointer
Also use a return value from ED_select_pick_params_from_operator.
2025-05-08 13:50:14 +10:00

40 lines
855 B
C++

/* SPDX-FileCopyrightText: 2008 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup editors
*/
#pragma once
struct bContext;
struct KeyBlock;
struct Lattice;
struct Object;
struct SelectPick_Params;
struct UndoType;
struct wmKeyConfig;
/* `lattice_ops.cc` */
void ED_operatortypes_lattice();
void ED_keymap_lattice(wmKeyConfig *keyconf);
KeyBlock *ED_lattice_get_edit_shape_key(const Lattice *latt);
/* `editlattice_select.cc` */
bool ED_lattice_flags_set(Object *obedit, int flag);
/**
* \return True when pick finds an element or the selection changed.
*/
bool ED_lattice_select_pick(bContext *C, const int mval[2], const SelectPick_Params &params);
bool ED_lattice_deselect_all_multi(bContext *C);
/* `editlattice_undo.cc` */
/** Export for ED_undo_sys. */
void ED_lattice_undosys_type(UndoType *ut);