66 void *filter_user_data,
71 const bool select_only,
74 const bool select_only,
120 struct Object *ob_parent_recurse,
157 #ifdef __RNA_TYPES_H__
170 const bool keep_transform,
171 const int vert_par[3]);
187 bool *r_any_visible);
263 const bool force_dyntopo,
284 float primmat[4][4]);
288 #define OBJECT_ADD_SIZE_MAXF 1.0e12f
297 const char view_align_axis,
301 bool *enter_editmode,
303 bool *is_view_aligned);
310 const bool enter_editmode,
311 const ushort local_view_bits,
318 const bool enter_editmode,
319 const unsigned short local_view_bits)
395 const bool is_mode_set);
453 const bool include_orig,
455 void *callback_data);
526 const unsigned int selection_mask);
537 const char *bone_name,
538 const bool reveal_hidden);
struct Object ATTR_RETURNS_NONNULL
#define ATTR_NONNULL(...)
struct Depsgraph Depsgraph
void ED_object_xform_skip_child_container_item_ensure_from_array(struct XFormObjectSkipChild_Container *xcs, struct ViewLayer *view_layer, struct Object **objects, uint objects_len)
bool ED_object_modifier_move_up(struct ReportList *reports, struct Object *ob, struct ModifierData *md)
bool ED_object_particle_edit_mode_supported(const Object *ob)
struct Object * ED_object_add_type_with_obdata(struct bContext *C, const int type, const char *name, const float loc[3], const float rot[3], const bool enter_editmode, const ushort local_view_bits, struct ID *obdata)
bool ED_object_calc_active_center(struct Object *ob, const bool select_only, float r_center[3])
void ED_object_shaderfx_clear(struct Main *bmain, struct Object *ob)
struct ModifierData * ED_object_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
void ED_objects_recalculate_paths(struct bContext *C, struct Scene *scene, eObjectPathCalcRange range)
void ED_operatortypes_object(void)
float ED_object_new_primitive_matrix(struct bContext *C, struct Object *obedit, const float loc[3], const float rot[3], float primmat[4][4])
void ED_object_check_force_modifiers(struct Main *bmain, struct Scene *scene, struct Object *object)
bool ED_object_calc_active_center_for_posemode(struct Object *ob, const bool select_only, float r_center[3])
void ED_object_vpaintmode_exit_ex(struct Object *ob)
void ED_object_particle_edit_mode_exit(struct bContext *C)
struct GpencilModifierData * ED_object_gpencil_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
void ED_object_add_unit_props_size(struct wmOperatorType *ot)
void ED_object_vpaintmode_exit(struct bContext *C)
void ED_object_xform_skip_child_container_update_all(struct XFormObjectSkipChild_Container *xcs, struct Main *bmain, struct Depsgraph *depsgraph)
bool ED_object_gpencil_modifier_copy(struct ReportList *reports, struct Object *ob, struct GpencilModifierData *md)
bool ED_object_shaderfx_remove(struct ReportList *reports, struct Main *bmain, struct Object *ob, struct ShaderFxData *fx)
struct Object * ED_object_context(const struct bContext *C)
bool ED_object_mode_set_ex(struct bContext *C, eObjectMode mode, bool use_undo, struct ReportList *reports)
bool ED_object_parent_set(struct ReportList *reports, const struct bContext *C, struct Scene *scene, struct Object *const ob, struct Object *const par, int partype, const bool xmirror, const bool keep_transform, const int vert_par[3])
bool ED_object_multires_update_totlevels_cb(struct Object *ob, void *totlevel_v)
const struct EnumPropertyItem * ED_object_vgroup_selection_itemf_helper(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free, const unsigned int selection_mask)
void ED_object_xform_skip_child_container_destroy(struct XFormObjectSkipChild_Container *xcs)
int ED_object_shaderfx_move_up(struct ReportList *reports, struct Object *ob, struct ShaderFxData *fx)
void ED_object_modifier_link(struct bContext *C, struct Object *ob_dst, struct Object *ob_src)
void ED_object_base_activate_with_mode_exit_if_needed(struct bContext *C, struct Base *base)
@ CLEAR_PARENT_KEEP_TRANSFORM
void ED_object_shaderfx_link(struct Object *dst, struct Object *src)
bool ED_object_gpencil_modifier_move_to_index(struct ReportList *reports, struct Object *ob, struct GpencilModifierData *md, const int index)
bool ED_object_mode_compat_test(const struct Object *ob, eObjectMode mode)
void ED_object_facemap_face_add(struct Object *ob, struct bFaceMap *fmap, int facenum)
void ED_object_parent_clear(struct Object *ob, const int type)
void ED_object_texture_paint_mode_enter(struct bContext *C)
void ED_object_mode_generic_exit(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob)
bool ED_object_modifier_convert(struct ReportList *reports, struct Main *bmain, struct Depsgraph *depsgraph, struct ViewLayer *view_layer, struct Object *ob, struct ModifierData *md)
void ED_object_modifier_copy_to_object(struct bContext *C, struct Object *ob_dst, struct Object *ob_src, struct ModifierData *md)
struct bConstraint * ED_object_constraint_active_get(struct Object *ob)
void ED_object_wpaintmode_exit_ex(struct Object *ob)
void ED_object_constraint_active_set(struct Object *ob, struct bConstraint *con)
bool ED_object_jump_to_object(struct bContext *C, struct Object *ob, const bool reveal_hidden)
struct ListBase * ED_object_constraint_list_from_constraint(struct Object *ob, struct bConstraint *con, struct bPoseChannel **r_pchan)
void ED_object_modifier_clear(struct Main *bmain, struct Scene *scene, struct Object *ob)
bool ED_object_gpencil_modifier_move_up(struct ReportList *reports, struct Object *ob, struct GpencilModifierData *md)
bool ED_object_modifier_copy(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, struct ModifierData *md)
void ED_object_vpaintmode_enter(struct bContext *C, struct Depsgraph *depsgraph)
void ED_object_base_select(struct Base *base, eObjectSelect_Mode mode)
void ED_object_base_active_refresh(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer)
struct XFormObjectSkipChild_Container * ED_object_xform_skip_child_container_create(void)
void ED_object_data_xform_restore(struct XFormObjectData *xod)
bool ED_object_editmode_exit_multi_ex(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, int flag)
bool ED_object_gpencil_modifier_remove(struct ReportList *reports, struct Main *bmain, struct Object *ob, struct GpencilModifierData *md)
void ED_object_sculptmode_exit(struct bContext *C, struct Depsgraph *depsgraph)
void ED_object_single_user(struct Main *bmain, struct Scene *scene, struct Object *ob)
void ED_object_texture_paint_mode_enter_ex(struct Main *bmain, struct Scene *scene, Object *ob)
bool ED_object_editmode_exit_ex(struct Main *bmain, struct Scene *scene, struct Object *obedit, int flag)
void ED_object_texture_paint_mode_exit_ex(struct Main *bmain, struct Scene *scene, Object *ob)
void ED_object_base_init_transform_on_add(struct Object *object, const float loc[3], const float rot[3])
struct Base * ED_object_add_duplicate(struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, struct Base *base, const eDupli_ID_Flags dupflag)
void ED_object_constraint_copy_for_pose(struct Main *bmain, struct Object *ob_dst, struct bPoseChannel *pchan, struct bConstraint *con)
bool ED_object_gpencil_modifier_apply(struct Main *bmain, struct ReportList *reports, struct Depsgraph *depsgraph, struct Object *ob, struct GpencilModifierData *md, int mode)
bool ED_object_editmode_enter_ex(struct Main *bmain, struct Scene *scene, struct Object *ob, int flag)
void ED_object_constraint_tag_update(struct Main *bmain, struct Object *ob, struct bConstraint *con)
struct XFormObjectData * ED_object_data_xform_create_ex(struct ID *id, bool is_edit_mode)
void ED_object_constraint_update(struct Main *bmain, struct Object *ob)
void ED_object_shaderfx_copy(struct Object *dst, struct ShaderFxData *fx)
void ED_object_location_from_view(struct bContext *C, float loc[3])
struct Object * ED_object_active_context(const struct bContext *C)
void ED_object_particle_edit_mode_enter_ex(struct Depsgraph *depsgraph, struct Scene *scene, Object *ob)
void ED_object_add_unit_props_radius_ex(struct wmOperatorType *ot, float default_value)
void ED_object_data_xform_container_destroy(struct XFormObjectData_Container *xds)
struct ListBase * ED_object_constraint_active_list(struct Object *ob)
bool ED_object_editmode_free_ex(struct Main *bmain, struct Object *obedit)
bool ED_object_jump_to_bone(struct bContext *C, struct Object *ob, const char *bone_name, const bool reveal_hidden)
void ED_object_rotation_from_quat(float rot[3], const float quat[4], const char align_axis)
bool ED_object_gpencil_modifier_move_down(struct ReportList *reports, struct Object *ob, struct GpencilModifierData *md)
bool ED_object_modifier_remove(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, struct ModifierData *md)
void ED_object_particle_edit_mode_exit_ex(struct Scene *scene, Object *ob)
bool ED_object_shaderfx_move_to_index(struct ReportList *reports, struct Object *ob, struct ShaderFxData *fx, const int index)
bool ED_object_iter_other(struct Main *bmain, struct Object *orig_ob, const bool include_orig, bool(*callback)(struct Object *ob, void *callback_data), void *callback_data)
@ XFORM_OB_SKIP_CHILD_PARENT_APPLY
@ XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT
@ XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM
bool ED_object_editmode_enter(struct bContext *C, int flag)
void ED_object_xform_skip_child_container_item_ensure(struct XFormObjectSkipChild_Container *xcs, struct Object *ob, struct Object *ob_parent_recurse, int mode)
struct XFormObjectData * ED_object_data_xform_create_from_edit_mode(ID *id)
void ED_object_base_activate(struct bContext *C, struct Base *base)
void ED_object_wpaintmode_enter(struct bContext *C, struct Depsgraph *depsgraph)
bool ED_object_mode_set(struct bContext *C, eObjectMode mode)
void ED_object_parent(struct Object *ob, struct Object *parent, const int type, const char *substr)
bool ED_object_editmode_load(struct Main *bmain, struct Object *obedit)
struct Object * ED_object_add_type(struct bContext *C, const int type, const char *name, const float loc[3], const float rot[3], const bool enter_editmode, const unsigned short local_view_bits) ATTR_NONNULL(1) ATTR_RETURNS_NONNULL
struct Base * ED_object_find_first_by_data_id(struct ViewLayer *view_layer, struct ID *id)
void ED_object_texture_paint_mode_exit(struct bContext *C)
void ED_objects_clear_paths(struct bContext *C, bool only_selected)
void ED_collection_hide_menu_draw(const struct bContext *C, struct uiLayout *layout)
bool ED_object_base_deselect_all_ex(struct ViewLayer *view_layer, struct View3D *v3d, int action, bool *r_any_visible)
bool ED_object_editmode_exit(struct bContext *C, int flag)
void ED_object_data_xform_destroy(struct XFormObjectData *xod_base)
struct ListBase * ED_object_pose_constraint_list(const struct bContext *C)
void ED_object_select_linked_by_id(struct bContext *C, struct ID *id)
void ED_object_base_free_and_unlink(struct Main *bmain, struct Scene *scene, struct Object *ob)
void ED_object_gpencil_modifier_clear(struct Main *bmain, struct Object *ob)
void ED_object_constraint_link(struct Main *bmain, struct Object *ob_dst, struct ListBase *dst, struct ListBase *src)
Object ** ED_object_array_in_mode_or_selected(struct bContext *C, bool(*filter_fn)(struct Object *ob, void *user_data), void *filter_user_data, uint *r_objects_len)
void ED_object_data_xform_container_item_ensure(struct XFormObjectData_Container *xds, struct Object *ob)
@ OBJECT_PATH_CALC_RANGE_CHANGED
@ OBJECT_PATH_CALC_RANGE_CURRENT_FRAME
@ OBJECT_PATH_CALC_RANGE_FULL
bool ED_object_modifier_apply(struct Main *bmain, struct ReportList *reports, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct ModifierData *md, int mode, bool keep_modifier)
void ED_object_data_xform_by_mat4(struct XFormObjectData *xod, const float mat[4][4])
bool ED_object_modifier_move_down(struct ReportList *reports, struct Object *ob, struct ModifierData *md)
void ED_object_data_xform_tag_update(struct XFormObjectData *xod)
void ED_object_constraint_dependency_update(struct Main *bmain, struct Object *ob)
void ED_object_data_xform_container_update_all(struct XFormObjectData_Container *xds, struct Main *bmain, struct Depsgraph *depsgraph)
void ED_object_vpaintmode_enter_ex(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob)
bool ED_object_modifier_move_to_index(struct ReportList *reports, struct Object *ob, struct ModifierData *md, const int index)
void ED_object_posemode_set_for_weight_paint(struct bContext *C, struct Main *bmain, struct Object *ob, const bool is_mode_set)
void ED_operatormacros_object(void)
void ED_object_particle_edit_mode_enter(struct bContext *C)
bool ED_object_constraint_move_to_index(struct Object *ob, struct bConstraint *con, const int index)
void ED_object_gpencil_modifier_copy_to_object(struct Object *ob_dst, struct GpencilModifierData *md)
void ED_keymap_object(struct wmKeyConfig *keyconf)
void ED_object_add_generic_props(struct wmOperatorType *ot, bool do_editmode)
bool ED_object_editmode_exit_multi(struct bContext *C, int flag)
struct XFormObjectData_Container * ED_object_data_xform_container_create(void)
void ED_object_constraint_copy_for_object(struct Main *bmain, struct Object *ob_dst, struct bConstraint *con)
void ED_object_wpaintmode_exit(struct bContext *C)
bool ED_object_mode_generic_has_data(struct Depsgraph *depsgraph, struct Object *ob)
void ED_object_base_free_and_unlink_no_indirect_check(struct Main *bmain, struct Scene *scene, struct Object *ob)
void ED_object_constraint_dependency_tag_update(struct Main *bmain, struct Object *ob, struct bConstraint *con)
bool ED_object_calc_active_center_for_editmode(struct Object *obedit, const bool select_only, float r_center[3])
void object_test_constraints(struct Main *bmain, struct Object *ob)
void ED_object_rotation_from_view(struct bContext *C, float rot[3], const char align_axis)
struct ShaderFxData * ED_object_shaderfx_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
struct XFormObjectData * ED_object_data_xform_create(struct ID *id)
bool ED_object_base_deselect_all(struct ViewLayer *view_layer, struct View3D *v3d, int action)
bool ED_object_add_generic_get_opts(struct bContext *C, struct wmOperator *op, const char view_align_axis, float loc[3], float rot[3], float scale[3], bool *enter_editmode, unsigned short *local_view_bits, bool *is_view_aligned)
void ED_object_sculptmode_exit_ex(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob)
bool ED_object_mode_compat_set(struct bContext *C, struct Object *ob, eObjectMode mode, struct ReportList *reports)
int ED_object_shaderfx_move_down(struct ReportList *reports, struct Object *ob, struct ShaderFxData *fx)
void ED_object_add_mesh_props(struct wmOperatorType *ot)
void ED_object_facemap_face_remove(struct Object *ob, struct bFaceMap *fmap, int facenum)
void ED_object_sculptmode_enter_ex(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, const bool force_dyntopo, struct ReportList *reports)
void ED_object_wpaintmode_enter_ex(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob)
void ED_object_sculptmode_enter(struct bContext *C, struct Depsgraph *depsgraph, struct ReportList *reports)
void ED_object_add_unit_props_radius(struct wmOperatorType *ot)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
const Depsgraph * depsgraph
DEGForeachIDComponentCallback callback
EnumPropertyItem prop_clear_parent_types[]
EnumPropertyItem prop_make_parent_types[]
unsigned short local_view_bits