|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | OBJECT_ADD_SIZE_MAXF 1.0e12f |
Typedefs | |
| typedef enum eParentType | eParentType |
| typedef enum eObjectSelect_Mode | eObjectSelect_Mode |
| typedef enum eObClearParentTypes | eObClearParentTypes |
| typedef enum eObjectPathCalcRange | eObjectPathCalcRange |
Enumerations | |
| enum | { XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM = 1 , XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT = 3 , XFORM_OB_SKIP_CHILD_PARENT_APPLY = 2 } |
| enum | eParentType { PAR_OBJECT , PAR_ARMATURE , PAR_ARMATURE_NAME , PAR_ARMATURE_ENVELOPE , PAR_ARMATURE_AUTO , PAR_BONE , PAR_BONE_RELATIVE , PAR_CURVE , PAR_FOLLOW , PAR_PATH_CONST , PAR_LATTICE , PAR_VERTEX , PAR_VERTEX_TRI } |
| enum | eObjectSelect_Mode { BA_DESELECT = 0 , BA_SELECT = 1 , BA_INVERT = 2 } |
| enum | eObClearParentTypes { CLEAR_PARENT_ALL = 0 , CLEAR_PARENT_KEEP_TRANSFORM , CLEAR_PARENT_INVERSE } |
| enum | { EM_FREEDATA = (1 << 0) , EM_NO_CONTEXT = (1 << 1) } |
| enum | eObjectPathCalcRange { OBJECT_PATH_CALC_RANGE_CURRENT_FRAME , OBJECT_PATH_CALC_RANGE_CHANGED , OBJECT_PATH_CALC_RANGE_FULL } |
| enum | { MODIFIER_APPLY_DATA = 1 , MODIFIER_APPLY_SHAPE } |
| #define OBJECT_ADD_SIZE_MAXF 1.0e12f |
Definition at line 288 of file ED_object.h.
| typedef enum eObClearParentTypes eObClearParentTypes |
| typedef enum eObjectPathCalcRange eObjectPathCalcRange |
| typedef enum eObjectSelect_Mode eObjectSelect_Mode |
| typedef enum eParentType eParentType |
| anonymous enum |
| Enumerator | |
|---|---|
| XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM | The parent is transformed, this is held in place. |
| XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT | The same as XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM, however this objects parent isn't transformed directly. |
| XFORM_OB_SKIP_CHILD_PARENT_APPLY | Use the parent invert matrix to apply transformation, this is needed, because breaks in the selection chain prevents this from being transformed. This is used to add the transform which would have been added if there weren't breaks in the parent/child chain. |
Definition at line 89 of file ED_object.h.
| anonymous enum |
| Enumerator | |
|---|---|
| EM_FREEDATA | |
| EM_NO_CONTEXT | |
Definition at line 203 of file ED_object.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MODIFIER_APPLY_DATA | |
| MODIFIER_APPLY_SHAPE | |
Definition at line 398 of file ED_object.h.
| enum eObClearParentTypes |
| Enumerator | |
|---|---|
| CLEAR_PARENT_ALL | |
| CLEAR_PARENT_KEEP_TRANSFORM | |
| CLEAR_PARENT_INVERSE | |
Definition at line 151 of file ED_object.h.
| enum eObjectPathCalcRange |
| Enumerator | |
|---|---|
| OBJECT_PATH_CALC_RANGE_CURRENT_FRAME | |
| OBJECT_PATH_CALC_RANGE_CHANGED | |
| OBJECT_PATH_CALC_RANGE_FULL | |
Definition at line 328 of file ED_object.h.
| enum eObjectSelect_Mode |
| Enumerator | |
|---|---|
| BA_DESELECT | |
| BA_SELECT | |
| BA_INVERT | |
Definition at line 145 of file ED_object.h.
| enum eParentType |
| Enumerator | |
|---|---|
| PAR_OBJECT | |
| PAR_ARMATURE | |
| PAR_ARMATURE_NAME | |
| PAR_ARMATURE_ENVELOPE | |
| PAR_ARMATURE_AUTO | |
| PAR_BONE | |
| PAR_BONE_RELATIVE | |
| PAR_CURVE | |
| PAR_FOLLOW | |
| PAR_PATH_CONST | |
| PAR_LATTICE | |
| PAR_VERTEX | |
| PAR_VERTEX_TRI | |
Definition at line 129 of file ED_object.h.
Referenced by hide_collections_menu_draw().
| void ED_keymap_object | ( | struct wmKeyConfig * | keyconf | ) |
Definition at line 317 of file object_ops.c.
References object_mode_poll(), wmKeyMap::poll, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
Referenced by childof_clear_inverse_exec(), childof_set_inverse_exec(), constraint_delete_exec(), constraint_move_down_exec(), constraint_move_to_index_exec(), constraint_move_up_exec(), copy_particle_systems_exec(), copy_particle_systems_poll(), correctivesmooth_bind_exec(), data_transfer_exec(), data_transfer_poll(), datalayout_transfer_exec(), duplicate_particle_systems_exec(), duplicate_particle_systems_poll(), ED_mesh_context(), ED_operator_object_active(), ED_operator_object_active_editable(), ED_operator_object_active_editable_font(), ED_operator_object_active_editable_mesh(), ED_operator_object_active_local_editable(), ED_operator_outliner_active_no_editobject(), ED_operator_rigidbody_active_poll(), ED_operator_rigidbody_add_poll(), ED_operator_rigidbody_con_active_poll(), edit_constraint_invoke_properties(), edit_constraint_poll_generic(), edit_modifier_poll_generic(), edit_shaderfx_poll_generic(), explode_refresh_exec(), fluid_free_exec(), fluid_initjob(), fluid_pause_exec(), followpath_path_animate_exec(), get_new_constraint_target(), gpencil_edit_modifier_poll_generic(), gpencil_modifier_add_exec(), gpencil_modifier_add_itemf(), gpencil_modifier_apply_exec(), gpencil_modifier_copy_exec(), gpencil_modifier_copy_to_selected_exec(), gpencil_modifier_copy_to_selected_poll(), gpencil_modifier_move_down_exec(), gpencil_modifier_move_to_index_exec(), gpencil_modifier_move_up_exec(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_remove_exec(), gpencil_modifier_ui_poll(), gpencil_shaderfx_ops_extra_draw(), laplaciandeform_bind_exec(), limitdistance_reset_exec(), make_links_data_exec(), make_override_collections_of_linked_object_itemf(), make_override_library_invoke(), make_proxy_exec(), make_proxy_invoke(), meshdeform_bind_exec(), modifier_add_exec(), modifier_add_itemf(), modifier_apply_exec_ex(), modifier_apply_poll_ex(), modifier_convert_exec(), modifier_copy_exec(), modifier_copy_to_selected_exec(), modifier_copy_to_selected_poll(), modifier_move_down_exec(), modifier_move_to_index_exec(), modifier_move_up_exec(), modifier_ops_extra_draw(), modifier_remove_exec(), modifier_set_active_exec(), modifier_ui_poll(), multires_base_apply_exec(), multires_external_pack_exec(), multires_external_save_exec(), multires_external_save_invoke(), multires_higher_levels_delete_exec(), multires_rebuild_subdiv_exec(), multires_reshape_exec(), multires_subdivide_exec(), multires_unsubdivide_exec(), object_constraint_add_exec(), object_constraint_copy_exec(), objectsolver_clear_inverse_exec(), objectsolver_set_inverse_exec(), ocean_bake_exec(), parent_noinv_set_exec(), parent_set_exec(), parent_set_invoke_menu(), pose_constraint_add_exec(), proj_paint_add_slot(), proxy_collection_object_itemf(), rigidbody_object_add_exec(), rigidbody_object_remove_exec(), shaderfx_add_exec(), shaderfx_add_itemf(), shaderfx_copy_exec(), shaderfx_move_down_exec(), shaderfx_move_to_index_exec(), shaderfx_move_up_exec(), shaderfx_remove_exec(), shaderfx_ui_poll(), stretchto_reset_exec(), surfacedeform_bind_exec(), texture_paint_add_texture_paint_slot_exec(), texture_paint_add_texture_paint_slot_invoke(), track_set_exec(), uiTemplateConstraints(), uiTemplateGpencilModifiers(), uiTemplateModifiers(), and uiTemplateShaderFx().
| struct Base* ED_object_add_duplicate | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct ViewLayer * | view_layer, | ||
| struct Base * | base, | ||
| const eDupli_ID_Flags | dupflag | ||
| ) |
Definition at line 3313 of file object_add.c.
References BKE_libblock_relink_to_newid(), BKE_main_id_clear_newpoins(), Object::data, DEG_id_tag_update_ex(), Object::id, ID_RECALC_EDITORS, LIB_ID_DUPLICATE_IS_ROOT_ID, LIB_ID_DUPLICATE_IS_SUBPROCESS, NULL, Base::object, object_add_duplicate_internal(), and scene.
Referenced by gpencil_stroke_separate_exec(), mesh_separate_arrays(), mesh_separate_tagged(), separate_armature_exec(), and separate_exec().
| 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 | ||
| ) |
Definition at line 455 of file object_add.c.
References ALIGN_CURSOR, ALIGN_VIEW, ALIGN_WORLD, BKE_scene_cursor_rot_to_mat3(), C, copy_v3_fl(), CTX_data_scene(), CTX_wm_view3d(), Scene::cursor, ED_object_location_from_view(), ED_object_rotation_from_view(), View3D::local_view_uuid, View3D::localvd, mat3_normalized_to_eul(), wmOperator::ptr, RNA_float_get_array(), RNA_float_set_array(), RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_enum_get(), RNA_property_enum_set(), RNA_property_float_get_array(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), RNA_struct_property_is_set(), rot, scene, USER_ADD_CURSORALIGNED, USER_ADD_EDITMODE, and USER_ADD_VIEWALIGNED.
Referenced by add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cube_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_monkey_exec(), add_primitive_plane_exec(), add_primitive_uvsphere_exec(), collection_instance_add_exec(), curvesurf_prim_add(), effector_add_exec(), empty_drop_named_image_invoke(), lightprobe_add_exec(), object_add_exec(), object_add_text_exec(), object_armature_add_exec(), object_camera_add_exec(), object_data_instance_add_exec(), object_empty_add_exec(), object_gpencil_add_exec(), object_hair_add_exec(), object_light_add_exec(), object_metaball_add_exec(), object_pointcloud_add_exec(), object_speaker_add_exec(), and object_volume_add().
| void ED_object_add_generic_props | ( | struct wmOperatorType * | ot, |
| bool | do_editmode | ||
| ) |
Definition at line 397 of file object_add.c.
References align_options, ALIGN_WORLD, DEG2RADF, NULL, OBJECT_ADD_SIZE_MAXF, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_rotation(), RNA_def_float_vector_xyz(), RNA_def_property_flag(), RNA_def_property_update_runtime(), wmOperatorType::srna, and view_align_update().
Referenced by CURVE_OT_primitive_bezier_circle_add(), CURVE_OT_primitive_bezier_curve_add(), CURVE_OT_primitive_nurbs_circle_add(), CURVE_OT_primitive_nurbs_curve_add(), CURVE_OT_primitive_nurbs_path_add(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cube_add(), MESH_OT_primitive_cube_add_gizmo(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_monkey_add(), MESH_OT_primitive_plane_add(), MESH_OT_primitive_uv_sphere_add(), OBJECT_OT_add(), OBJECT_OT_armature_add(), OBJECT_OT_camera_add(), OBJECT_OT_collection_instance_add(), OBJECT_OT_data_instance_add(), OBJECT_OT_drop_named_image(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_gpencil_add(), OBJECT_OT_hair_add(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_metaball_add(), OBJECT_OT_pointcloud_add(), OBJECT_OT_speaker_add(), OBJECT_OT_text_add(), OBJECT_OT_volume_add(), OBJECT_OT_volume_import(), SURFACE_OT_primitive_nurbs_surface_circle_add(), SURFACE_OT_primitive_nurbs_surface_curve_add(), SURFACE_OT_primitive_nurbs_surface_cylinder_add(), SURFACE_OT_primitive_nurbs_surface_sphere_add(), SURFACE_OT_primitive_nurbs_surface_surface_add(), and SURFACE_OT_primitive_nurbs_surface_torus_add().
| void ED_object_add_mesh_props | ( | struct wmOperatorType * | ot | ) |
Definition at line 450 of file object_add.c.
References ot, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), MESH_OT_primitive_cube_add(), MESH_OT_primitive_cube_add_gizmo(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_monkey_add(), MESH_OT_primitive_plane_add(), and MESH_OT_primitive_uv_sphere_add().
| 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 | ||
| ) |
Definition at line 659 of file object_add.c.
References C, ED_object_add_type_with_obdata(), NULL, rot, and type.
Referenced by collection_instance_add_exec(), collection_instance_exec(), curvesurf_prim_add(), ED_gpencil_add_object(), effector_add_exec(), empty_drop_named_image_invoke(), geometry_extract_apply(), lightprobe_add_exec(), make_prim_init(), object_add_exec(), object_add_text_exec(), object_armature_add_exec(), object_camera_add_exec(), object_empty_add_exec(), object_gpencil_add_exec(), object_hair_add_exec(), object_light_add_exec(), object_metaball_add_exec(), object_pointcloud_add_exec(), object_speaker_add_exec(), object_volume_add(), and paint_mask_slice_exec().
| struct Object* ED_object_add_type_with_obdata | ( | 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, | ||
| ID * | obdata | ||
| ) |
For object add primitive operators, or for object creation when obdata != NULL.
| obdata | Assigned to Object.data, with increased user count. |
Definition at line 596 of file object_add.c.
References ViewLayer::basact, BASACT, BKE_id_material_len_p(), BKE_object_add(), BKE_object_add_for_data(), BKE_object_materials_test(), BKE_object_obdata_to_type(), BLI_assert, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), Object::data, DEG_id_tag_update(), DEG_id_tag_update_ex(), DEG_id_type_tag(), DEG_relations_tag_update(), ED_object_base_activate(), ED_object_base_init_transform_on_add(), ED_object_editmode_enter_ex(), ED_object_editmode_exit_ex(), ED_outliner_select_sync_from_object_tag(), EM_FREEDATA, Scene::id, ID_OB, ID_RECALC_EDITORS, NC_SCENE, ND_LAYER_CONTENT, NULL, OBEDIT_FROM_VIEW_LAYER, rot, scene, type, and WM_event_add_notifier().
Referenced by ED_object_add_type(), and object_data_instance_add_exec().
| void ED_object_add_unit_props_radius | ( | struct wmOperatorType * | ot | ) |
Definition at line 392 of file object_add.c.
References ED_object_add_unit_props_radius_ex(), and ot.
Referenced by CURVE_OT_primitive_bezier_circle_add(), CURVE_OT_primitive_bezier_curve_add(), CURVE_OT_primitive_nurbs_circle_add(), CURVE_OT_primitive_nurbs_curve_add(), CURVE_OT_primitive_nurbs_path_add(), MESH_OT_primitive_circle_add(), MESH_OT_primitive_cylinder_add(), MESH_OT_primitive_ico_sphere_add(), MESH_OT_primitive_uv_sphere_add(), OBJECT_OT_add(), OBJECT_OT_armature_add(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_gpencil_add(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_text_add(), SURFACE_OT_primitive_nurbs_surface_circle_add(), SURFACE_OT_primitive_nurbs_surface_curve_add(), SURFACE_OT_primitive_nurbs_surface_cylinder_add(), SURFACE_OT_primitive_nurbs_surface_sphere_add(), SURFACE_OT_primitive_nurbs_surface_surface_add(), and SURFACE_OT_primitive_nurbs_surface_torus_add().
| void ED_object_add_unit_props_radius_ex | ( | struct wmOperatorType * | ot, |
| float | default_value | ||
| ) |
Definition at line 386 of file object_add.c.
References OBJECT_ADD_SIZE_MAXF, ot, RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by ED_object_add_unit_props_radius(), and OBJECT_OT_metaball_add().
| void ED_object_add_unit_props_size | ( | struct wmOperatorType * | ot | ) |
Definition at line 380 of file object_add.c.
References OBJECT_ADD_SIZE_MAXF, ot, RNA_def_float_distance(), and wmOperatorType::srna.
Referenced by MESH_OT_primitive_cube_add(), MESH_OT_primitive_grid_add(), MESH_OT_primitive_monkey_add(), and MESH_OT_primitive_plane_add().
Change active base, it includes the notifier
Definition at line 138 of file object_select.c.
References ViewLayer::basact, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ED_object_base_active_refresh(), and scene.
Referenced by duplicate_exec(), ED_armature_edit_select_pick_bone(), ED_curve_editnurb_select_pick(), ED_lattice_select_pick(), ED_mball_select_pick(), ED_object_add_type_with_obdata(), ED_object_base_activate_with_mode_exit_if_needed(), ED_object_jump_to_object(), ed_object_select_pick(), ed_undo_step_post(), edbm_polybuild_delete_at_cursor_invoke(), edbm_polybuild_dissolve_at_cursor_invoke(), edbm_polybuild_face_at_cursor_invoke(), edbm_polybuild_split_at_cursor_invoke(), edbm_polybuild_transform_at_cursor_invoke(), EDBM_select_pick(), edbm_shortest_path_pick_invoke(), edcu_shortest_path_pick_invoke(), gpencil_trace_image_exec(), object_add_named_exec(), object_convert_exec(), object_select_menu_exec(), select_grouped_parent(), and select_marker_camera_switch().
Definition at line 146 of file object_select.c.
References C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ED_object_base_activate(), ED_object_editmode_exit_multi_ex(), EM_FREEDATA, Object::mode, OB_MODE_EDIT, OBEDIT_FROM_VIEW_LAYER, Base::object, scene, and Object::type.
Referenced by click_select_channel_object(), mouse_nla_channels(), and tree_element_object_activate().
Call when the active base has changed.
Definition at line 125 of file object_select.c.
References blender::compositor::active, DEG_id_tag_update(), ListBase::first, Scene::id, ID_RECALC_SELECT, NC_SCENE, ND_OB_ACTIVE, NULL, scene, Main::wm, WM_main_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by ED_object_base_activate(), and ED_undo_object_set_active_or_warn().
Definition at line 221 of file object_select.c.
References ED_object_base_deselect_all_ex(), and NULL.
Referenced by ED_object_jump_to_object(), object_add_named_exec(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_linked_exec(), and view3d_select_exec().
| bool ED_object_base_deselect_all_ex | ( | struct ViewLayer * | view_layer, |
| struct View3D * | v3d, | ||
| int | action, | ||
| bool * | r_any_visible | ||
| ) |
Definition at line 163 of file object_select.c.
References BA_DESELECT, BA_SELECT, BASE_SELECTED, ED_object_base_select(), FOREACH_VISIBLE_BASE_BEGIN, FOREACH_VISIBLE_BASE_END, View3D::object_type_exclude_select, SEL_DESELECT, SEL_INVERT, SEL_SELECT, and SEL_TOGGLE.
Referenced by ED_object_base_deselect_all(), and object_select_all_exec().
| void ED_object_base_free_and_unlink | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct Object * | ob | ||
| ) |
Definition at line 1958 of file object_add.c.
References BKE_library_ID_is_indirectly_used(), BKE_scene_collections_object_remove(), DEG_id_tag_update_ex(), Object::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_RECALC_BASE_FLAGS, ID::name, and scene.
Referenced by convert_proxy_to_override_exec(), ED_armature_join_objects_exec(), ED_curve_join_objects_exec(), ED_gpencil_join_objects_exec(), ED_mesh_join_objects_exec(), id_override_library_create_fn(), make_override_library_exec(), and object_convert_exec().
Remove base from a specific scene. ob must not be indirectly used.
Definition at line 1979 of file object_add.c.
References BKE_library_ID_is_indirectly_used(), BKE_scene_collections_object_remove(), BLI_assert, DEG_id_tag_update_ex(), Object::id, ID_RECALC_BASE_FLAGS, and scene.
Referenced by object_delete_exec().
| void ED_object_base_init_transform_on_add | ( | struct Object * | object, |
| const float | loc[3], | ||
| const float | rot[3] | ||
| ) |
Definition at line 319 of file object_add.c.
References BKE_object_to_mat4(), copy_v3_v3(), Object::loc, Object::obmat, rot, and Object::rot.
Referenced by ED_object_add_type_with_obdata(), and txt_add_object().
| void ED_object_base_select | ( | Base * | base, |
| eObjectSelect_Mode | mode | ||
| ) |
Simple API for object selection, rather than just using the flag this takes into account the 'restrict selection in 3d view' flag. deselect works always, the restriction just prevents selection
NC_SCENE | ND_OB_SELECT notifier (or a NC_SCENE | ND_OB_VISIBLE in case of visibility toggling). Definition at line 98 of file object_select.c.
References BA_DESELECT, BA_INVERT, BA_SELECT, BASE_SELECTABLE, BASE_SELECTED, BKE_scene_object_base_flag_sync_from_base(), and Base::flag.
Referenced by bone_select_menu_exec(), clear_trans_object_base_flags(), click_select_channel_object(), do_lasso_select_objects(), do_object_box_select(), do_outliner_item_activate_tree_element(), do_outliner_item_editmode_toggle(), do_outliner_item_posemode_toggle(), do_outliner_object_select_recursive(), duplibase_for_convert(), duplicate_exec(), ED_armature_pose_select_in_wpaint_mode(), ED_object_base_deselect_all_ex(), ED_object_jump_to_object(), ed_object_select_pick(), ED_undo_object_editmode_restore_helper(), get_new_constraint_target(), gpencil_layer_to_curve(), localview_remove_from_exec(), make_local_all__instance_indirect_unused(), make_object_duplilist_real(), mesh_separate_arrays(), mesh_separate_tagged(), mouse_nla_channels(), object_add_named_exec(), object_circle_select(), object_deselect_all_except(), object_deselect_all_visible(), object_hide_view_set_exec(), object_select_all_by_instance_collection(), object_select_all_by_library(), object_select_all_by_library_obdata(), object_select_all_by_material(), object_select_all_by_obdata(), object_select_all_by_particle(), object_select_by_type_exec(), object_select_fn(), object_select_menu_exec(), object_select_mirror_exec(), object_select_more_less(), object_select_random_exec(), object_select_same_collection_exec(), outliner_select_sync_to_object(), scene_drop_invoke(), select_grouped_children(), select_grouped_collection(), select_grouped_color(), select_grouped_exec(), select_grouped_index_object(), select_grouped_keyingset(), select_grouped_lighttype(), select_grouped_object_hooks(), select_grouped_parent(), select_grouped_siblings(), select_grouped_type(), select_marker_camera_switch(), and tree_element_object_activate().
Definition at line 125 of file object_utils.c.
References Object::base_flag, BASE_SELECTED, copy_v3_v3(), ED_object_calc_active_center_for_editmode(), ED_object_calc_active_center_for_posemode(), Object::mode, mul_m4_v3(), OB_MODE_EDIT, OB_MODE_POSE, and Object::obmat.
Referenced by gizmo_prepare_mat(), and snap_calc_active_center().
| bool ED_object_calc_active_center_for_editmode | ( | struct Object * | obedit, |
| const bool | select_only, | ||
| float | r_center[3] | ||
| ) |
Definition at line 54 of file object_utils.c.
References bArmature::act_edbone, BKE_editmesh_from_object(), BKE_lattice_active_point_get(), BMEditMesh::bm, BM_editselection_center(), BM_select_history_active_get(), BONE_ROOTSEL, BONE_SELECTED, copy_v3_v3(), Object::data, ED_curve_active_center(), EditBone::flag, MetaElem::flag, EditBone::head, MetaBall::lastelem, OB_ARMATURE, OB_CURVE, OB_LATTICE, OB_MBALL, OB_MESH, OB_SURF, SELECT, Object::type, BPoint::vec, and MetaElem::x.
Referenced by calculateCenterActive(), ED_object_calc_active_center(), and edbm_point_normals_modal().
| bool ED_object_calc_active_center_for_posemode | ( | struct Object * | ob, |
| const bool | select_only, | ||
| float | r_center[3] | ||
| ) |
Definition at line 113 of file object_utils.c.
References BKE_pose_channel_active(), bPoseChannel::bone, BONE_SELECTED, copy_v3_v3(), Bone::flag, and bPoseChannel::pose_head.
Referenced by calculateCenterActive(), and ED_object_calc_active_center().
| void ED_object_check_force_modifiers | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct Object * | object | ||
| ) |
Definition at line 1050 of file object_edit.c.
References BKE_modifiers_findby_type(), ED_object_modifier_add(), ED_object_modifier_remove(), ELEM, eModifierType_Surface, PartDeflect::forcefield, NULL, OB_CURVE, OB_FONT, OB_MESH, OB_SURF, PFIELD_GUIDE, PFIELD_SHAPE_SURFACE, PFIELD_TEXTURE, scene, PartDeflect::shape, and Object::type.
Referenced by forcefield_toggle_exec().
| struct bConstraint* ED_object_constraint_active_get | ( | struct Object * | ob | ) |
Definition at line 168 of file object_constraint.c.
References BKE_constraints_active_get(), and ED_object_constraint_active_list().
If object is in pose-mode, return active bone constraints, else object constraints. No constraints are returned for a bone on an inactive bone-layer.
Definition at line 87 of file object_constraint.c.
References BKE_pose_channel_active(), bPoseChannel::constraints, Object::constraints, Object::mode, NULL, and OB_MODE_POSE.
Referenced by ED_object_constraint_active_get(), BCAnimationSampler::find_depending_animated(), pose_constraint_add_exec(), and pose_ik_add_exec().
| void ED_object_constraint_active_set | ( | struct Object * | ob, |
| struct bConstraint * | con | ||
| ) |
Definition at line 1339 of file object_constraint.c.
References BKE_constraints_active_set(), CONSTRAINT_ACTIVE, ED_object_constraint_list_from_constraint(), bConstraint::flag, and NULL.
Referenced by constraint_active_func().
| void ED_object_constraint_copy_for_object | ( | struct Main * | bmain, |
| struct Object * | ob_dst, | ||
| struct bConstraint * | con | ||
| ) |
Definition at line 1451 of file object_constraint.c.
References BKE_constraint_copy_for_object(), ED_object_constraint_dependency_tag_update(), NA_ADDED, NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by datastack_drop_copy().
| void ED_object_constraint_copy_for_pose | ( | struct Main * | bmain, |
| struct Object * | ob_dst, | ||
| struct bPoseChannel * | pchan, | ||
| struct bConstraint * | con | ||
| ) |
Definition at line 1458 of file object_constraint.c.
References BKE_constraint_copy_for_pose(), ED_object_constraint_dependency_tag_update(), NA_ADDED, NC_OBJECT, ND_CONSTRAINT, and WM_main_add_notifier().
Referenced by datastack_drop_copy().
| void ED_object_constraint_dependency_tag_update | ( | struct Main * | bmain, |
| struct Object * | ob, | ||
| struct bConstraint * | con | ||
| ) |
Definition at line 1415 of file object_constraint.c.
References DEG_relations_tag_update(), ED_object_constraint_tag_update(), object_pose_tag_update(), and Object::pose.
Referenced by ED_object_constraint_copy_for_object(), ED_object_constraint_copy_for_pose(), and ED_object_constraint_link().
Definition at line 1382 of file object_constraint.c.
References DEG_relations_tag_update(), ED_object_constraint_update(), object_pose_tag_update(), and Object::pose.
| void ED_object_constraint_link | ( | struct Main * | bmain, |
| struct Object * | ob_dst, | ||
| struct ListBase * | dst, | ||
| struct ListBase * | src | ||
| ) |
Definition at line 1441 of file object_constraint.c.
References BKE_constraints_copy(), BKE_constraints_free(), ED_object_constraint_dependency_tag_update(), LISTBASE_FOREACH, NA_ADDED, NC_OBJECT, ND_CONSTRAINT, NULL, and WM_main_add_notifier().
Referenced by datastack_drop_link().
| struct ListBase* ED_object_constraint_list_from_constraint | ( | struct Object * | ob, |
| struct bConstraint * | con, | ||
| struct bPoseChannel ** | r_pchan | ||
| ) |
Definition at line 127 of file object_constraint.c.
References BLI_findindex(), bPose::chanbase, bPoseChannel::constraints, Object::constraints, ELEM, ListBase::first, bPoseChannel::next, NULL, and Object::pose.
Referenced by constraint_delete_exec(), constraint_move_down_exec(), constraint_move_up_exec(), ED_object_constraint_active_set(), ED_object_constraint_move_to_index(), and edit_constraint_invoke_properties().
| bool ED_object_constraint_move_to_index | ( | struct Object * | ob, |
| struct bConstraint * | con, | ||
| const int | index | ||
| ) |
Definition at line 1425 of file object_constraint.c.
References BLI_assert, BLI_findindex(), BLI_listbase_link_move(), ED_object_constraint_list_from_constraint(), NC_OBJECT, ND_CONSTRAINT, NULL, and WM_main_add_notifier().
Referenced by constraint_move_to_index_exec(), and datastack_drop_reorder().
| void ED_object_constraint_tag_update | ( | struct Main * | bmain, |
| struct Object * | ob, | ||
| struct bConstraint * | con | ||
| ) |
Definition at line 1392 of file object_constraint.c.
References BKE_pose_tag_update_constraint_flags(), DEG_id_tag_update(), Object::id, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, OB_ARMATURE, object_test_constraint(), Object::pose, and Object::type.
Referenced by ED_object_constraint_dependency_tag_update().
Definition at line 1352 of file object_constraint.c.
References BKE_pose_update_constraint_flags(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, OB_ARMATURE, object_test_constraints(), Object::pose, and Object::type.
Referenced by childof_clear_inverse_exec(), childof_set_inverse_exec(), constraint_delete_exec(), constraint_fn(), ED_object_constraint_dependency_update(), limitdistance_reset_exec(), objectsolver_clear_inverse_exec(), objectsolver_set_inverse_exec(), and stretchto_reset_exec().
Referenced by collection_add_exec(), collection_link_exec(), collection_object_active_itemf(), collection_objects_remove_exec(), collection_remove_exec(), connect_hair_exec(), disconnect_hair_exec(), dynamicpaint_bake_exec(), ED_pose_object_from_context(), face_map_add_exec(), face_map_assign_exec(), face_map_deselect_exec(), face_map_move_exec(), face_map_remove_exec(), face_map_remove_from_exec(), face_map_select_exec(), face_map_supported_edit_mode_poll(), face_map_supported_poll(), geometry_attribute_add_exec(), geometry_attribute_domain_itemf(), geometry_attribute_remove_exec(), geometry_attributes_poll(), get_poselib_object(), layers_poll(), material_slot_add_exec(), material_slot_copy_exec(), material_slot_move_exec(), material_slot_remove_exec(), mesh_customdata_mask_clear_poll(), mesh_customdata_skin_add_exec(), mesh_customdata_skin_state(), mesh_sculpt_vertex_color_add_exec(), mesh_sculpt_vertex_color_remove_exec(), mesh_uv_texture_add_exec(), mesh_uv_texture_remove_exec(), mesh_vertex_color_add_exec(), mesh_vertex_color_remove_exec(), object_materials_supported_poll(), objects_add_active_exec(), output_toggle_exec(), particle_system_add_exec(), particle_system_remove_exec(), set_active_group_exec(), shape_key_add_exec(), shape_key_clear_exec(), shape_key_mirror_exec(), shape_key_mode_exists_poll(), shape_key_mode_poll(), shape_key_move_exec(), shape_key_move_poll(), shape_key_poll(), shape_key_remove_exec(), shape_key_retime_exec(), surface_slot_add_exec(), surface_slot_remove_exec(), type_toggle_exec(), vertex_group_add_exec(), vertex_group_assign_exec(), vertex_group_assign_new_exec(), vertex_group_copy_exec(), vertex_group_copy_to_linked_exec(), vertex_group_copy_to_selected_exec(), vertex_group_deselect_exec(), vertex_group_invert_exec(), vertex_group_levels_exec(), vertex_group_mesh_with_dvert_poll(), vertex_group_mirror_exec(), vertex_group_normalize_all_exec(), vertex_group_normalize_exec(), vertex_group_poll(), vertex_group_poll_edit(), vertex_group_quantize_exec(), vertex_group_remove_exec(), vertex_group_remove_from_exec(), vertex_group_select_exec(), vertex_group_sort_exec(), vertex_group_supported_poll(), vertex_group_vert_poll_ex(), vertex_group_vert_select_mesh_poll(), vertex_group_vert_select_unlocked_poll(), vertex_weight_copy_exec(), vertex_weight_delete_exec(), vertex_weight_normalize_active_vertex_exec(), vertex_weight_paste_exec(), vertex_weight_set_active_exec(), vgroup_itemf(), and vgroup_move_exec().
| void ED_object_data_xform_by_mat4 | ( | struct XFormObjectData * | xod, |
| const float | mat[4][4] | ||
| ) |
Definition at line 538 of file object_data_transform.c.
References armature_coords_and_quats_apply_with_mat4(), BKE_curve_nurbs_vert_coords_apply_with_mat4(), BKE_gpencil_point_coords_apply_with_mat4(), BKE_keyblock_curve_data_set_with_mat4(), BKE_keyblock_data_set_with_mat4(), BKE_lattice_vert_coords_apply_with_mat4(), BKE_mesh_vert_coords_apply_with_mat4(), BLI_assert, BMEditMesh::bm, bm, BM_mesh_vert_coords_apply_with_mat4(), CU_IS_2D, edit_armature_coords_and_quats_apply_with_mat4(), Mesh::edit_mesh, Lattice::editlatt, Curve::editnurb, GS, XFormObjectData::id, ID_AR, ID_CU, ID_GD, ID_LT, ID_MB, ID_ME, XFormObjectData::is_edit_mode, Curve::key, Mesh::key, EditLatt::latt, metaball_coords_and_quats_apply_with_mat4(), ID::name, NULL, Curve::nurb, and EditNurb::nurbs.
Referenced by ED_object_data_xform_container_update_all().
| struct XFormObjectData_Container* ED_object_data_xform_container_create | ( | void | ) |
Definition at line 419 of file object_utils.c.
References BLI_ghash_ptr_new(), MEM_callocN, and XFormObjectData_Container::obdata_in_obmode_map.
Referenced by createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_data_xform_container_destroy | ( | struct XFormObjectData_Container * | xds | ) |
Definition at line 426 of file object_utils.c.
References BLI_ghash_free(), MEM_freeN, NULL, XFormObjectData_Container::obdata_in_obmode_map, and trans_obdata_in_obmode_free_elem().
Referenced by freeTransObjectCustomData(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_data_xform_container_item_ensure | ( | struct XFormObjectData_Container * | xds, |
| struct Object * | ob | ||
| ) |
Definition at line 354 of file object_utils.c.
References BLI_ghash_ensure_p(), BLI_ghash_ptr_new(), copy_m4_m4(), Object::data, ED_object_data_xform_create(), MEM_mallocN, NULL, XFormObjectData_Extra::ob, XFormObjectData_Container::obdata_in_obmode_map, Object::obmat, XFormObjectData_Extra::obmat_orig, and XFormObjectData_Extra::xod.
Referenced by createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_data_xform_container_update_all | ( | struct XFormObjectData_Container * | xds, |
| struct Main * | bmain, | ||
| Depsgraph * | depsgraph | ||
| ) |
This may be called multiple times with the same data. Each time, the original transformations are re-applied, instead of accumulating the changes.
Definition at line 375 of file object_utils.c.
References BKE_scene_graph_evaluated_ensure(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, ED_object_data_xform_by_mat4(), GHASH_ITER, ID_RECALC_GEOMETRY, invert_m4(), invert_m4_m4(), mul_m4_m4m4(), NULL, XFormObjectData_Extra::ob, OB_ARMATURE, XFormObjectData_Container::obdata_in_obmode_map, Object::obmat, XFormObjectData_Extra::obmat_orig, Object::type, and XFormObjectData_Extra::xod.
Referenced by object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), snap_selected_to_location(), and trans_obdata_in_obmode_update_all().
| struct XFormObjectData* ED_object_data_xform_create | ( | struct ID * | id | ) |
Definition at line 497 of file object_data_transform.c.
References ED_object_data_xform_create_ex().
Referenced by ED_object_data_xform_container_item_ensure().
| struct XFormObjectData* ED_object_data_xform_create_ex | ( | struct ID * | id, |
| bool | is_edit_mode | ||
| ) |
Definition at line 320 of file object_data_transform.c.
References armature_coords_and_quats_get(), XFormObjectData_Mesh::base, XFormObjectData_Lattice::base, XFormObjectData_Curve::base, XFormObjectData_GPencil::base, XFormObjectData_MetaBall::base, XFormObjectData_Armature::base, BKE_armature_bonelist_count(), BKE_curve_nurbs_vert_coords_get(), BKE_curve_type_get(), BKE_gpencil_point_coords_get(), BKE_gpencil_stroke_point_count(), BKE_keyblock_data_get_from_shape(), BKE_keyblock_element_calc_size_from_shape(), BKE_lattice_vert_coords_get(), BKE_mesh_vert_coords_get(), BKE_nurbList_verts_count(), BLI_listbase_count(), BMEditMesh::bm, bm, BM_mesh_vert_coords_get(), bArmature::bonebase, bArmature::edbo, edit_armature_coords_and_quats_get(), Mesh::edit_mesh, Lattice::editlatt, Curve::editnurb, XFormObjectData_Armature::elem_array, XFormObjectData_MetaBall::elem_array, XFormObjectData_GPencil::elem_array, XFormObjectData_Mesh::elem_array, XFormObjectData_Lattice::elem_array, XFormObjectData_Curve::elem_array, MetaBall::elems, GS, id, XFormObjectData::id, ID_AR, ID_CU, ID_GD, ID_LT, ID_MB, ID_ME, XFormObjectData::is_edit_mode, Curve::key, Lattice::key, Mesh::key, XFormObjectData_Mesh::key_data, XFormObjectData_Lattice::key_data, XFormObjectData_Curve::key_data, EditLatt::latt, MEM_mallocN, metaball_coords_and_quats_get(), ID::name, NULL, Curve::nurb, EditNurb::nurbs, OB_FONT, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, BMesh::totvert, and Mesh::totvert.
Referenced by ED_object_data_xform_create(), and ED_object_data_xform_create_from_edit_mode().
| struct XFormObjectData* ED_object_data_xform_create_from_edit_mode | ( | ID * | id | ) |
Definition at line 502 of file object_data_transform.c.
References ED_object_data_xform_create_ex().
Referenced by op_generic_value_invoke().
| void ED_object_data_xform_destroy | ( | struct XFormObjectData * | xod_base | ) |
Definition at line 507 of file object_data_transform.c.
References GS, XFormObjectData::id, ID_CU, ID_LT, ID_ME, XFormObjectData_Mesh::key_data, XFormObjectData_Lattice::key_data, XFormObjectData_Curve::key_data, MEM_freeN, ID::name, and NULL.
Referenced by op_generic_value_exit(), and trans_obdata_in_obmode_free_elem().
| void ED_object_data_xform_restore | ( | struct XFormObjectData * | xod | ) |
Definition at line 643 of file object_data_transform.c.
References armature_coords_and_quats_apply(), BKE_curve_nurbs_vert_coords_apply(), BKE_gpencil_point_coords_apply(), BKE_keyblock_data_set(), BKE_lattice_vert_coords_apply(), BKE_mesh_vert_coords_apply(), BMEditMesh::bm, bm, BM_mesh_vert_coords_apply(), CU_IS_2D, edit_armature_coords_and_quats_apply(), Mesh::edit_mesh, Lattice::editlatt, Curve::editnurb, GS, XFormObjectData::id, ID_AR, ID_CU, ID_GD, ID_LT, ID_MB, ID_ME, XFormObjectData::is_edit_mode, Curve::key, Mesh::key, EditLatt::latt, metaball_coords_and_quats_apply(), ID::name, NULL, Curve::nurb, and EditNurb::nurbs.
Referenced by op_generic_value_restore().
| void ED_object_data_xform_tag_update | ( | struct XFormObjectData * | xod | ) |
Definition at line 742 of file object_data_transform.c.
References DEG_id_tag_update(), EDBM_mesh_normals_update(), EDBM_update_generic(), Mesh::edit_mesh, GS, XFormObjectData::id, bArmature::id, Curve::id, bGPdata::id, Lattice::id, Mesh::id, MetaBall::id, ID_AR, ID_CU, ID_GD, ID_LT, ID_MB, ID_ME, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, if(), XFormObjectData::is_edit_mode, and ID::name.
Referenced by op_generic_value_restore().
| bool ED_object_editmode_enter | ( | struct bContext * | C, |
| int | flag | ||
| ) |
Definition at line 859 of file object_edit.c.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), ED_object_editmode_enter_ex(), and scene.
| bool ED_object_editmode_enter_ex | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct Object * | ob, | ||
| int | flag | ||
| ) |
Definition at line 762 of file object_edit.c.
References BKE_editlattice_make(), BKE_editmesh_from_object(), BKE_editmesh_looptri_calc(), BKE_object_is_in_editmode(), BKE_object_obdata_is_libdata(), CLOG_WARN, Object::data, DEG_id_tag_update(), ED_armature_to_edit(), ED_curve_editfont_make(), ED_curve_editnurb_make(), ED_mball_editmball_make(), EDBM_mesh_make(), EDBM_mesh_normals_update(), ELEM, EM_NO_CONTEXT, Object::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, LIKELY, LOG, mesh_needs_keyindex(), Object::mode, ID::name, NC_SCENE, ND_MODE, bArmature::needs_flush_to_id, MetaBall::needs_flush_to_id, NS_EDITMODE_ARMATURE, NS_EDITMODE_CURVE, NS_EDITMODE_LATTICE, NS_EDITMODE_MBALL, NS_EDITMODE_MESH, NS_EDITMODE_TEXT, NS_MODE_OBJECT, NULL, OB_ARMATURE, OB_CURVE, OB_FONT, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_EDIT, OB_SURF, Object::restore_mode, scene, ToolSettings::selectmode, Scene::toolsettings, Object::type, and WM_main_add_notifier().
Referenced by do_outliner_item_editmode_toggle(), ED_editors_init(), ED_object_add_type_with_obdata(), ED_object_editmode_enter(), ED_undo_object_editmode_restore_helper(), editmode_toggle_exec(), effector_add_exec(), make_prim_init(), and object_armature_add_exec().
| bool ED_object_editmode_exit | ( | struct bContext * | C, |
| int | flag | ||
| ) |
Definition at line 718 of file object_edit.c.
References C, CTX_data_edit_object(), CTX_data_main(), CTX_data_scene(), ED_object_editmode_exit_ex(), and scene.
Referenced by object_batch_delete_hierarchy_fn().
| flag |
|
Definition at line 676 of file object_edit.c.
References BKE_particlesystem_reset_all(), BKE_ptcache_ids_from_object(), BKE_ptcache_object_reset(), BLI_freelistN(), DEG_id_tag_update(), ED_object_editmode_load_free_ex(), EM_FREEDATA, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, LISTBASE_FOREACH, Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, OB_MODE_EDIT, PTCACHE_OUTDATED, PTCACHE_RESET_OUTDATED, PTCACHE_TYPE_PARTICLES, scene, UNLIKELY, and WM_main_add_notifier().
Referenced by curvesurf_prim_add(), do_outliner_item_editmode_toggle(), ED_object_add_type_with_obdata(), ED_object_editmode_exit(), ED_object_editmode_exit_multi_ex(), ed_object_mode_generic_exit_ex(), ED_undo_object_editmode_restore_helper(), editmode_toggle_exec(), effector_add_exec(), make_prim_finish(), object_armature_add_exec(), object_metaball_add_exec(), outliner_object_delete_fn(), and posemode_exec().
| bool ED_object_editmode_exit_multi | ( | struct bContext * | C, |
| int | flag | ||
| ) |
Definition at line 754 of file object_edit.c.
References C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ED_object_editmode_exit_multi_ex(), and scene.
| bool ED_object_editmode_exit_multi_ex | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct ViewLayer * | view_layer, | ||
| int | flag | ||
| ) |
Definition at line 736 of file object_edit.c.
References ED_object_editmode_exit_ex(), LISTBASE_FOREACH, Object::mode, NULL, OB_MODE_EDIT, OBEDIT_FROM_VIEW_LAYER, ViewLayer::object_bases, scene, and Object::type.
Referenced by ED_object_base_activate_with_mode_exit_if_needed(), and ED_object_editmode_exit_multi().
Support freeing edit-mode data without flushing it back to the object.
Definition at line 731 of file object_edit.c.
References ED_object_editmode_load_free_ex().
Referenced by ED_editors_exit().
Definition at line 667 of file object_edit.c.
References ED_object_editmode_load_free_ex().
Referenced by ED_editors_flush_edits_for_object_ex().
Definition at line 57 of file object_facemap_ops.c.
References BLI_findindex(), CD_DEFAULT, CD_FACEMAP, CustomData_add_layer(), CustomData_get_layer(), Object::data, facemap, Object::fmaps, GS, ID_ME, NULL, and Mesh::totpoly.
Definition at line 81 of file object_facemap_ops.c.
References BLI_findindex(), CD_FACEMAP, CustomData_get_layer(), Object::data, facemap, Object::fmaps, GS, ID_ME, and NULL.
If id is not already an Object, try to find an object that uses it as data. Prefers active, then selected, then visible/selectable.
Definition at line 247 of file object_select.c.
References ViewLayer::basact, BASE_SELECTED, BLI_assert, Object::data, get_base_select_priority(), GS, id, LISTBASE_FOREACH, ID::name, NULL, OB_DATA_SUPPORT_ID, Base::object, and ViewLayer::object_bases.
Referenced by jump_to_target_ptr().
| struct GpencilModifierData* ED_object_gpencil_modifier_add | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Scene * | scene, | ||
| struct Object * | ob, | ||
| const char * | name, | ||
| int | type | ||
| ) |
Referenced by ED_gpencil_add_armature(), and ED_gpencil_add_lattice_modifier().
| bool ED_object_gpencil_modifier_apply | ( | struct Main * | bmain, |
| struct ReportList * | reports, | ||
| struct Depsgraph * | depsgraph, | ||
| struct Object * | ob, | ||
| struct GpencilModifierData * | md, | ||
| int | mode | ||
| ) |
Definition at line 153 of file object_gpencil_modifier.c.
References DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, gpencil_object_modifier_remove(), Object::greasepencil_modifiers, Object::id, ID_RECALC_GEOMETRY, and GpencilModifierData::next.
| bool ED_object_gpencil_modifier_copy | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct GpencilModifierData * | md | ||
| ) |
Definition at line 304 of file object_gpencil_modifier.c.
References BKE_gpencil_modifier_copydata(), BKE_gpencil_modifier_get_info(), BKE_gpencil_modifier_new(), BKE_gpencil_modifier_unique_name(), BKE_gpencil_modifiers_findby_type(), BKE_report(), BLI_insertlinkafter(), eGpencilModifierFlag_OverrideLibrary_Local, eGpencilModifierTypeFlag_Single, GpencilModifierData::flag, GpencilModifierTypeInfo::flags, Object::greasepencil_modifiers, RPT_WARNING, type, and GpencilModifierData::type.
Referenced by gpencil_modifier_copy_exec().
| void ED_object_gpencil_modifier_copy_to_object | ( | struct Object * | ob_dst, |
| struct GpencilModifierData * | md | ||
| ) |
Definition at line 327 of file object_gpencil_modifier.c.
References BKE_object_copy_gpencil_modifier(), DEG_id_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_MODIFIER, and WM_main_add_notifier().
Referenced by datastack_drop_copy().
| bool ED_object_gpencil_modifier_move_down | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct GpencilModifierData * | md | ||
| ) |
| bool ED_object_gpencil_modifier_move_to_index | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct GpencilModifierData * | md, | ||
| const int | index | ||
| ) |
Definition at line 200 of file object_gpencil_modifier.c.
References BKE_report(), BLI_assert, BLI_findindex(), BLI_listbase_count(), DEG_id_tag_update(), ED_object_gpencil_modifier_move_down(), ED_object_gpencil_modifier_move_up(), Object::greasepencil_modifiers, Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_MODIFIER, NULL, RPT_WARNING, and WM_main_add_notifier().
Referenced by datastack_drop_reorder(), and gpencil_modifier_move_to_index_exec().
| bool ED_object_gpencil_modifier_move_up | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct GpencilModifierData * | md | ||
| ) |
| bool ED_object_gpencil_modifier_remove | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Object * | ob, | ||
| struct GpencilModifierData * | md | ||
| ) |
Definition at line 132 of file object_gpencil_modifier.c.
References BKE_reportf(), DEG_id_tag_update(), DEG_relations_tag_update(), gpencil_object_modifier_remove(), Object::id, ID_RECALC_GEOMETRY, GpencilModifierData::name, ID::name, and RPT_ERROR.
Referenced by gpencil_modifier_remove_exec().
| bool ED_object_iter_other | ( | struct Main * | bmain, |
| struct Object * | orig_ob, | ||
| const bool | include_orig, | ||
| bool(*)(struct Object *ob, void *callback_data) | callback, | ||
| void * | callback_data | ||
| ) |
Referenced by join_mesh_single().
| bool ED_object_jump_to_bone | ( | bContext * | C, |
| Object * | ob, | ||
| const char * | bone_name, | ||
| const bool | reveal_hidden | ||
| ) |
Select and make the target object and bone active. Switches to Pose mode if in Object mode so the selection is visible. Un-hides the target bone and bone layer if necessary.
Definition at line 324 of file object_select.c.
References bArmature::act_bone, bArmature::act_edbone, bitscan_forward_uint(), BKE_pose_channel_find_name(), bPoseChannel::bone, BONE_HIDDEN_A, BONE_HIDDEN_P, C, Object::data, EBONE_SELECTABLE, ED_armature_ebone_find_name(), ED_armature_ebone_select_set(), ED_armature_edit_deselect_all(), ED_armature_edit_sync_selection(), ED_object_jump_to_object(), ED_object_mode_set(), ED_pose_bone_select(), ED_pose_bone_select_tag_update(), ED_pose_deselect_all(), bArmature::edbo, ELEM, EditBone::flag, Bone::flag, EditBone::layer, Bone::layer, bArmature::layer, Object::mode, NULL, OB_ARMATURE, OB_MODE_EDIT, OB_MODE_POSE, Object::pose, SEL_DESELECT, and Object::type.
Referenced by jump_to_target_ptr().
Referenced by jump_to_target_ptr().
Definition at line 272 of file object_add.c.
References C, copy_v3_v3(), CTX_data_scene(), Scene::cursor, View3DCursor::location, and scene.
Referenced by collection_instance_add_exec(), ED_object_add_generic_get_opts(), empty_drop_named_image_invoke(), object_add_named_exec(), and object_data_instance_add_exec().
| bool ED_object_mode_compat_set | ( | bContext * | C, |
| Object * | ob, | ||
| eObjectMode | mode, | ||
| ReportList * | reports | ||
| ) |
Sets the mode to a compatible state (use before entering the mode).
This is so each mode's exec function can call
Definition at line 165 of file object_modes.c.
References BKE_reportf(), C, ELEM, Object::mode, wmOperatorType::name, NULL, OB_MODE_OBJECT, object_mode_op_string(), ot, RPT_ERROR, WM_OP_EXEC_REGION_WIN, WM_operator_name_call(), and WM_operatortype_find().
Referenced by editmode_toggle_exec(), particle_edit_toggle_exec(), posemode_exec(), sculpt_mode_toggle_exec(), texture_paint_toggle_exec(), vpaint_mode_toggle_exec(), and wpaint_mode_toggle_exec().
| bool ED_object_mode_compat_test | ( | const struct Object * | ob, |
| eObjectMode | mode | ||
| ) |
Referenced by object_mode_set_exec().
| void ED_object_mode_generic_exit | ( | struct Main * | bmain, |
| struct Depsgraph * | depsgraph, | ||
| struct Scene * | scene, | ||
| struct Object * | ob | ||
| ) |
Definition at line 391 of file object_modes.c.
References depsgraph, ed_object_mode_generic_exit_ex(), and scene.
Referenced by ed_object_select_pick(), sculpt_undosys_step_decode(), and tree_element_object_activate().
Definition at line 399 of file object_modes.c.
References depsgraph, ed_object_mode_generic_exit_ex(), and NULL.
| bool ED_object_mode_set | ( | struct bContext * | C, |
| eObjectMode | mode | ||
| ) |
Definition at line 235 of file object_modes.c.
References C, ED_object_mode_set_ex(), and NULL.
Referenced by do_outliner_item_mode_toggle_generic(), ED_editors_init(), ED_object_jump_to_bone(), ED_workspace_change(), insert_key_exec(), view3d_object_mode_menu(), and workspace_change_update().
| bool ED_object_mode_set_ex | ( | struct bContext * | C, |
| eObjectMode | mode, | ||
| bool | use_undo, | ||
| struct ReportList * | reports | ||
| ) |
Definition at line 195 of file object_modes.c.
References BKE_reportf(), C, CTX_data_view_layer(), CTX_wm_manager(), ED_object_mode_compat_test(), Object::mode, wmOperatorType::name, NULL, OB_GPENCIL, OB_MODE_EDIT, OB_MODE_EDIT_GPENCIL, OB_MODE_OBJECT, OBACT, object_mode_op_string(), wmWindowManager::op_undo_depth, ot, RPT_ERROR, Object::type, WM_OP_EXEC_REGION_WIN, WM_operator_name_call_ptr(), and WM_operatortype_find().
Referenced by ED_object_mode_set(), image_undosys_step_decode(), object_mode_set_exec(), and object_transfer_mode_to_base().
| struct ModifierData* ED_object_modifier_add | ( | ReportList * | reports, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| Object * | ob, | ||
| const char * | name, | ||
| int | type | ||
| ) |
Add a modifier to given object, including relevant extra processing needed by some physics types (particles, simulations...).
| scene | is only used to set current frame in some cases, and may be NULL. |
Definition at line 160 of file object_modifier.c.
References BKE_mesh_ensure_skin_customdata(), BKE_modifier_get_info(), BKE_modifier_new(), BKE_modifier_unique_name(), BKE_modifiers_findby_type(), BKE_object_modifier_set_active(), BKE_object_support_modifier_type_check(), BKE_partdeflect_new(), BKE_report(), BKE_reportf(), BKE_sculpt_mask_layers_ensure(), BLI_addtail(), BLI_insertlinkbefore(), BLI_strncpy_utf8(), Object::data, PartDeflect::deflect, DEG_id_tag_update(), DEG_relations_tag_update(), eModifierType_Collision, eModifierType_Multires, eModifierType_Nodes, eModifierType_ParticleSystem, eModifierType_Skin, eModifierType_Softbody, eModifierType_Surface, eModifierTypeFlag_RequiresOriginalData, eModifierTypeFlag_Single, eModifierTypeType_OnlyDeform, ListBase::first, ModifierTypeInfo::flags, Object::id, ID_RECALC_GEOMETRY, MOD_nodes_init(), Object::mode, Object::modifiers, multiresModifier_set_levels_from_disps(), ID::name, ModifierData::next, NULL, OB_MODE_SCULPT, OB_SB_EDGES, OB_SB_GOAL, object_add_particle_system(), Object::pd, RPT_WARNING, sbNew(), scene, Object::soft, Object::softflag, ModifierTypeInfo::type, type, and ModifierData::type.
Referenced by ED_object_check_force_modifiers(), ED_object_parent_set(), geometry_extract_apply(), SkinInfo::link_armature(), and modifier_add_exec().
| 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 | ||
| ) |
Definition at line 846 of file object_modifier.c.
References BKE_modifier_free(), BKE_modifier_is_same_topology(), BKE_modifier_remove_from_list(), BKE_modifiers_findby_name(), BKE_object_free_derived_caches(), BKE_object_is_in_editmode(), BKE_report(), Object::data, DEG_get_evaluated_object(), depsgraph, eModifierMode_Realtime, find_multires_modifier_before(), ListBase::first, ID_REAL_USERS, ModifierData::mode, Object::mode, modifier_apply_obdata(), MODIFIER_APPLY_SHAPE, modifier_apply_shape(), Object::modifiers, ModifierData::name, OB_MODE_SCULPT, RPT_ERROR, RPT_INFO, and scene.
Referenced by modifier_apply_exec_ex().
Definition at line 417 of file object_modifier.c.
References DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, Object::modifiers, ModifierData::next, object_modifier_remove(), and scene.
| bool ED_object_modifier_convert | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Depsgraph * | depsgraph, | ||
| struct ViewLayer * | view_layer, | ||
| struct Object * | ob, | ||
| struct ModifierData * | md | ||
| ) |
| bool ED_object_modifier_copy | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Scene * | scene, | ||
| 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 | ||
| ) |
Definition at line 533 of file object_modifier.c.
References BKE_object_copy_modifier(), C, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_MODIFIER, and WM_main_add_notifier().
Referenced by datastack_drop_copy().
| void ED_object_modifier_link | ( | struct bContext * | C, |
| struct Object * | ob_dst, | ||
| struct Object * | ob_src | ||
| ) |
Definition at line 523 of file object_modifier.c.
References BKE_object_link_modifiers(), C, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_MODIFIER, and WM_event_add_notifier().
Referenced by datastack_drop_link().
| bool ED_object_modifier_move_down | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ModifierData * | md | ||
| ) |
Definition at line 462 of file object_modifier.c.
References BKE_modifier_get_info(), BKE_report(), BLI_listbase_swaplinks(), eModifierTypeFlag_RequiresOriginalData, eModifierTypeType_OnlyDeform, ModifierTypeInfo::flags, Object::modifiers, ModifierData::next, RPT_WARNING, ModifierTypeInfo::type, and ModifierData::type.
Referenced by ED_object_modifier_move_to_index(), and modifier_move_down_exec().
| bool ED_object_modifier_move_to_index | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ModifierData * | md, | ||
| const int | index | ||
| ) |
Definition at line 486 of file object_modifier.c.
References BKE_report(), BLI_assert, BLI_findindex(), BLI_listbase_count(), DEG_id_tag_update(), ED_object_modifier_move_down(), ED_object_modifier_move_up(), Object::id, ID_RECALC_GEOMETRY, Object::modifiers, NC_OBJECT, ND_MODIFIER, NULL, RPT_WARNING, and WM_main_add_notifier().
Referenced by datastack_drop_reorder(), and modifier_move_to_index_exec().
| bool ED_object_modifier_move_up | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ModifierData * | md | ||
| ) |
Definition at line 438 of file object_modifier.c.
References BKE_modifier_get_info(), BKE_report(), BLI_listbase_swaplinks(), eModifierTypeFlag_RequiresOriginalData, eModifierTypeType_OnlyDeform, ModifierTypeInfo::flags, Object::modifiers, ModifierData::prev, RPT_WARNING, ModifierTypeInfo::type, and ModifierData::type.
Referenced by ED_object_modifier_move_to_index(), and modifier_move_up_exec().
| bool ED_object_modifier_remove | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Scene * | scene, | ||
| struct Object * | ob, | ||
| struct ModifierData * | md | ||
| ) |
Definition at line 399 of file object_modifier.c.
References BKE_reportf(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, ModifierData::name, ID::name, object_modifier_remove(), RPT_ERROR, and scene.
Referenced by ED_object_check_force_modifiers(), modifier_fn(), and modifier_remove_exec().
| bool ED_object_multires_update_totlevels_cb | ( | struct Object * | ob, |
| void * | totlevel_v | ||
| ) |
Definition at line 319 of file object_modifier.c.
References DEG_id_tag_update(), eModifierType_Multires, Object::id, ID_RECALC_GEOMETRY, LISTBASE_FOREACH, Object::modifiers, and multires_set_tot_level().
Referenced by join_mesh_single(), multires_higher_levels_delete_exec(), and multires_subdivide_exec().
| float ED_object_new_primitive_matrix | ( | struct bContext * | C, |
| struct Object * | obedit, | ||
| const float | loc[3], | ||
| const float | rot[3], | ||
| float | primmat[4][4] | ||
| ) |
Definition at line 334 of file object_add.c.
References C, copy_m3_m4(), copy_m4_m3(), copy_v3_v3(), CTX_data_scene(), CTX_wm_view3d(), ED_scene_grid_scale(), ED_view3d_grid_scale(), eul_to_mat3(), invert_m3(), invert_m3_m3(), mul_m3_m3m3(), mul_m3_v3(), NULL, Object::obmat, rot, scene, sub_v3_v3v3(), and unit_m4().
Referenced by curvesurf_prim_add(), effector_add_exec(), make_prim_init(), object_gpencil_add_exec(), and object_metaball_add_exec().
| void ED_object_parent | ( | struct Object * | ob, |
| struct Object * | parent, | ||
| const int | type, | ||
| const char * | substr | ||
| ) |
Definition at line 639 of file object_relations.c.
References BKE_object_parent_loop_check(), BLI_assert, BLI_strncpy(), ELEM, NULL, PARBONE, Object::parent, Object::parentinv, PAROBJECT, PARSKEL, Object::parsubstr, Object::partype, PARTYPE, PARVERT1, PARVERT3, type, and unit_m4().
| void ED_object_parent_clear | ( | struct Object * | ob, |
| const int | type | ||
| ) |
Definition at line 560 of file object_relations.c.
References BKE_object_apply_mat4(), CLEAR_PARENT_ALL, CLEAR_PARENT_INVERSE, CLEAR_PARENT_KEEP_TRANSFORM, DEG_id_tag_update(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NULL, object_remove_parent_deform_modifiers(), Object::obmat, Object::parent, Object::parentinv, PAROBJECT, Object::parsubstr, Object::partype, type, and unit_m4().
Referenced by parent_clear_exec(), and parent_clear_invoke().
| 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] | ||
| ) |
Referenced by bc_set_parent(), and parent_drop_set_parents().
| void ED_object_particle_edit_mode_enter | ( | struct bContext * | C | ) |
Definition at line 5428 of file particle_edit.c.
References C, CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), depsgraph, ED_object_particle_edit_mode_enter_ex(), and scene.
| void ED_object_particle_edit_mode_enter_ex | ( | struct Depsgraph * | depsgraph, |
| struct Scene * | scene, | ||
| Object * | ob | ||
| ) |
Definition at line 5399 of file particle_edit.c.
References BKE_modifiers_findby_name(), BKE_scene_graph_evaluated_ensure(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, G_MAIN, Object::id, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, Object::mode, ParticleSystemModifierData::modifier, ModifierData::name, NC_SCENE, ND_MODE, NS_MODE_PARTICLE, NULL, OB_MODE_PARTICLE_EDIT, PE_create_current(), PTCacheEdit::psmd, PTCacheEdit::psmd_eval, PTCacheEdit::psys, recalc_emitter_field(), scene, toggle_particle_cursor(), and WM_main_add_notifier().
Referenced by ED_object_particle_edit_mode_enter(), particle_edit_toggle_exec(), and particle_undosys_step_decode().
| void ED_object_particle_edit_mode_exit | ( | struct bContext * | C | ) |
Definition at line 5446 of file particle_edit.c.
References C, CTX_data_active_object(), CTX_data_scene(), ED_object_particle_edit_mode_exit_ex(), and scene.
Definition at line 5436 of file particle_edit.c.
References DEG_id_tag_update(), free_all_psys_edit(), Object::id, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, NULL, OB_MODE_PARTICLE_EDIT, scene, toggle_particle_cursor(), and WM_main_add_notifier().
Referenced by ed_object_mode_generic_exit_ex(), ED_object_particle_edit_mode_exit(), and particle_edit_toggle_exec().
| bool ED_object_particle_edit_mode_supported | ( | const Object * | ob | ) |
Definition at line 5393 of file particle_edit.c.
References BKE_modifiers_findby_type(), eModifierType_Cloth, eModifierType_Softbody, ListBase::first, and Object::particlesystem.
Referenced by object_mode_set_itemsf(), and particle_edit_toggle_poll().
Referenced by uiTemplateConstraints().
| void ED_object_posemode_set_for_weight_paint | ( | struct bContext * | C, |
| struct Main * | bmain, | ||
| struct Object * | ob, | ||
| const bool | is_mode_set | ||
| ) |
Definition at line 361 of file object_modes.c.
References BKE_gpencil_modifiers_get_virtual_modifierlist(), BKE_modifiers_get_virtual_modifierlist(), C, ed_object_posemode_set_for_weight_paint_ex(), eGpencilModifierType_Armature, eModifierType_Armature, GpencilModifierData::next, ModifierData::next, OB_GPENCIL, ArmatureGpencilModifierData::object, ArmatureModifierData::object, GpencilModifierData::type, ModifierData::type, and Object::type.
Referenced by gpencil_weightmode_toggle_exec(), and wpaint_mode_toggle_exec().
Definition at line 278 of file object_add.c.
References axis_angle_to_quat(), BLI_assert, float(), M_PI_2, mul_qt_qtqt(), quat_to_eul(), and rot.
Referenced by ED_object_rotation_from_view().
Definition at line 304 of file object_add.c.
References BLI_assert, C, copy_qt_qt(), CTX_wm_region_view3d(), ED_object_rotation_from_quat(), rot, RegionView3D::viewquat, and zero_v3().
Referenced by ED_object_add_generic_get_opts(), and empty_drop_named_image_invoke().
| void ED_object_sculptmode_enter | ( | struct bContext * | C, |
| struct Depsgraph * | depsgraph, | ||
| struct ReportList * | reports | ||
| ) |
Definition at line 8479 of file sculpt.c.
References C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), depsgraph, ED_object_sculptmode_enter_ex(), OBACT, and scene.
| 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 | ||
| ) |
Definition at line 8391 of file sculpt.c.
References BKE_mesh_from_object(), BKE_paint_get_active_from_paintmode(), BKE_paint_init(), BKE_report(), BKE_reportf(), BKE_sculpt_multires_active(), BLI_assert, DEG_id_tag_update(), depsgraph, DYNTOPO_WARN_EDATA, DYNTOPO_WARN_LDATA, DYNTOPO_WARN_MODIFIER, DYNTOPO_WARN_VDATA, fabsf, ListBase::first, Mesh::flag, Object::id, ID_RECALC_COPY_ON_WRITE, is_negative_m4(), ME_SCULPT_DYNAMIC_TOPOLOGY, Object::mode, NULL, OB_MODE_SCULPT, Object::obmat, PAINT_CURSOR_SCULPT, paint_cursor_start(), PAINT_MODE_SCULPT, RPT_WARNING, Object::scale, scene, SCULPT_dynamic_topology_check(), SCULPT_dynamic_topology_enable_ex(), sculpt_init_session(), SCULPT_mode_poll_view3d(), SCULPT_UNDO_DYNTOPO_BEGIN, SCULPT_undo_push_begin(), SCULPT_undo_push_end(), SCULPT_undo_push_node(), TIP_, Mesh::totloop, Mesh::totpoly, wmWindowManager::undo_stack, and Main::wm.
Referenced by ED_editors_init(), ED_object_sculptmode_enter(), sculpt_mode_toggle_exec(), and sculpt_undosys_step_decode().
Definition at line 8531 of file sculpt.c.
References C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), depsgraph, ED_object_sculptmode_exit_ex(), OBACT, and scene.
Referenced by geometry_extract_apply().
| void ED_object_sculptmode_exit_ex | ( | struct Main * | bmain, |
| struct Depsgraph * | depsgraph, | ||
| struct Scene * | scene, | ||
| struct Object * | ob | ||
| ) |
Definition at line 8488 of file sculpt.c.
References BKE_mesh_from_object(), BKE_object_free_derived_caches(), BKE_sculpt_multires_active(), BKE_sculptsession_free(), SculptSession::bm, DEG_id_tag_update(), depsgraph, Mesh::flag, Object::id, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, ME_SCULPT_DYNAMIC_TOPOLOGY, Object::mode, multires_flush_sculpt_updates(), OB_MODE_SCULPT, paint_cursor_delete_textures(), scene, Object::sculpt, and sculpt_dynamic_topology_disable_with_undo().
Referenced by ed_object_mode_generic_exit_ex(), ED_object_sculptmode_exit(), and sculpt_mode_toggle_exec().
Definition at line 637 of file object_select.c.
References C, CTX_data_scene(), DEG_id_tag_update(), GS, id, Scene::id, ID_LI, ID_MA, ID_RECALC_SELECT, ID::name, NC_SCENE, ND_OB_SELECT, OB_DATA_SUPPORT_ID, object_select_all_by_library(), object_select_all_by_material(), object_select_all_by_obdata(), scene, and WM_event_add_notifier().
Referenced by data_select_linked_fn(), and id_select_linked_fn().
| struct ShaderFxData* ED_object_shaderfx_add | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Scene * | scene, | ||
| struct Object * | ob, | ||
| const char * | name, | ||
| int | type | ||
| ) |
Definition at line 164 of file object_shader_fx.c.
References DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Object::id, ID_RECALC_GEOMETRY, ShaderFxData::next, object_shaderfx_remove(), and Object::shader_fx.
| void ED_object_shaderfx_copy | ( | struct Object * | dst, |
| struct ShaderFxData * | fx | ||
| ) |
Definition at line 253 of file object_shader_fx.c.
References BKE_shaderfx_copydata(), BKE_shaderfx_new(), BLI_addtail(), BLI_strncpy(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, ShaderFxData::name, NC_OBJECT, ND_SHADERFX, Object::shader_fx, ShaderFxData::type, and WM_main_add_notifier().
Referenced by datastack_drop_copy().
Definition at line 244 of file object_shader_fx.c.
References BKE_shaderfx_copy(), BLI_freelistN(), DEG_id_tag_update(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, Object::shader_fx, and WM_main_add_notifier().
Referenced by datastack_drop_link(), and make_links_data_exec().
| int ED_object_shaderfx_move_down | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ShaderFxData * | fx | ||
| ) |
| bool ED_object_shaderfx_move_to_index | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ShaderFxData * | fx, | ||
| const int | index | ||
| ) |
Definition at line 207 of file object_shader_fx.c.
References BKE_report(), BLI_assert, BLI_findindex(), BLI_listbase_count(), DEG_id_tag_update(), ED_object_shaderfx_move_down(), ED_object_shaderfx_move_up(), Object::id, ID_RECALC_GEOMETRY, NC_OBJECT, ND_SHADERFX, NULL, RPT_WARNING, Object::shader_fx, and WM_main_add_notifier().
Referenced by datastack_drop_reorder(), and shaderfx_move_to_index_exec().
| int ED_object_shaderfx_move_up | ( | struct ReportList * | reports, |
| struct Object * | ob, | ||
| struct ShaderFxData * | fx | ||
| ) |
| bool ED_object_shaderfx_remove | ( | struct ReportList * | reports, |
| struct Main * | bmain, | ||
| struct Object * | ob, | ||
| struct ShaderFxData * | fx | ||
| ) |
Definition at line 146 of file object_shader_fx.c.
References BKE_reportf(), DEG_id_tag_update(), DEG_relations_tag_update(), Object::id, ID_RECALC_GEOMETRY, ShaderFxData::name, ID::name, object_shaderfx_remove(), and RPT_ERROR.
Referenced by shaderfx_remove_exec().
Definition at line 1938 of file object_relations.c.
References BKE_main_id_clear_newpoins(), Object::flag, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, NULL, OB_DONE, scene, and single_object_users().
Referenced by template_id_cb().
| void ED_object_texture_paint_mode_enter | ( | struct bContext * | C | ) |
Definition at line 1182 of file paint_image.c.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), ED_object_texture_paint_mode_enter_ex(), and scene.
| void ED_object_texture_paint_mode_enter_ex | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| Object * | ob | ||
| ) |
Definition at line 1122 of file paint_image.c.
References Object::actcol, blender::compositor::area(), bScreen::areabase, BKE_image_free_all_gputextures(), BKE_image_paint_set_mipmap(), BKE_mesh_from_object(), BKE_object_material_get(), BKE_paint_init(), BKE_paint_toolslots_brush_validate(), BKE_texpaint_slots_refresh_object(), BLI_assert, ImagePaintSettings::canvas, DEG_id_tag_update(), ED_paint_proj_mesh_data_check(), ED_space_image_set(), ListBase::first, Mesh::id, ID_RECALC_COPY_ON_WRITE, TexPaintSlot::ima, IMAGEPAINT_MODE_IMAGE, IMAGEPAINT_MODE_MATERIAL, ToolSettings::imapaint, Object::mode, ImagePaintSettings::mode, NC_SCENE, ND_MODE, NULL, OB_MODE_TEXTURE_PAINT, ImagePaintSettings::paint, Material::paint_active_slot, PAINT_CURSOR_TEXTURE_PAINT, PAINT_MODE_TEXTURE_3D, SpaceImage::pin, scene, SPACE_IMAGE, SpaceLink::spacetype, Material::texpaintslot, toggle_paint_cursor(), Scene::toolsettings, wmWindowManager::windows, Main::wm, WM_main_add_notifier(), and WM_window_get_active_screen().
Referenced by ED_object_texture_paint_mode_enter(), and texture_paint_toggle_exec().
| void ED_object_texture_paint_mode_exit | ( | struct bContext * | C | ) |
Definition at line 1206 of file paint_image.c.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), ED_object_texture_paint_mode_exit_ex(), and scene.
| void ED_object_texture_paint_mode_exit_ex | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| Object * | ob | ||
| ) |
Definition at line 1190 of file paint_image.c.
References BKE_image_free_all_gputextures(), BKE_image_paint_set_mipmap(), BKE_mesh_from_object(), BLI_assert, DEG_id_tag_update(), Mesh::id, ID_RECALC_COPY_ON_WRITE, Object::mode, NC_SCENE, ND_MODE, NULL, OB_MODE_TEXTURE_PAINT, scene, toggle_paint_cursor(), and WM_main_add_notifier().
Referenced by ed_object_mode_generic_exit_ex(), ED_object_texture_paint_mode_exit(), and texture_paint_toggle_exec().
| 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 | ||
| ) |
Definition at line 1266 of file paint_vertex.c.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), depsgraph, ED_object_vpaintmode_enter_ex(), and scene.
| void ED_object_vpaintmode_enter_ex | ( | struct Main * | bmain, |
| struct Depsgraph * | depsgraph, | ||
| struct Scene * | scene, | ||
| struct Object * | ob | ||
| ) |
Definition at line 1262 of file paint_vertex.c.
References depsgraph, ed_vwpaintmode_enter_generic(), OB_MODE_VERTEX_PAINT, and scene.
Referenced by ED_editors_init(), ED_object_vpaintmode_enter(), and vpaint_mode_toggle_exec().
| void ED_object_vpaintmode_exit | ( | struct bContext * | C | ) |
Definition at line 1343 of file paint_vertex.c.
References C, CTX_data_active_object(), and ED_object_vpaintmode_exit_ex().
| void ED_object_vpaintmode_exit_ex | ( | struct Object * | ob | ) |
Definition at line 1339 of file paint_vertex.c.
References ed_vwpaintmode_exit_generic(), and OB_MODE_VERTEX_PAINT.
Referenced by ed_object_mode_generic_exit_ex(), ED_object_vpaintmode_exit(), and vpaint_mode_toggle_exec().
Definition at line 1278 of file paint_vertex.c.
References C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), depsgraph, ED_object_wpaintmode_enter_ex(), and scene.
| void ED_object_wpaintmode_enter_ex | ( | struct Main * | bmain, |
| struct Depsgraph * | depsgraph, | ||
| struct Scene * | scene, | ||
| struct Object * | ob | ||
| ) |
Definition at line 1274 of file paint_vertex.c.
References depsgraph, ed_vwpaintmode_enter_generic(), OB_MODE_WEIGHT_PAINT, and scene.
Referenced by ED_editors_init(), ED_object_wpaintmode_enter(), and wpaint_mode_toggle_exec().
| void ED_object_wpaintmode_exit | ( | struct bContext * | C | ) |
Definition at line 1353 of file paint_vertex.c.
References C, CTX_data_active_object(), and ED_object_wpaintmode_exit_ex().
| void ED_object_wpaintmode_exit_ex | ( | struct Object * | ob | ) |
Definition at line 1349 of file paint_vertex.c.
References ed_vwpaintmode_exit_generic(), and OB_MODE_WEIGHT_PAINT.
Referenced by ed_object_mode_generic_exit_ex(), ED_object_wpaintmode_exit(), and wpaint_mode_toggle_exec().
| struct XFormObjectSkipChild_Container* ED_object_xform_skip_child_container_create | ( | void | ) |
Definition at line 174 of file object_utils.c.
References BLI_ghash_ptr_new(), MEM_callocN, NULL, and XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by createTransObject(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_xform_skip_child_container_destroy | ( | struct XFormObjectSkipChild_Container * | xcs | ) |
Definition at line 243 of file object_utils.c.
References BLI_ghash_free(), MEM_freeN, NULL, and XFormObjectSkipChild_Container::obchild_in_obmode_map.
Referenced by freeTransObjectCustomData(), object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_xform_skip_child_container_item_ensure | ( | struct XFormObjectSkipChild_Container * | xcs, |
| struct Object * | ob, | ||
| struct Object * | ob_parent_recurse, | ||
| int | mode | ||
| ) |
Definition at line 249 of file object_utils.c.
References BLI_ghash_ensure_p(), copy_m4_m4(), invert_m4_m4(), MEM_mallocN, XFormObjectSkipChild::mode, XFormObjectSkipChild::ob_parent_recurse, XFormObjectSkipChild_Container::obchild_in_obmode_map, Object::obmat, XFormObjectSkipChild::obmat_orig, Object::parent, XFormObjectSkipChild::parent_obmat_inv_orig, XFormObjectSkipChild::parent_obmat_orig, XFormObjectSkipChild::parent_recurse_obmat_orig, Object::parentinv, and XFormObjectSkipChild::parentinv_orig.
Referenced by createTransObject(), and ED_object_xform_skip_child_container_item_ensure_from_array().
| 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 | ||
| ) |
Definition at line 183 of file object_utils.c.
References BLI_gset_add(), BLI_gset_free(), BLI_gset_haskey(), BLI_gset_ptr_new_ex(), ED_object_xform_skip_child_container_item_ensure(), LISTBASE_FOREACH, NULL, ViewLayer::object_bases, Object::parent, XFORM_OB_SKIP_CHILD_PARENT_APPLY, and XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM.
Referenced by object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), and snap_selected_to_location().
| void ED_object_xform_skip_child_container_update_all | ( | struct XFormObjectSkipChild_Container * | xcs, |
| struct Main * | bmain, | ||
| struct Depsgraph * | depsgraph | ||
| ) |
Definition at line 270 of file object_utils.c.
References BKE_scene_graph_evaluated_ensure(), BLI_assert, BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, GHASH_ITER, Object::id, ID_RECALC_TRANSFORM, invert_m4(), invert_m4_m4(), XFormObjectSkipChild::mode, mul_m4_m4m4(), XFormObjectSkipChild::ob_parent_recurse, XFormObjectSkipChild_Container::obchild_in_obmode_map, Object::obmat, XFormObjectSkipChild::obmat_orig, Object::parent, XFormObjectSkipChild::parent_obmat_inv_orig, XFormObjectSkipChild::parent_obmat_orig, XFormObjectSkipChild::parent_recurse_obmat_orig, Object::parentinv, XFormObjectSkipChild::parentinv_orig, XFORM_OB_SKIP_CHILD_PARENT_APPLY, XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM, and XFORM_OB_SKIP_CHILD_PARENT_IS_XFORM_INDIRECT.
Referenced by object_clear_transform_generic_exec(), snap_sel_to_grid_exec(), snap_selected_to_location(), and trans_obchild_in_obmode_update_all().
| void ED_objects_clear_paths | ( | struct bContext * | C, |
| bool | only_selected | ||
| ) |
Definition at line 1346 of file object_edit.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, and object_clear_mpath().
Referenced by object_clear_paths_exec().
| void ED_objects_recalculate_paths | ( | struct bContext * | C, |
| struct Scene * | scene, | ||
| eObjectPathCalcRange | range | ||
| ) |
Definition at line 1135 of file object_edit.c.
References animviz_calc_motionpaths(), animviz_depsgraph_build(), animviz_get_object_motionpaths(), ANIMVIZ_RECALC_PATHS, BLI_freelistN(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_view_layer(), DEG_graph_free(), DEG_id_tag_update(), depsgraph, ID_RECALC_COPY_ON_WRITE, NULL, OBJECT_PATH_CALC_RANGE_CURRENT_FRAME, object_path_convert_range(), and scene.
Referenced by object_calculate_paths_exec(), object_update_paths_exec(), recalcData_objects(), and special_aftertrans_update__object().
| void ED_operatormacros_object | ( | void | ) |
Definition at line 283 of file object_ops.c.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacemacros_init().
| void ED_operatortypes_object | ( | void | ) |
Definition at line 44 of file object_ops.c.
References COLLECTION_OT_create(), COLLECTION_OT_objects_add_active(), COLLECTION_OT_objects_remove(), COLLECTION_OT_objects_remove_active(), COLLECTION_OT_objects_remove_all(), CONSTRAINT_OT_childof_clear_inverse(), CONSTRAINT_OT_childof_set_inverse(), CONSTRAINT_OT_delete(), CONSTRAINT_OT_followpath_path_animate(), CONSTRAINT_OT_limitdistance_reset(), CONSTRAINT_OT_move_down(), CONSTRAINT_OT_move_to_index(), CONSTRAINT_OT_move_up(), CONSTRAINT_OT_objectsolver_clear_inverse(), CONSTRAINT_OT_objectsolver_set_inverse(), CONSTRAINT_OT_stretchto_reset(), OBJECT_OT_add(), OBJECT_OT_add_named(), OBJECT_OT_armature_add(), OBJECT_OT_bake(), OBJECT_OT_bake_image(), OBJECT_OT_camera_add(), OBJECT_OT_collection_add(), OBJECT_OT_collection_instance_add(), OBJECT_OT_collection_link(), OBJECT_OT_collection_objects_select(), OBJECT_OT_collection_remove(), OBJECT_OT_collection_unlink(), OBJECT_OT_constraint_add(), OBJECT_OT_constraint_add_with_targets(), OBJECT_OT_constraints_clear(), OBJECT_OT_constraints_copy(), OBJECT_OT_convert(), OBJECT_OT_convert_proxy_to_override(), OBJECT_OT_correctivesmooth_bind(), OBJECT_OT_data_instance_add(), OBJECT_OT_data_transfer(), OBJECT_OT_datalayout_transfer(), OBJECT_OT_delete(), OBJECT_OT_drop_named_image(), OBJECT_OT_drop_named_material(), OBJECT_OT_duplicate(), OBJECT_OT_duplicates_make_real(), OBJECT_OT_editmode_toggle(), OBJECT_OT_effector_add(), OBJECT_OT_empty_add(), OBJECT_OT_explode_refresh(), OBJECT_OT_face_map_add(), OBJECT_OT_face_map_assign(), OBJECT_OT_face_map_deselect(), OBJECT_OT_face_map_move(), OBJECT_OT_face_map_remove(), OBJECT_OT_face_map_remove_from(), OBJECT_OT_face_map_select(), OBJECT_OT_forcefield_toggle(), OBJECT_OT_gpencil_add(), OBJECT_OT_gpencil_modifier_add(), OBJECT_OT_gpencil_modifier_apply(), OBJECT_OT_gpencil_modifier_copy(), OBJECT_OT_gpencil_modifier_copy_to_selected(), OBJECT_OT_gpencil_modifier_move_down(), OBJECT_OT_gpencil_modifier_move_to_index(), OBJECT_OT_gpencil_modifier_move_up(), OBJECT_OT_gpencil_modifier_remove(), OBJECT_OT_hair_add(), OBJECT_OT_hide_collection(), OBJECT_OT_hide_view_clear(), OBJECT_OT_hide_view_set(), OBJECT_OT_hook_add_newob(), OBJECT_OT_hook_add_selob(), OBJECT_OT_hook_assign(), OBJECT_OT_hook_recenter(), OBJECT_OT_hook_remove(), OBJECT_OT_hook_reset(), OBJECT_OT_hook_select(), OBJECT_OT_join(), OBJECT_OT_join_shapes(), OBJECT_OT_laplaciandeform_bind(), OBJECT_OT_light_add(), OBJECT_OT_lightprobe_add(), OBJECT_OT_link_to_collection(), OBJECT_OT_location_clear(), OBJECT_OT_make_links_data(), OBJECT_OT_make_links_scene(), OBJECT_OT_make_local(), OBJECT_OT_make_override_library(), OBJECT_OT_make_single_user(), OBJECT_OT_meshdeform_bind(), OBJECT_OT_metaball_add(), OBJECT_OT_mode_set(), OBJECT_OT_mode_set_with_submode(), OBJECT_OT_modifier_add(), OBJECT_OT_modifier_apply(), OBJECT_OT_modifier_apply_as_shapekey(), OBJECT_OT_modifier_convert(), OBJECT_OT_modifier_copy(), OBJECT_OT_modifier_copy_to_selected(), OBJECT_OT_modifier_move_down(), OBJECT_OT_modifier_move_to_index(), OBJECT_OT_modifier_move_up(), OBJECT_OT_modifier_remove(), OBJECT_OT_modifier_set_active(), OBJECT_OT_move_to_collection(), OBJECT_OT_multires_base_apply(), OBJECT_OT_multires_external_pack(), OBJECT_OT_multires_external_save(), OBJECT_OT_multires_higher_levels_delete(), OBJECT_OT_multires_rebuild_subdiv(), OBJECT_OT_multires_reshape(), OBJECT_OT_multires_subdivide(), OBJECT_OT_multires_unsubdivide(), OBJECT_OT_ocean_bake(), OBJECT_OT_origin_clear(), OBJECT_OT_origin_set(), OBJECT_OT_parent_clear(), OBJECT_OT_parent_no_inverse_set(), OBJECT_OT_parent_set(), OBJECT_OT_paths_calculate(), OBJECT_OT_paths_clear(), OBJECT_OT_paths_range_update(), OBJECT_OT_paths_update(), OBJECT_OT_pointcloud_add(), OBJECT_OT_posemode_toggle(), OBJECT_OT_proxy_make(), OBJECT_OT_quadriflow_remesh(), OBJECT_OT_rotation_clear(), OBJECT_OT_scale_clear(), OBJECT_OT_select_all(), OBJECT_OT_select_by_type(), OBJECT_OT_select_grouped(), OBJECT_OT_select_less(), OBJECT_OT_select_linked(), OBJECT_OT_select_mirror(), OBJECT_OT_select_more(), OBJECT_OT_select_random(), OBJECT_OT_select_same_collection(), OBJECT_OT_shade_flat(), OBJECT_OT_shade_smooth(), OBJECT_OT_shaderfx_add(), OBJECT_OT_shaderfx_copy(), OBJECT_OT_shaderfx_move_down(), OBJECT_OT_shaderfx_move_to_index(), OBJECT_OT_shaderfx_move_up(), OBJECT_OT_shaderfx_remove(), OBJECT_OT_shape_key_add(), OBJECT_OT_shape_key_clear(), OBJECT_OT_shape_key_mirror(), OBJECT_OT_shape_key_move(), OBJECT_OT_shape_key_remove(), OBJECT_OT_shape_key_retime(), OBJECT_OT_skin_armature_create(), OBJECT_OT_skin_loose_mark_clear(), OBJECT_OT_skin_radii_equalize(), OBJECT_OT_skin_root_mark(), OBJECT_OT_speaker_add(), OBJECT_OT_surfacedeform_bind(), OBJECT_OT_text_add(), OBJECT_OT_track_clear(), OBJECT_OT_track_set(), OBJECT_OT_transfer_mode(), OBJECT_OT_transform_apply(), OBJECT_OT_transform_axis_target(), OBJECT_OT_unlink_data(), OBJECT_OT_vertex_group_add(), OBJECT_OT_vertex_group_assign(), OBJECT_OT_vertex_group_assign_new(), OBJECT_OT_vertex_group_clean(), OBJECT_OT_vertex_group_copy(), OBJECT_OT_vertex_group_copy_to_linked(), OBJECT_OT_vertex_group_copy_to_selected(), OBJECT_OT_vertex_group_deselect(), OBJECT_OT_vertex_group_fix(), OBJECT_OT_vertex_group_invert(), OBJECT_OT_vertex_group_levels(), OBJECT_OT_vertex_group_limit_total(), OBJECT_OT_vertex_group_lock(), OBJECT_OT_vertex_group_mirror(), OBJECT_OT_vertex_group_move(), OBJECT_OT_vertex_group_normalize(), OBJECT_OT_vertex_group_normalize_all(), OBJECT_OT_vertex_group_quantize(), OBJECT_OT_vertex_group_remove(), OBJECT_OT_vertex_group_remove_from(), OBJECT_OT_vertex_group_select(), OBJECT_OT_vertex_group_set_active(), OBJECT_OT_vertex_group_smooth(), OBJECT_OT_vertex_group_sort(), OBJECT_OT_vertex_parent_set(), OBJECT_OT_vertex_weight_copy(), OBJECT_OT_vertex_weight_delete(), OBJECT_OT_vertex_weight_normalize_active_vertex(), OBJECT_OT_vertex_weight_paste(), OBJECT_OT_vertex_weight_set_active(), OBJECT_OT_visual_transform_apply(), OBJECT_OT_volume_add(), OBJECT_OT_volume_import(), OBJECT_OT_voxel_remesh(), OBJECT_OT_voxel_size_edit(), POSE_OT_constraint_add(), POSE_OT_constraint_add_with_targets(), POSE_OT_constraints_clear(), POSE_OT_constraints_copy(), POSE_OT_ik_add(), POSE_OT_ik_clear(), TRANSFORM_OT_vertex_random(), TRANSFORM_OT_vertex_warp(), WM_operatortype_append(), and WM_operatortypes_lineart().
Referenced by ED_spacetypes_init().
Definition at line 631 of file object_constraint.c.
References bPose::chanbase, bPoseChannel::constraints, Object::constraints, ListBase::first, bPoseChannel::next, NULL, OB_ARMATURE, Object::pose, test_constraints(), and Object::type.
Referenced by constraint_add_exec(), and ED_object_constraint_update().