Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | ED_operatortypes_lattice (void) |
void | ED_keymap_lattice (struct wmKeyConfig *keyconf) |
bool | ED_lattice_flags_set (struct Object *obedit, int flag) |
bool | ED_lattice_select_pick (struct bContext *C, const int mval[2], const struct SelectPick_Params *params) |
bool | ED_lattice_deselect_all_multi_ex (struct Base **bases, uint bases_len) |
bool | ED_lattice_deselect_all_multi (struct bContext *C) |
void | ED_lattice_undosys_type (struct UndoType *ut) |
void ED_keymap_lattice | ( | struct wmKeyConfig * | keyconf | ) |
Definition at line 29 of file lattice_ops.c.
References ED_operator_editlattice(), wmKeyMap::poll, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
Definition at line 74 of file editlattice_select.c.
References BKE_view_layer_array_from_bases_in_edit_mode_unique_data, C, CTX_data_ensure_evaluated_depsgraph(), depsgraph, ED_lattice_deselect_all_multi_ex(), ED_view3d_viewcontext_init(), MEM_freeN, ViewContext::v3d, and ViewContext::view_layer.
Definition at line 62 of file editlattice_select.c.
References Object::data, DEG_id_tag_update(), ED_lattice_flags_set(), ID_RECALC_SELECT, and Base::object.
Referenced by ED_lattice_deselect_all_multi().
Definition at line 369 of file editlattice_select.c.
References Freestyle::a, Lattice::actbp, Object::data, Lattice::def, Lattice::editlatt, BPoint::f1, BPoint::hide, EditLatt::latt, LT_ACTBP_NONE, Lattice::pntsu, Lattice::pntsv, and Lattice::pntsw.
Referenced by do_lasso_select_lattice(), do_lattice_box_select(), ED_lattice_deselect_all_multi_ex(), ED_lattice_select_pick(), lattice_circle_select(), lattice_select_all_exec(), and lattice_select_ungrouped_exec().
bool ED_lattice_select_pick | ( | struct bContext * | C, |
const int | mval[2], | ||
const struct SelectPick_Params * | params | ||
) |
Definition at line 613 of file editlattice_select.c.
References Lattice::actbp, ViewLayer::basact, BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BLI_assert_unreachable, NearestLatticeVert_UserData::bp, C, CTX_data_ensure_evaluated_depsgraph(), Object::data, Lattice::def, DEG_id_tag_update(), depsgraph, ED_lattice_flags_set(), ED_object_base_activate(), ED_view3d_viewcontext_init(), ED_view3d_viewcontext_init_object(), Lattice::editlatt, BPoint::f1, findnearestLattvert(), ID_RECALC_SELECT, EditLatt::latt, LT_ACTBP_NONE, MEM_freeN, ViewContext::mval, NC_GEOM, ND_SELECT, NULL, ViewContext::obedit, Base::object, params, SEL_OP_ADD, SEL_OP_AND, SEL_OP_SET, SEL_OP_SUB, SEL_OP_XOR, SELECT, ViewContext::v3d, ViewContext::view_layer, and WM_event_add_notifier().
Referenced by view3d_select_exec().
Export for ED_undo_sys.
Definition at line 287 of file editlattice_undo.c.
References UndoType::flags, lattice_undosys_foreach_ID_ref(), lattice_undosys_poll(), lattice_undosys_step_decode(), lattice_undosys_step_encode(), lattice_undosys_step_free(), UndoType::name, UndoType::poll, UndoType::step_decode, UndoType::step_encode, UndoType::step_foreach_ID_ref, UndoType::step_free, UndoType::step_size, and UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE.
Referenced by ED_undosys_type_init().
Definition at line 17 of file lattice_ops.c.
References LATTICE_OT_flip(), LATTICE_OT_make_regular(), LATTICE_OT_select_all(), LATTICE_OT_select_less(), LATTICE_OT_select_mirror(), LATTICE_OT_select_more(), LATTICE_OT_select_random(), LATTICE_OT_select_ungrouped(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().