35 MEM_delete(editlt->
def);
58 lt->
editlatt = MEM_new<EditLatt>(
"editlatt");
65 "Lattice MDeformVert");
82 lt = id_cast<Lattice *>(obedit->
data);
87 lt->
def = MEM_dupalloc(editlt->
def);
117 fp =
static_cast<float *
>(
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
void BKE_defvert_array_free(MDeformVert *dvert, int totvert)
void BKE_editlattice_load(struct Object *obedit)
MINLINE void copy_v3_v3(float r[3], const float a[3])
void * MEM_new_array_uninitialized(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
void BKE_defvert_array_copy(MDeformVert *dst, const MDeformVert *src, int totvert)
void BKE_editlattice_make(struct Object *obedit)
KeyBlock * BKE_keyblock_from_object(Object *ob)
void BKE_editlattice_free(struct Object *ob)
void MEM_delete_void(void *vmemh)
void * BLI_findlink(const ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BKE_keyblock_convert_to_lattice(const KeyBlock *kb, Lattice *lt)
void * MEM_new_array_zeroed(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
ListBaseT< KeyBlock > block
struct EditLatt * editlatt
struct MDeformVert * dvert