Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_object.h
| Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | void ED_object_wpaintmode_enter_ex(struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob); | struct Object *ob); | ||||
| void ED_object_wpaintmode_enter(struct bContext *C, struct Depsgraph *depsgraph); | void ED_object_wpaintmode_enter(struct bContext *C, struct Depsgraph *depsgraph); | ||||
| void ED_object_vpaintmode_exit_ex(struct Object *ob); | void ED_object_vpaintmode_exit_ex(struct Object *ob); | ||||
| void ED_object_vpaintmode_exit(struct bContext *C); | void ED_object_vpaintmode_exit(struct bContext *C); | ||||
| void ED_object_wpaintmode_exit_ex(struct Object *ob); | void ED_object_wpaintmode_exit_ex(struct Object *ob); | ||||
| void ED_object_wpaintmode_exit(struct bContext *C); | void ED_object_wpaintmode_exit(struct bContext *C); | ||||
| void ED_object_texture_paint_mode_exit_ex(struct bContext *C, Object *ob); | |||||
| void ED_object_texture_paint_mode_exit(struct bContext *C); | |||||
| void ED_object_particle_edit_mode_exit_ex(struct bContext *C, Object *ob); | |||||
| void ED_object_particle_edit_mode_exit(struct bContext *C); | |||||
natecraddock: I created the `ED_object_*_mode_exit()` functions here to match the convention, but they are… | |||||
| void ED_object_sculptmode_enter_ex(struct Main *bmain, | void ED_object_sculptmode_enter_ex(struct Main *bmain, | ||||
| struct Depsgraph *depsgraph, | struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| const bool force_dyntopo, | const bool force_dyntopo, | ||||
| struct ReportList *reports); | struct ReportList *reports); | ||||
| void ED_object_sculptmode_enter(struct bContext *C, | void ED_object_sculptmode_enter(struct bContext *C, | ||||
| ▲ Show 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | bool ED_object_mode_compat_set(struct bContext *C, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| eObjectMode mode, | eObjectMode mode, | ||||
| struct ReportList *reports); | struct ReportList *reports); | ||||
| void ED_object_mode_toggle(struct bContext *C, eObjectMode mode); | void ED_object_mode_toggle(struct bContext *C, eObjectMode mode); | ||||
| void ED_object_mode_set(struct bContext *C, eObjectMode mode); | void ED_object_mode_set(struct bContext *C, eObjectMode mode); | ||||
| void ED_object_mode_exit(struct bContext *C, struct Depsgraph *depsgraph); | void ED_object_mode_exit(struct bContext *C, struct Depsgraph *depsgraph); | ||||
| bool ED_object_mode_generic_enter(struct bContext *C, eObjectMode object_mode); | bool ED_object_mode_generic_enter(struct bContext *C, eObjectMode object_mode); | ||||
| void ED_object_mode_generic_exit(struct Main *bmain, | void ED_object_mode_generic_exit(struct bContext *C, | ||||
| struct Depsgraph *depsgraph, | struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob); | struct Object *ob); | ||||
| bool ED_object_mode_generic_has_data(struct Depsgraph *depsgraph, struct Object *ob); | |||||
| /* object_modifier.c */ | /* object_modifier.c */ | ||||
| enum { | enum { | ||||
| MODIFIER_APPLY_DATA = 1, | MODIFIER_APPLY_DATA = 1, | ||||
| MODIFIER_APPLY_SHAPE, | MODIFIER_APPLY_SHAPE, | ||||
| }; | }; | ||||
| struct ModifierData *ED_object_modifier_add(struct ReportList *reports, | struct ModifierData *ED_object_modifier_add(struct ReportList *reports, | ||||
| ▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines | |||||
I created the ED_object_*_mode_exit() functions here to match the convention, but they are not actually used. Should I keep the _exit or the _exit_ex or both?