Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_deform.h
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
| struct bDeformGroup *BKE_object_defgroup_new(struct Object *ob, const char *name); | struct bDeformGroup *BKE_object_defgroup_new(struct Object *ob, const char *name); | ||||
| void BKE_defgroup_copy_list(struct ListBase *outbase, const struct ListBase *inbase); | void BKE_defgroup_copy_list(struct ListBase *outbase, const struct ListBase *inbase); | ||||
| struct bDeformGroup *BKE_defgroup_duplicate(const struct bDeformGroup *ingroup); | struct bDeformGroup *BKE_defgroup_duplicate(const struct bDeformGroup *ingroup); | ||||
| struct bDeformGroup *BKE_object_defgroup_find_name(const struct Object *ob, const char *name); | struct bDeformGroup *BKE_object_defgroup_find_name(const struct Object *ob, const char *name); | ||||
| /** | /** | ||||
| * \note caller must free. | * \note caller must free. | ||||
| */ | */ | ||||
| int *BKE_object_defgroup_flip_map(const struct Object *ob, int *flip_map_len, bool use_default); | int *BKE_object_defgroup_flip_map(const struct Object *ob, int *flip_map_len, bool use_default); | ||||
| /** | |||||
| * Returns flip map for only unlocked defgroups. | |||||
| * \note caller must free. | |||||
| */ | |||||
| int *BKE_object_defgroup_flip_map_unlocked(const struct Object *ob, | |||||
campbellbarton: Prefer name `BKE_object_defgroup_flip_map_unlocked` (auto-completes more usefully). | |||||
Done Inline ActionsWas unsure of the name, I like this better. Thanks! nrupsis: Was unsure of the name, I like this better. Thanks! | |||||
| int *flip_map_len, | |||||
| bool use_default); | |||||
| /** | /** | ||||
| * \note caller must free. | * \note caller must free. | ||||
| */ | */ | ||||
| int *BKE_object_defgroup_flip_map_single(const struct Object *ob, | int *BKE_object_defgroup_flip_map_single(const struct Object *ob, | ||||
| int *flip_map_len, | int *flip_map_len, | ||||
| bool use_default, | bool use_default, | ||||
| int defgroup); | int defgroup); | ||||
| int BKE_object_defgroup_flip_index(const struct Object *ob, int index, bool use_default); | int BKE_object_defgroup_flip_index(const struct Object *ob, int index, bool use_default); | ||||
| ▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines | |||||
Prefer name BKE_object_defgroup_flip_map_unlocked (auto-completes more usefully).