Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_object.h
| Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | |||||
| 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); | ||||
| /* bitflags for enter/exit editmode */ | /* bitflags for enter/exit editmode */ | ||||
| enum { | enum { | ||||
| EM_FREEDATA = (1 << 0), | EM_FREEDATA = (1 << 0), | ||||
| EM_WAITCURSOR = (1 << 1), | EM_WAITCURSOR = (1 << 1), | ||||
| EM_DO_UNDO = (1 << 2), | EM_DO_UNDO = (1 << 2), | ||||
| EM_IGNORE_LAYER = (1 << 3), | EM_IGNORE_LAYER = (1 << 3), | ||||
| EM_NO_CONTEXT = (1 << 4), | |||||
| }; | }; | ||||
| void ED_object_editmode_exit_ex( | void ED_object_editmode_exit_ex( | ||||
| struct bContext *C, struct Scene *scene, struct Object *obedit, int flag); | struct bContext *C, struct Scene *scene, struct Object *obedit, int flag); | ||||
| void ED_object_editmode_exit(struct bContext *C, int flag); | void ED_object_editmode_exit(struct bContext *C, int flag); | ||||
| void ED_object_editmode_enter_ex(struct Scene *scene, struct Object *ob, int flag); | |||||
| void ED_object_editmode_enter(struct bContext *C, int flag); | void ED_object_editmode_enter(struct bContext *C, int flag); | ||||
| bool ED_object_editmode_load(struct Object *obedit); | bool ED_object_editmode_load(struct Object *obedit); | ||||
| bool ED_object_editmode_calc_active_center(struct Object *obedit, const bool select_only, float r_center[3]); | bool ED_object_editmode_calc_active_center(struct Object *obedit, const bool select_only, float r_center[3]); | ||||
| void ED_object_vpaintmode_enter_ex( | void ED_object_vpaintmode_enter_ex( | ||||
| const struct EvaluationContext *eval_ctx, struct wmWindowManager *wm, | const struct EvaluationContext *eval_ctx, struct wmWindowManager *wm, | ||||
| ▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines | |||||