|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | ED_operatortypes_lattice () |
| void | ED_keymap_lattice (wmKeyConfig *keyconf) |
| KeyBlock * | ED_lattice_get_edit_shape_key (const Lattice *latt) |
| bool | ED_lattice_flags_set (Object *obedit, int flag) |
| bool | ED_lattice_select_pick (bContext *C, const int mval[2], const SelectPick_Params *params) |
| bool | ED_lattice_deselect_all_multi (bContext *C) |
| void | ED_lattice_undosys_type (UndoType *ut) |
| void ED_keymap_lattice | ( | wmKeyConfig * | keyconf | ) |
Definition at line 33 of file lattice_ops.cc.
References ED_operator_editlattice(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
| bool ED_lattice_deselect_all_multi | ( | bContext * | C | ) |
Definition at line 77 of file editlattice_select.cc.
References BKE_view_layer_array_from_bases_in_edit_mode_unique_data(), CTX_data_ensure_evaluated_depsgraph(), depsgraph, ED_view3d_viewcontext_init(), lattice_deselect_all_multi(), ViewContext::scene, ViewContext::v3d, and ViewContext::view_layer.
Definition at line 364 of file editlattice_select.cc.
References Lattice::actbp, Object::data, Lattice::def, Lattice::editlatt, BPoint::f1, flag, 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_select_pick(), lattice_circle_select(), lattice_deselect_all_multi(), lattice_select_all_exec(), and lattice_select_ungrouped_exec().
Definition at line 39 of file lattice_ops.cc.
References BKE_keyblock_find_by_index(), BLI_assert, Lattice::editlatt, Lattice::key, and EditLatt::shapenr.
Referenced by blender::ed::object::shape_key_report_if_locked().
| bool ED_lattice_select_pick | ( | bContext * | C, |
| const int | mval[2], | ||
| const SelectPick_Params * | params ) |
Definition at line 600 of file editlattice_select.cc.
References Lattice::actbp, blender::ed::object::base_activate(), BKE_view_layer_active_base_get(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BKE_view_layer_synced_ensure(), BLI_assert_unreachable, CTX_data_ensure_evaluated_depsgraph(), Object::data, Lattice::def, DEG_id_tag_update(), depsgraph, ED_lattice_flags_set(), ED_view3d_viewcontext_init(), ED_view3d_viewcontext_init_object(), Lattice::editlatt, BPoint::f1, findnearestLattvert(), ID_RECALC_SELECT, EditLatt::latt, LT_ACTBP_NONE, ViewContext::mval, NC_GEOM, ND_SELECT, ViewContext::obedit, Base::object, params, ViewContext::scene, 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().
| void ED_lattice_undosys_type | ( | UndoType * | ut | ) |
Export for ED_undo_sys.
Definition at line 297 of file editlattice_undo.cc.
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().
| void ED_operatortypes_lattice | ( | ) |
Definition at line 21 of file lattice_ops.cc.
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().