|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | BKE_editlattice_free (struct Object *ob) |
| void | BKE_editlattice_make (struct Object *obedit) |
| void | BKE_editlattice_load (struct Object *obedit) |
| void BKE_editlattice_free | ( | struct Object * | ob | ) |
Definition at line 26 of file editlattice.cc.
References BKE_defvert_array_free(), Object::data, Lattice::def, Lattice::dvert, Lattice::editlatt, EditLatt::latt, MEM_freeN(), Lattice::pntsu, Lattice::pntsv, and Lattice::pntsw.
Referenced by BKE_editlattice_make(), and blender::ed::object::editmode_load_free_ex().
| void BKE_editlattice_load | ( | struct Object * | obedit | ) |
Definition at line 73 of file editlattice.cc.
References Lattice::actbp, BKE_defvert_array_copy(), BKE_defvert_array_free(), BLI_findlink(), Key::block, copy_v3_v3(), KeyBlock::data, Object::data, Lattice::def, Lattice::du, Lattice::dv, Lattice::dvert, Lattice::dw, Lattice::editlatt, Key::elemsize, Lattice::flag, Lattice::fu, Lattice::fv, Lattice::fw, Lattice::key, EditLatt::latt, MEM_callocN, MEM_dupallocN, MEM_freeN(), MEM_mallocN, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, EditLatt::shapenr, KeyBlock::totelem, Lattice::typeu, Lattice::typev, Lattice::typew, and BPoint::vec.
Referenced by blender::ed::object::editmode_load_free_ex().
| void BKE_editlattice_make | ( | struct Object * | obedit | ) |
Definition at line 46 of file editlattice.cc.
References BKE_defvert_array_copy(), BKE_editlattice_free(), BKE_keyblock_convert_to_lattice(), BKE_keyblock_from_object(), Object::data, Lattice::def, Lattice::dvert, Lattice::editlatt, Lattice::key, EditLatt::latt, MEM_callocN, MEM_dupallocN, MEM_mallocN, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, EditLatt::shapenr, and Object::shapenr.
Referenced by blender::ed::object::editmode_enter_ex().