Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_object.h
| Show All 38 Lines | |||||
| struct Base; | struct Base; | ||||
| struct EnumPropertyItem; | struct EnumPropertyItem; | ||||
| struct ID; | struct ID; | ||||
| struct Main; | struct Main; | ||||
| struct ModifierData; | struct ModifierData; | ||||
| struct Object; | struct Object; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| struct bConstraint; | struct bConstraint; | ||||
| struct bContext; | struct bContext; | ||||
| struct bPoseChannel; | struct bPoseChannel; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct wmKeyMap; | struct wmKeyMap; | ||||
| struct wmOperator; | struct wmOperator; | ||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| struct PointerRNA; | struct PointerRNA; | ||||
| ▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| void ED_keymap_proportional_editmode(struct wmKeyConfig *keyconf, struct wmKeyMap *keymap, | void ED_keymap_proportional_editmode(struct wmKeyConfig *keyconf, struct wmKeyMap *keymap, | ||||
| const bool do_connected); | const bool do_connected); | ||||
| void ED_object_base_select(struct Base *base, eObjectSelect_Mode mode); | void ED_object_base_select(struct Base *base, eObjectSelect_Mode mode); | ||||
| void ED_object_base_activate(struct bContext *C, struct Base *base); | void ED_object_base_activate(struct bContext *C, struct Base *base); | ||||
| void ED_object_base_free_and_unlink(struct Main *bmain, struct Scene *scene, struct Object *ob); | void ED_object_base_free_and_unlink(struct Main *bmain, struct Scene *scene, struct Object *ob); | ||||
| /* single object duplicate, if (dupflag == 0), fully linked, else it uses the flags given */ | /* single object duplicate, if (dupflag == 0), fully linked, else it uses the flags given */ | ||||
| struct Base *ED_object_add_duplicate(struct Main *bmain, struct Scene *scene, struct SceneLayer *sl, struct Base *base, int dupflag); | struct Base *ED_object_add_duplicate(struct Main *bmain, struct Scene *scene, struct ViewLayer *sl, struct Base *base, int dupflag); | ||||
| void ED_object_parent(struct Object *ob, struct Object *parent, const int type, const char *substr); | void ED_object_parent(struct Object *ob, struct Object *parent, const int type, const char *substr); | ||||
| bool ED_object_mode_compat_set(struct bContext *C, struct Object *ob, int mode, struct ReportList *reports); | bool ED_object_mode_compat_set(struct bContext *C, struct Object *ob, int mode, struct ReportList *reports); | ||||
| void ED_object_toggle_modes(struct bContext *C, int mode); | void ED_object_toggle_modes(struct bContext *C, int mode); | ||||
| /* bitflags for enter/exit editmode */ | /* bitflags for enter/exit editmode */ | ||||
| #define EM_FREEDATA 1 | #define EM_FREEDATA 1 | ||||
| ▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
| struct ModifierData *ED_object_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, | struct ModifierData *ED_object_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, | ||||
| struct Object *ob, const char *name, int type); | struct Object *ob, const char *name, int type); | ||||
| bool ED_object_modifier_remove(struct ReportList *reports, struct Main *bmain, | bool ED_object_modifier_remove(struct ReportList *reports, struct Main *bmain, | ||||
| struct Object *ob, struct ModifierData *md); | struct Object *ob, struct ModifierData *md); | ||||
| void ED_object_modifier_clear(struct Main *bmain, struct Object *ob); | void ED_object_modifier_clear(struct Main *bmain, struct Object *ob); | ||||
| int ED_object_modifier_move_down(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | int ED_object_modifier_move_down(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | ||||
| int ED_object_modifier_move_up(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | int ED_object_modifier_move_up(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | ||||
| int ED_object_modifier_convert(struct ReportList *reports, struct Main *bmain, struct Scene *scene, | int ED_object_modifier_convert(struct ReportList *reports, struct Main *bmain, struct Scene *scene, | ||||
| struct SceneLayer *sl, struct Object *ob, struct ModifierData *md); | struct ViewLayer *sl, struct Object *ob, struct ModifierData *md); | ||||
| int ED_object_modifier_apply(struct ReportList *reports, const struct bContext *C, struct Scene *scene, | int ED_object_modifier_apply(struct ReportList *reports, const struct bContext *C, struct Scene *scene, | ||||
| struct Object *ob, struct ModifierData *md, int mode); | struct Object *ob, struct ModifierData *md, int mode); | ||||
| int ED_object_modifier_copy(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | int ED_object_modifier_copy(struct ReportList *reports, struct Object *ob, struct ModifierData *md); | ||||
| bool ED_object_iter_other(struct Main *bmain, struct Object *orig_ob, const bool include_orig, | bool ED_object_iter_other(struct Main *bmain, struct Object *orig_ob, const bool include_orig, | ||||
| bool (*callback)(struct Object *ob, void *callback_data), | bool (*callback)(struct Object *ob, void *callback_data), | ||||
| void *callback_data); | void *callback_data); | ||||
| Show All 23 Lines | |||||