|
Blender
V2.93
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_camera_types.h"#include "DNA_collection_types.h"#include "DNA_constraint_types.h"#include "DNA_gpencil_types.h"#include "DNA_key_types.h"#include "DNA_lattice_types.h"#include "DNA_light_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_object_types.h"#include "DNA_particle_types.h"#include "DNA_scene_types.h"#include "DNA_vfont_types.h"#include "DNA_world_types.h"#include "BLI_kdtree.h"#include "BLI_linklist.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "BLT_translation.h"#include "BKE_DerivedMesh.h"#include "BKE_action.h"#include "BKE_anim_data.h"#include "BKE_armature.h"#include "BKE_camera.h"#include "BKE_collection.h"#include "BKE_constraint.h"#include "BKE_context.h"#include "BKE_curve.h"#include "BKE_displist.h"#include "BKE_editmesh.h"#include "BKE_fcurve.h"#include "BKE_gpencil.h"#include "BKE_hair.h"#include "BKE_idprop.h"#include "BKE_idtype.h"#include "BKE_lattice.h"#include "BKE_layer.h"#include "BKE_lib_id.h"#include "BKE_lib_override.h"#include "BKE_lib_query.h"#include "BKE_lib_remap.h"#include "BKE_light.h"#include "BKE_lightprobe.h"#include "BKE_main.h"#include "BKE_material.h"#include "BKE_mball.h"#include "BKE_mesh.h"#include "BKE_modifier.h"#include "BKE_node.h"#include "BKE_object.h"#include "BKE_pointcloud.h"#include "BKE_report.h"#include "BKE_scene.h"#include "BKE_speaker.h"#include "BKE_texture.h"#include "BKE_volume.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "DEG_depsgraph_query.h"#include "WM_api.h"#include "WM_types.h"#include "UI_interface.h"#include "UI_resources.h"#include "RNA_access.h"#include "RNA_define.h"#include "RNA_enum_types.h"#include "ED_armature.h"#include "ED_curve.h"#include "ED_gpencil.h"#include "ED_keyframing.h"#include "ED_mesh.h"#include "ED_object.h"#include "ED_screen.h"#include "ED_view3d.h"#include "object_intern.h"Go to the source code of this file.
Classes | |
| struct | ParentingContext |
Macros | |
| #define | INDEX_UNSET -1 |
Clear Track Operator | |
| enum | { CLEAR_TRACK = 1 , CLEAR_TRACK_KEEP_TRANSFORM = 2 } |
| static const EnumPropertyItem | prop_clear_track_types [] |
| static int | object_track_clear_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_track_clear (wmOperatorType *ot) |
Make Track Operator | |
| enum | { CREATE_TRACK_DAMPTRACK = 1 , CREATE_TRACK_TRACKTO = 2 , CREATE_TRACK_LOCKTRACK = 3 } |
| static const EnumPropertyItem | prop_make_track_types [] |
| static int | track_set_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_track_set (wmOperatorType *ot) |
Link to Scene Operator | |
| enum | { MAKE_LINKS_OBDATA = 1 , MAKE_LINKS_MATERIALS = 2 , MAKE_LINKS_ANIMDATA = 3 , MAKE_LINKS_GROUP = 4 , MAKE_LINKS_DUPLICOLLECTION = 5 , MAKE_LINKS_MODIFIERS = 6 , MAKE_LINKS_FONTS = 7 , MAKE_LINKS_SHADERFX = 8 } |
| static int | make_links_scene_exec (bContext *C, wmOperator *op) |
| static bool | allow_make_links_data (const int type, Object *ob_src, Object *ob_dst) |
| static int | make_links_data_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_make_links_scene (wmOperatorType *ot) |
| void | OBJECT_OT_make_links_data (wmOperatorType *ot) |
Make Local Operator | |
| enum | { MAKE_LOCAL_SELECT_OB = 1 , MAKE_LOCAL_SELECT_OBDATA = 2 , MAKE_LOCAL_SELECT_OBDATA_MATERIAL = 3 , MAKE_LOCAL_ALL = 4 } |
| static int | tag_localizable_looper (LibraryIDLinkCallbackData *cb_data) |
| static void | tag_localizable_objects (bContext *C, const int mode) |
| static bool | make_local_all__instance_indirect_unused (Main *bmain, ViewLayer *view_layer, Collection *collection) |
| static void | make_local_animdata_tag_strips (ListBase *strips) |
| static void | make_local_animdata_tag (AnimData *adt) |
| static void | make_local_material_tag (Material *ma) |
| static int | make_local_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_make_local (wmOperatorType *ot) |
Make Single User Operator | |
| enum | { MAKE_SINGLE_USER_ALL = 1 , MAKE_SINGLE_USER_SELECTED = 2 } |
| static void | libblock_relink_collection (Collection *collection, const bool do_collection) |
| static Collection * | single_object_users_collection (Main *bmain, Scene *scene, Collection *collection, const int flag, const bool copy_collections, const bool is_master_collection) |
| static void | single_object_users (Main *bmain, Scene *scene, View3D *v3d, const int flag, const bool copy_collections) |
| void | ED_object_single_user (Main *bmain, Scene *scene, Object *ob) |
| static void | single_obdata_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static void | single_object_action_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static void | single_mat_users (Main *bmain, Scene *scene, ViewLayer *view_layer, View3D *v3d, const int flag) |
| static int | make_single_user_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_make_single_user (wmOperatorType *ot) |
Clear Parent Operator | |
| EnumPropertyItem | prop_clear_parent_types [] |
| static void | object_remove_parent_deform_modifiers (Object *ob, const Object *par) |
| void | ED_object_parent_clear (Object *ob, const int type) |
| static int | parent_clear_exec (bContext *C, wmOperator *op) |
| void | OBJECT_OT_parent_clear (wmOperatorType *ot) |
Make Parent Operator | |
| EnumPropertyItem | prop_make_parent_types [] |
| void | ED_object_parent (Object *ob, Object *par, const int type, const char *substr) |
| bool | ED_object_parent_set (ReportList *reports, const bContext *C, Scene *scene, Object *const ob, Object *const par, int partype, const bool xmirror, const bool keep_transform, const int vert_par[3]) |
| static void | parent_set_vert_find (KDTree_3d *tree, Object *child, int vert_par[3], bool is_tri) |
| static bool | parent_set_nonvertex_parent (bContext *C, struct ParentingContext *parenting_context) |
| static bool | parent_set_vertex_parent_with_kdtree (bContext *C, struct ParentingContext *parenting_context, struct KDTree_3d *tree) |
| static bool | parent_set_vertex_parent (bContext *C, struct ParentingContext *parenting_context) |
| static int | parent_set_exec (bContext *C, wmOperator *op) |
| static int | parent_set_invoke_menu (bContext *C, wmOperatorType *ot) |
| static int | parent_set_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
| static bool | parent_set_poll_property (const bContext *UNUSED(C), wmOperator *op, const PropertyRNA *prop) |
| void | OBJECT_OT_parent_set (wmOperatorType *ot) |
| #define INDEX_UNSET -1 |
| anonymous enum |
| Enumerator | |
|---|---|
| CLEAR_TRACK | |
| CLEAR_TRACK_KEEP_TRANSFORM | |
Definition at line 1289 of file object_relations.c.
| anonymous enum |
| Enumerator | |
|---|---|
| CREATE_TRACK_DAMPTRACK | |
| CREATE_TRACK_TRACKTO | |
| CREATE_TRACK_LOCKTRACK | |
Definition at line 1369 of file object_relations.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_LINKS_OBDATA | |
| MAKE_LINKS_MATERIALS | |
| MAKE_LINKS_ANIMDATA | |
| MAKE_LINKS_GROUP | |
| MAKE_LINKS_DUPLICOLLECTION | |
| MAKE_LINKS_MODIFIERS | |
| MAKE_LINKS_FONTS | |
| MAKE_LINKS_SHADERFX | |
Definition at line 1552 of file object_relations.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_LOCAL_SELECT_OB | |
| MAKE_LOCAL_SELECT_OBDATA | |
| MAKE_LOCAL_SELECT_OBDATA_MATERIAL | |
| MAKE_LOCAL_ALL | |
Definition at line 2101 of file object_relations.c.
| anonymous enum |
| Enumerator | |
|---|---|
| MAKE_SINGLE_USER_ALL | |
| MAKE_SINGLE_USER_SELECTED | |
Definition at line 2606 of file object_relations.c.
Definition at line 1564 of file object_relations.c.
References Object::data, ELEM, MAKE_LINKS_ANIMDATA, MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, OB_EMPTY, OB_FONT, OB_GPENCIL, OB_TYPE_SUPPORT_MATERIAL, type, and Object::type.
Referenced by make_links_data_exec().
|
static |
Definition at line 2550 of file object_relations.c.
References BKE_lib_override_library_proxy_convert(), BKE_main_id_tag_all(), BKE_reportf(), C, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ED_object_base_free_and_unlink(), Object::id, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, LIB_TAG_DOIT, ID::name, NC_WINDOW, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::proxy_group, wmOperator::reports, RPT_ERROR_INVALID_INPUT, scene, and WM_event_add_notifier().
Referenced by OBJECT_OT_convert_proxy_to_override().
|
static |
Definition at line 2543 of file object_relations.c.
References C, CTX_data_active_object(), NULL, and Object::proxy.
Referenced by OBJECT_OT_convert_proxy_to_override().
|
static |
Definition at line 2700 of file object_relations.c.
References BKE_libblock_find_name(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), C, CTX_data_main(), DEG_id_tag_update(), ED_view3d_give_base_under_cursor(), Object::id, ID_MA, ID_RECALC_TRANSFORM, MAX_ID_NAME, wmEvent::mval, NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, NULL, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_drop_named_material().
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 | ( | 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 | ( | ReportList * | reports, |
| const bContext * | C, | ||
| Scene * | scene, | ||
| Object *const | ob, | ||
| Object *const | par, | ||
| int | partype, | ||
| const bool | xmirror, | ||
| const bool | keep_transform, | ||
| const int | vert_par[3] | ||
| ) |
Definition at line 680 of file object_relations.c.
References add_fmodifier(), CurveCache::anim_path_accum_length, ARM_GROUPS_AUTO, ARM_GROUPS_ENVELOPE, ARM_GROUPS_NAME, FCurve::bezt, BKE_constraint_add_for_object(), BKE_constraint_target_matrix_get(), BKE_displist_make_curveTypes(), BKE_modifiers_is_deformed_by_armature(), BKE_modifiers_is_deformed_by_curve(), BKE_modifiers_is_deformed_by_lattice(), BKE_object_apply_mat4(), BKE_object_parent_loop_check(), BKE_object_workob_calc_parent(), BKE_pose_channel_active(), BKE_report(), BLI_strncpy(), bPoseChannel::bone, BONE_RELATIVE_PARENTING, C, RenderData::cfra, CONSTRAINT_OBTYPE_OBJECT, CONSTRAINT_TYPE_FOLLOWPATH, copy_v3_v3(), copy_v3_v3_int(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CU_FOLLOW, CU_PATH, Object_Runtime::curve_cache, data, bConstraint::data, Object::data, DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, ED_action_fcurve_ensure(), ED_gpencil_add_armature(), ED_gpencil_add_armature_weights(), ED_gpencil_add_lattice_modifier(), ED_id_action_ensure(), ED_object_modifier_add(), ED_object_vgroup_calc_from_armature(), ELEM, eModifierType_Armature, eModifierType_Curve, eModifierType_Lattice, ListBase::first, Bone::flag, Curve::flag, FMODIFIER_TYPE_GENERATOR, FCurve::fpt, GP_PAR_ARMATURE_AUTO, GP_PAR_ARMATURE_NAME, Curve::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, invert_m4_m4(), Object::loc, FCurve::modifiers, bPoseChannel::name, NULL, OB_ARMATURE, OB_CURVE, OB_FONT, OB_GPENCIL, OB_LATTICE, OB_MESH, OB_SURF, Object::obmat, Object::par1, PAR_ARMATURE, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, PAR_ARMATURE_NAME, PAR_BONE, PAR_BONE_RELATIVE, PAR_CURVE, PAR_FOLLOW, PAR_LATTICE, PAR_OBJECT, PAR_PATH_CONST, PAR_VERTEX, PAR_VERTEX_TRI, PARBONE, Object::parent, Object::parentinv, PAROBJECT, Object::parsubstr, Object::partype, PARVERT1, PARVERT3, Scene::r, RPT_ERROR, Object::runtime, scene, sub_v3_v3v3(), Object::type, unit_m4(), and WM_cursor_wait().
Referenced by parent_set_nonvertex_parent(), and parent_set_vertex_parent_with_kdtree().
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().
|
static |
Definition at line 1842 of file object_relations.c.
References BKE_libblock_relink_to_newid(), Collection::children, ListBase::first, Collection::gobject, Collection::id, LISTBASE_FOREACH, and NULL.
Referenced by single_object_users().
|
static |
Definition at line 1609 of file object_relations.c.
References Freestyle::a, allow_make_links_data(), BKE_animdata_copy_id(), BKE_collection_object_add(), BKE_MAT_ASSIGN_USERPREF, BKE_object_groups(), BKE_object_groups_clear(), BKE_object_link_modifiers(), BKE_object_material_assign(), BKE_object_material_get(), BKE_object_materials_test(), BKE_report(), BLI_linklist_free(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), CTX_wm_view3d(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_active_context(), ED_object_shaderfx_link(), Object::id, VFont::id, ID_IS_LINKED, ID_RECALC_ANIMATION, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, id_us_min(), id_us_plus(), LinkNode::link, MAKE_LINKS_ANIMDATA, MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, NC_ANIMATION, NC_OBJECT, NC_SPACE, ND_NLA_ACTCHANGE, ND_SPACE_VIEW3D, LinkNode::next, NULL, OB_DUPLICOLLECTION, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, scene, Object::totcol, type, Curve::vfont, Curve::vfontb, Curve::vfontbi, Curve::vfonti, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_links_data().
|
static |
Definition at line 1516 of file object_relations.c.
References BKE_collection_object_add(), BKE_report(), BLI_findlink(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), ID_IS_LINKED, Scene::master_collection, NC_OBJECT, ND_DRAW, NULL, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, Main::scenes, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_links_scene().
|
static |
Instance indirectly referenced zero user objects, otherwise they're lost on reload, see T40595.
Definition at line 2163 of file object_relations.c.
References BA_SELECT, BKE_collection_object_add(), BKE_view_layer_base_find(), DEG_id_tag_update(), ED_object_base_select(), ListBase::first, Object::id, ID_IS_LINKED, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, id_us_plus(), ID::next, Main::objects, and ID::us.
Referenced by make_local_exec().
|
static |
Definition at line 2202 of file object_relations.c.
References AnimData::action, bAction::id, LIB_TAG_PRE_EXISTING, LISTBASE_FOREACH, make_local_animdata_tag_strips(), AnimData::nla_tracks, ID::tag, and AnimData::tmpact.
Referenced by make_local_exec(), and make_local_material_tag().
|
static |
Definition at line 2188 of file object_relations.c.
References NlaStrip::act, ListBase::first, bAction::id, LIB_TAG_PRE_EXISTING, NlaStrip::next, NlaStrip::strips, and ID::tag.
Referenced by make_local_animdata_tag().
|
static |
Definition at line 2234 of file object_relations.c.
References Freestyle::a, BKE_animdata_from_id(), BKE_library_make_local(), BKE_main_id_tag_all(), BKE_object_material_array_p(), BKE_report(), BKE_view_layer_base_deselect_all(), C, CTX_DATA_BEGIN, CTX_data_collection(), CTX_DATA_END, CTX_data_main(), CTX_data_view_layer(), ELEM, ParticleSettings::id, LIB_TAG_DOIT, LIB_TAG_PRE_EXISTING, MAKE_LOCAL_ALL, make_local_all__instance_indirect_unused(), make_local_animdata_tag(), make_local_material_tag(), MAKE_LOCAL_SELECT_OBDATA, MAKE_LOCAL_SELECT_OBDATA_MATERIAL, NC_WINDOW, ParticleSystem::next, NULL, OPERATOR_FINISHED, ParticleSystem::part, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_INFO, ID::tag, tag_localizable_objects(), and WM_event_add_notifier().
Referenced by OBJECT_OT_make_local().
|
static |
Definition at line 2223 of file object_relations.c.
References BKE_animdata_from_id(), Material::id, LIB_TAG_PRE_EXISTING, make_local_animdata_tag(), and ID::tag.
Referenced by make_local_exec().
|
static |
Definition at line 2483 of file object_relations.c.
References BKE_collection_has_object_recursive(), C, Main::collections, CTX_data_main(), DummyRNA_DEFAULT_items, ED_object_active_context(), ID_IS_LINKED, EnumPropertyItem::identifier, LIB_TAG_INDIRECT, LISTBASE_FOREACH, EnumPropertyItem::name, NULL, RNA_enum_item_add(), RNA_enum_item_end(), and EnumPropertyItem::value.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2405 of file object_relations.c.
References BKE_lib_override_library_create(), BKE_main_id_tag_all(), BKE_reportf(), BLI_listbase_bytes_find(), C, Main::collections, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ED_object_base_free_and_unlink(), Collection::id, Object::id, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, Object::instance_collection, LIB_TAG_DOIT, MAIN_ID_SESSION_UUID_UNSET, make_override_library_object_overridable_check(), ID::name, NC_WINDOW, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperatorType::prop, wmOperator::ptr, wmOperator::reports, RNA_property_enum_get(), RPT_ERROR_INVALID_INPUT, scene, wmOperator::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2363 of file object_relations.c.
References BKE_report(), C, CTX_data_main(), CTX_data_scene(), ED_object_active_context(), ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, IFACE_, Object::instance_collection, make_override_library_object_overridable_check(), wmOperatorType::name, NULL, OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmOperator::reports, RPT_ERROR, scene, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemFullO_ptr(), WM_enum_search_invoke(), and WM_OP_EXEC_REGION_WIN.
Referenced by OBJECT_OT_make_override_library().
Definition at line 2345 of file object_relations.c.
References BKE_collection_has_object(), Main::collections, ID_IS_LINKED, LISTBASE_FOREACH, Scene::master_collection, scene, and Main::scenes.
Referenced by make_override_library_exec(), and make_override_library_invoke().
|
static |
Definition at line 2473 of file object_relations.c.
References C, CTX_data_active_object(), ED_operator_objectmode(), ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, Object::instance_collection, and NULL.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 377 of file object_relations.c.
References BKE_collection_object_cache_get(), BKE_object_add_from(), BKE_object_make_proxy(), BKE_report(), BLI_findlink(), BLI_snprintf(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_active_context(), Object::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::instance_collection, MAX_ID_NAME, NC_OBJECT, ND_DRAW, NULL, OB_EMPTY, Base::object, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::proxy, Object::proxy_from, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, scene, and WM_event_add_notifier().
Referenced by OBJECT_OT_proxy_make().
|
static |
Definition at line 339 of file object_relations.c.
References BKE_report(), C, CTX_data_scene(), ED_object_active_context(), ID_IS_LINKED, IFACE_, Object::instance_collection, wmOperatorType::name, NULL, OPERATOR_CANCELLED, OPERATOR_INTERFACE, wmOperator::reports, RPT_ERROR, scene, wmOperator::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemFullO_ptr(), WM_enum_search_invoke(), and WM_OP_EXEC_REGION_WIN.
Referenced by OBJECT_OT_proxy_make().
|
static |
Definition at line 2611 of file object_relations.c.
References BKE_main_id_clear_newpoins(), BKE_view_layer_selected_objects_tag(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_relations_tag_update(), MAKE_SINGLE_USER_SELECTED, NC_WINDOW, NULL, OB_DONE, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), scene, SELECT, single_mat_users(), single_obdata_users(), single_object_action_users(), single_object_users(), and WM_event_add_notifier().
Referenced by OBJECT_OT_make_single_user().
| void OBJECT_OT_convert_proxy_to_override | ( | wmOperatorType * | ot | ) |
Definition at line 2585 of file object_relations.c.
References convert_proxy_to_override_exec(), convert_proxy_to_override_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_drop_named_material | ( | wmOperatorType * | ot | ) |
Definition at line 2726 of file object_relations.c.
References drop_named_material_invoke(), ED_operator_objectmode(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_make_links_data | ( | wmOperatorType * | ot | ) |
Definition at line 1793 of file object_relations.c.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAKE_LINKS_ANIMDATA, make_links_data_exec(), MAKE_LINKS_DUPLICOLLECTION, MAKE_LINKS_FONTS, MAKE_LINKS_GROUP, MAKE_LINKS_MATERIALS, MAKE_LINKS_MODIFIERS, MAKE_LINKS_OBDATA, MAKE_LINKS_SHADERFX, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_make_links_scene | ( | wmOperatorType * | ot | ) |
Definition at line 1769 of file object_relations.c.
References wmOperatorType::description, DummyRNA_NULL_items, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, make_links_scene_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), RNA_scene_local_itemf(), wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_make_local | ( | wmOperatorType * | ot | ) |
Definition at line 2308 of file object_relations.c.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAKE_LOCAL_ALL, make_local_exec(), MAKE_LOCAL_SELECT_OB, MAKE_LOCAL_SELECT_OBDATA, MAKE_LOCAL_SELECT_OBDATA_MATERIAL, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_make_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2514 of file object_relations.c.
References wmOperatorType::description, DummyRNA_DEFAULT_items, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAIN_ID_SESSION_UUID_UNSET, make_override_collections_of_linked_object_itemf(), make_override_library_exec(), make_override_library_invoke(), make_override_library_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2660 of file object_relations.c.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAKE_SINGLE_USER_ALL, make_single_user_exec(), MAKE_SINGLE_USER_SELECTED, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and WM_operator_props_popup_confirm().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 616 of file object_relations.c.
References CLEAR_PARENT_ALL, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_clear_exec(), wmOperatorType::prop, prop_clear_parent_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_parent_no_inverse_set | ( | wmOperatorType * | ot | ) |
Definition at line 1267 of file object_relations.c.
References wmOperatorType::description, ED_operator_object_active_editable(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_noinv_set_exec(), wmOperatorType::poll, and WM_operator_confirm().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 1195 of file object_relations.c.
References wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_set_exec(), parent_set_invoke(), parent_set_poll_property(), wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, prop_make_parent_types, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_proxy_make | ( | wmOperatorType * | ot | ) |
Definition at line 463 of file object_relations.c.
References wmOperatorType::description, DummyRNA_DEFAULT_items, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, make_proxy_exec(), make_proxy_invoke(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, proxy_collection_object_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_track_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1344 of file object_relations.c.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, object_track_clear_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_clear_track_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_track_set | ( | wmOperatorType * | ot | ) |
Definition at line 1466 of file object_relations.c.
References wmOperatorType::description, ED_operator_objectmode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_make_track_types, RNA_def_enum(), wmOperatorType::srna, track_set_exec(), and WM_menu_invoke().
Referenced by ED_operatortypes_object().
| void OBJECT_OT_unlink_data | ( | wmOperatorType * | ot | ) |
Definition at line 2787 of file object_relations.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, object_unlink_data_exec(), OPTYPE_INTERNAL, and ot.
Referenced by ED_operatortypes_object().
| void OBJECT_OT_vertex_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 316 of file object_relations.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, vertex_parent_set_exec(), vertex_parent_set_poll(), and WM_operator_confirm().
Referenced by ED_operatortypes_object().
Definition at line 520 of file object_relations.c.
References BKE_modifier_free(), BKE_modifier_remove_from_list(), ELEM, eModifierType_Armature, eModifierType_Curve, eModifierType_Lattice, ListBase::first, free(), Object::modifiers, ModifierData::next, OB_ARMATURE, OB_CURVE, OB_LATTICE, LatticeModifierData::object, CurveModifierData::object, ArmatureModifierData::object, ModifierData::type, and Object::type.
Referenced by ED_object_parent_clear().
|
static |
Definition at line 1305 of file object_relations.c.
References BKE_constraint_remove(), BKE_object_apply_mat4(), BKE_report(), C, CLEAR_TRACK_KEEP_TRANSFORM, CONSTRAINT_TYPE_DAMPTRACK, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_TRACKTO, CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_TRANSFORM, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, bConstraint::prev, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, type, bConstraint::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_track_clear().
|
static |
Definition at line 2749 of file object_relations.c.
References BKE_report(), C, Object::data, GS, id, ID_IM, ID_OB, id_us_min(), ID::name, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, PropertyPointerRNA::prop, PropertyPointerRNA::ptr, wmOperator::reports, RNA_property_update(), RPT_ERROR, and UI_context_active_but_prop_get_templateID().
Referenced by OBJECT_OT_unlink_data().
|
static |
Definition at line 600 of file object_relations.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_relations_tag_update(), ED_object_parent_clear(), NC_OBJECT, ND_PARENT, ND_TRANSFORM, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), type, and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_clear().
|
static |
Definition at line 1231 of file object_relations.c.
References BKE_object_parent_loop_check(), BKE_report(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_active_context(), Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NC_OBJECT, ND_PARENT, ND_TRANSFORM, NULL, OPERATOR_FINISHED, PAROBJECT, Object::partype, wmOperator::reports, RPT_ERROR, unit_m4(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_no_inverse_set().
|
static |
Definition at line 1059 of file object_relations.c.
References C, CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), ED_object_active_context(), ELEM, NC_OBJECT, ND_PARENT, ND_TRANSFORM, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, PAR_VERTEX, PAR_VERTEX_TRI, parent_set_nonvertex_parent(), parent_set_vertex_parent(), ParentingContext::partype, Object::partype, wmOperator::ptr, ParentingContext::reports, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_set(), and parent_set_invoke().
|
static |
Definition at line 1169 of file object_relations.c.
References C, parent_set_exec(), parent_set_invoke_menu(), wmOperatorType::prop, wmOperator::ptr, RNA_property_is_set(), and wmOperator::type.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 1091 of file object_relations.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, ED_object_active_context(), IFACE_, mesh, NULL, OB_ARMATURE, OB_CURVE, OB_GPENCIL, OB_LATTICE, OB_MESH, OB_TYPE_SUPPORT_PARVERT, OPERATOR_INTERFACE, ot, PAR_ARMATURE, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, PAR_ARMATURE_NAME, PAR_BONE, PAR_BONE_RELATIVE, PAR_CURVE, PAR_FOLLOW, PAR_LATTICE, PAR_OBJECT, PAR_PATH_CONST, PAR_VERTEX, PAR_VERTEX_TRI, RNA_boolean_set(), RNA_enum_set(), Object::type, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemEnumO_ptr(), uiItemFullO_ptr(), uiItemO(), and WM_OP_EXEC_DEFAULT.
Referenced by parent_set_invoke().
|
static |
Definition at line 984 of file object_relations.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, ED_object_parent_set(), ParentingContext::keep_transform, NULL, ParentingContext::par, ParentingContext::partype, ParentingContext::reports, ParentingContext::scene, and ParentingContext::xmirror.
Referenced by parent_set_exec().
|
static |
Definition at line 1177 of file object_relations.c.
References ELEM, PAR_ARMATURE_AUTO, PAR_ARMATURE_ENVELOPE, wmOperator::ptr, RNA_enum_get(), RNA_property_identifier(), STREQ, and type.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 949 of file object_relations.c.
References BLI_assert, min_iii(), NULL, Object::obmat, tree, UNPACK3, and UNUSED_VARS.
Referenced by parent_set_vertex_parent_with_kdtree().
|
static |
Definition at line 1040 of file object_relations.c.
References BKE_object_as_kdtree(), BKE_report(), BLI_assert, C, ParentingContext::is_vertex_tri, NULL, ParentingContext::par, parent_set_vertex_parent_with_kdtree(), ParentingContext::reports, RPT_ERROR, and tree.
Referenced by parent_set_exec().
|
static |
Definition at line 1010 of file object_relations.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, ED_object_parent_set(), ParentingContext::is_vertex_tri, ParentingContext::keep_transform, ParentingContext::par, parent_set_vert_find(), ParentingContext::partype, ParentingContext::reports, ParentingContext::scene, tree, and ParentingContext::xmirror.
Referenced by parent_set_vertex_parent().
|
static |
Definition at line 435 of file object_relations.c.
References C, DummyRNA_DEFAULT_items, ED_object_active_context(), FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, EnumPropertyItem::identifier, Object::instance_collection, EnumPropertyItem::name, NULL, RNA_enum_item_add(), RNA_enum_item_end(), and EnumPropertyItem::value.
Referenced by OBJECT_OT_proxy_make().
|
static |
Definition at line 2067 of file object_relations.c.
References Freestyle::a, BKE_animdata_copy_id_action(), BKE_id_copy(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), BKE_object_material_get(), FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, Material::id, ID_IS_LINKED, scene, and ID::us.
Referenced by make_single_user_exec().
|
static |
Definition at line 1952 of file object_relations.c.
References Curve::bevobj, BKE_animdata_copy_id_action(), BKE_id_copy(), BKE_pose_rebuild(), BKE_scene_objects_iterator_end(), BLI_assert, DEG_id_tag_update(), Camera::dof, ListBase::first, CameraDOFSettings::focus_object, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, id, Mesh::id, ID_IS_LINKED, ID_NEW_REMAP, ID_NEW_SET, ID_RECALC_GEOMETRY, id_us_min(), Curve::key, Lattice::key, Mesh::key, Main::meshes, ID::name, ID::next, OB_ARMATURE, OB_CAMERA, OB_CURVE, OB_FONT, OB_GPENCIL, OB_HAIR, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, scene, Curve::taperobj, Mesh::texcomesh, and ID::us.
Referenced by make_single_user_exec().
|
static |
Definition at line 2055 of file object_relations.c.
References BKE_animdata_copy_id_action(), DEG_id_tag_update(), FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_IS_LINKED, ID_RECALC_GEOMETRY, and scene.
Referenced by make_single_user_exec().
|
static |
Definition at line 1913 of file object_relations.c.
References BKE_libblock_relink_to_newid(), BKE_main_collection_sync_remap(), View3D::camera, Scene::id, ID_NEW_REMAP, libblock_relink_collection(), Scene::master_collection, scene, and single_object_users_collection().
Referenced by ED_object_single_user(), and make_single_user_exec().
|
static |
Definition at line 1857 of file object_relations.c.
References BKE_collection_child_add_no_sync(), BKE_id_copy(), BKE_object_scenes_users_get(), BLI_remlink(), Collection::children, CollectionChild::collection, ListBase::first, Object::flag, Collection::gobject, Collection::id, Object::id, ID_IS_LINKED, ID_NEW_SET, id_us_min(), ListBase::last, LISTBASE_FOREACH, MEM_freeN, ID::newid, CollectionChild::next, NULL, and scene.
Referenced by single_object_users().
|
static |
Definition at line 2108 of file object_relations.c.
References LibraryIDLinkCallbackData::id_pointer, IDWALK_RET_NOP, LIB_TAG_DOIT, and ID::tag.
Referenced by tag_localizable_objects().
|
static |
Definition at line 2118 of file object_relations.c.
References BKE_library_foreach_ID_link(), BKE_main_id_tag_all(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), ListBase::first, IDWALK_READONLY, if(), LIB_TAG_DOIT, MAKE_LOCAL_SELECT_OBDATA, NULL, Main::objects, ID::tag, and tag_localizable_looper().
Referenced by make_local_exec().
|
static |
Definition at line 1382 of file object_relations.c.
References BKE_constraint_add_for_object(), C, CONSTRAINT_TYPE_DAMPTRACK, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_TRACKTO, CREATE_TRACK_DAMPTRACK, CREATE_TRACK_LOCKTRACK, CREATE_TRACK_TRACKTO, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), data, bConstraint::data, DEG_id_tag_update(), DEG_relations_tag_update(), ED_object_active_context(), ELEM, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, LOCK_Y, NC_OBJECT, ND_TRANSFORM, NULL, OB_CAMERA, OB_LAMP, OB_SPEAKER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), TRACK_nZ, type, UP_Y, and WM_event_add_notifier().
Referenced by OBJECT_OT_track_set().
|
static |
Definition at line 129 of file object_relations.c.
References BASACT, BEZT_ISSEL_ANY_HIDDENHANDLES, BKE_editmesh_looptri_calc(), BKE_object_parent_loop_check(), BKE_object_workob_calc_parent(), BKE_report(), BKE_scene_graph_update_tagged(), BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH_INDEX, BM_VERTS_OF_MESH, C, CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), CU_BEZIER, Object::data, Lattice::def, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, EDBM_mesh_load(), EDBM_mesh_make(), EDBM_mesh_normals_update(), Mesh::edit_mesh, Lattice::editlatt, ELEM, BPoint::f1, ListBase::first, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, INDEX_UNSET, invert_m4_m4(), EditLatt::latt, NC_OBJECT, NULL, OB_CURVE, OB_LATTICE, OB_MESH, OB_SURF, object_editcurve_get(), Object::obmat, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::parent, PARVERT1, PARVERT3, Lattice::pntsu, Lattice::pntsv, Lattice::pntsw, wmOperator::reports, RPT_ERROR, scene, SELECT, ToolSettings::selectmode, Scene::toolsettings, Object::type, and WM_event_add_notifier().
Referenced by OBJECT_OT_vertex_parent_set().
|
static |
Definition at line 124 of file object_relations.c.
References C, ED_operator_editlattice(), ED_operator_editmesh(), and ED_operator_editsurfcurve().
Referenced by OBJECT_OT_vertex_parent_set().
| EnumPropertyItem prop_clear_parent_types[] |
Definition at line 499 of file object_relations.c.
Referenced by OBJECT_OT_parent_clear().
|
static |
Definition at line 1294 of file object_relations.c.
Referenced by OBJECT_OT_track_clear().
| EnumPropertyItem prop_make_parent_types[] |
Definition at line 663 of file object_relations.c.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 1375 of file object_relations.c.
Referenced by OBJECT_OT_track_set().