Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_object.h
| Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Lines | float ED_object_new_primitive_matrix(struct bContext *C, | ||||
| const float loc[3], | const float loc[3], | ||||
| const float rot[3], | const float rot[3], | ||||
| float primmat[4][4]); | float primmat[4][4]); | ||||
| /* Avoid allowing too much insane values even by typing | /* Avoid allowing too much insane values even by typing | ||||
| * (typos can hang/crash Blender otherwise). */ | * (typos can hang/crash Blender otherwise). */ | ||||
| #define OBJECT_ADD_SIZE_MAXF 1.0e12f | #define OBJECT_ADD_SIZE_MAXF 1.0e12f | ||||
| void ED_object_add_unit_props_size(struct wmOperatorType *ot); | void ED_object_add_unit_props_size(struct wmOperatorType *ot, float default_value); | ||||
| void ED_object_add_unit_props_radius(struct wmOperatorType *ot); | void ED_object_add_unit_props_radius(struct wmOperatorType *ot); | ||||
| void ED_object_add_generic_props(struct wmOperatorType *ot, bool do_editmode); | void ED_object_add_generic_props(struct wmOperatorType *ot, bool do_editmode); | ||||
| void ED_object_add_mesh_props(struct wmOperatorType *ot); | void ED_object_add_mesh_props(struct wmOperatorType *ot); | ||||
| bool ED_object_add_generic_get_opts(struct bContext *C, | bool ED_object_add_generic_get_opts(struct bContext *C, | ||||
| struct wmOperator *op, | struct wmOperator *op, | ||||
| const char view_align_axis, | const char view_align_axis, | ||||
| float loc[3], | float loc[3], | ||||
| float rot[3], | float rot[3], | ||||
| ▲ Show 20 Lines • Show All 209 Lines • Show Last 20 Lines | |||||