Blender
V3.3
|
#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_curves.h"
#include "BKE_displist.h"
#include "BKE_editmesh.h"
#include "BKE_fcurve.h"
#include "BKE_gpencil.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) |
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) |
#define INDEX_UNSET -1 |
anonymous enum |
Enumerator | |
---|---|
CLEAR_TRACK | |
CLEAR_TRACK_KEEP_TRANSFORM |
Definition at line 1147 of file object_relations.c.
anonymous enum |
Enumerator | |
---|---|
CREATE_TRACK_DAMPTRACK | |
CREATE_TRACK_TRACKTO | |
CREATE_TRACK_LOCKTRACK |
Definition at line 1227 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 1410 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 2019 of file object_relations.c.
anonymous enum |
Enumerator | |
---|---|
MAKE_SINGLE_USER_ALL | |
MAKE_SINGLE_USER_SELECTED |
Definition at line 2683 of file object_relations.c.
Definition at line 1422 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 2609 of file object_relations.c.
References ViewLayer::basact, BKE_id_delete(), BKE_lib_override_library_id_reset(), BKE_lib_override_library_is_hierarchy_leaf(), BKE_libblock_remap(), BKE_view_layer_base_find(), BLI_linklist_prepend_alloca, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, Object::id, Scene::id, ID_IS_LINKED, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, ID_RECALC_SELECT, ID_REMAP_SKIP_INDIRECT_USAGE, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, NULL, OBACT, OPERATOR_FINISHED, ID::override_library, IDOverrideLibrary::reference, scene, and WM_event_add_notifier().
Referenced by OBJECT_OT_clear_override_library().
|
static |
Definition at line 2812 of file object_relations.c.
References BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), C, CTX_data_main(), DEG_id_tag_update(), ED_view3d_give_material_slot_under_cursor(), Object::id, ID_MA, ID_RECALC_TRANSFORM, max_ii(), wmEvent::mval, NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, WM_event_add_notifier(), and WM_operator_properties_id_lookup_from_name_or_session_uuid().
Referenced by OBJECT_OT_drop_named_material().
char* ED_object_ot_drop_named_material_tooltip | ( | bContext * | C, |
const char * | name, | ||
const int | mval[2] | ||
) |
Definition at line 2789 of file object_relations.c.
References BKE_object_material_get(), BLI_sprintfN(), BLI_strdup(), C, ED_view3d_give_material_slot_under_cursor(), Material::id, Object::id, max_ii(), ID::name, NULL, result, and TIP_.
Referenced by view3d_mat_drop_tooltip().
Definition at line 465 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().
Definition at line 382 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 506 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_if_layer_visible(), 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_CURVES_LEGACY, 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 1937 of file object_relations.c.
References Object::flag, FOREACH_SCENE_OBJECT_BEGIN, FOREACH_SCENE_OBJECT_END, NULL, OB_DONE, scene, and single_obdata_users().
Referenced by apply_objects_internal(), and modifier_apply_exec_ex().
Not an especially efficient function, only added so the single user button can be functional.
Definition at line 1806 of file object_relations.c.
References BKE_main_id_newptr_and_tag_clear(), 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 1708 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 1467 of file object_relations.c.
References Freestyle::a, allow_make_links_data(), BKE_animdata_copy_id(), BKE_collection_object_add(), BKE_id_is_editable(), 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_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 1374 of file object_relations.c.
References BKE_collection_object_add(), BKE_id_is_editable(), BKE_report(), BLI_findlink(), C, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), CTX_data_scene(), DEG_relations_tag_update(), Scene::id, 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 2079 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().
Definition at line 2118 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().
Definition at line 2104 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 2150 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().
Definition at line 2139 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 2278 of file object_relations.c.
References BKE_collection_child_remove(), BKE_lib_override_library_create(), BKE_main_id_tag_all(), BKE_reportf(), BKE_view_layer_has_collection(), BLI_assert, BLI_ghashutil_intcmp(), BLI_ghashutil_inthash_p(), BLI_gset_add(), BLI_gset_free(), BLI_gset_haskey(), BLI_gset_new(), BLI_listbase_bytes_find(), C, Main::collections, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG_id_tag_update(), ED_object_base_free_and_unlink(), IDOverrideLibrary::flag, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, GS, IDOverrideLibrary::hierarchy_root, Collection::id, Object::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED, Object::instance_collection, LIB_TAG_DOIT, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MAIN_ID_SESSION_UUID_UNSET, make_override_library_object_overridable_check(), ID::name, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, NULL, OB_ARMATURE, OPERATOR_CANCELLED, OPERATOR_FINISHED, ID::override_library, Collection::parents, POINTER_FROM_UINT, wmOperatorType::prop, wmOperator::ptr, IDOverrideLibrary::reference, wmOperator::reports, RNA_property_int_get(), RPT_ERROR_INVALID_INPUT, scene, ID::session_uuid, wmOperator::type, and WM_event_add_notifier().
Referenced by make_override_library_invoke(), and OBJECT_OT_make_override_library().
|
static |
Definition at line 2466 of file object_relations.c.
References BKE_collection_has_object_recursive(), BKE_report(), BKE_reportf(), BKE_view_layer_has_collection(), C, Main::collections, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), ED_object_active_context(), ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, Object::instance_collection, LIB_TAG_INDIRECT, LISTBASE_FOREACH, MAIN_ID_SESSION_UUID_UNSET, make_override_library_exec(), make_override_library_object_overridable_check(), NULL, OPERATOR_CANCELLED, wmOperatorType::prop, wmOperator::ptr, wmOperator::reports, RNA_property_int_set(), RPT_ERROR, scene, and wmOperator::type.
Referenced by OBJECT_OT_make_override_library().
Definition at line 2261 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().
Definition at line 2521 of file object_relations.c.
References C, CTX_data_active_object(), ED_operator_objectmode(), ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY, Object::instance_collection, and NULL.
Referenced by OBJECT_OT_make_override_library().
|
static |
Definition at line 2688 of file object_relations.c.
References BKE_main_id_newptr_and_tag_clear(), 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(), single_objectdata_action_users(), and WM_event_add_notifier().
Referenced by OBJECT_OT_make_single_user().
void OBJECT_OT_clear_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2660 of file object_relations.c.
References clear_override_library_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and reset_clear_override_library_poll().
Referenced by ED_operatortypes_object().
void OBJECT_OT_drop_named_material | ( | struct wmOperatorType * | ot | ) |
Used for drop-box. Assigns to object under cursor, only first material slot.
Definition at line 2837 of file object_relations.c.
References drop_named_material_invoke(), ED_operator_objectmode_poll_msg(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_id_lookup().
Referenced by ED_operatortypes_object().
void OBJECT_OT_make_links_data | ( | wmOperatorType * | ot | ) |
Definition at line 1651 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(), RNA_ENUM_ITEM_SEPR, and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
void OBJECT_OT_make_links_scene | ( | wmOperatorType * | ot | ) |
Definition at line 1627 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 2224 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 2533 of file object_relations.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MAIN_ID_SESSION_UUID_UNSET, make_override_library_exec(), make_override_library_invoke(), make_override_library_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_object().
void OBJECT_OT_make_single_user | ( | wmOperatorType * | ot | ) |
Definition at line 2741 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 442 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 1119 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, RNA_def_boolean(), wmOperatorType::srna, and WM_operator_confirm().
Referenced by ED_operatortypes_object().
void OBJECT_OT_parent_set | ( | wmOperatorType * | ot | ) |
Definition at line 1040 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_reset_override_library | ( | wmOperatorType * | ot | ) |
Definition at line 2594 of file object_relations.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, reset_clear_override_library_poll(), and reset_override_library_exec().
Referenced by ED_operatortypes_object().
void OBJECT_OT_track_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1202 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 1324 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 | ( | struct wmOperatorType * | ot | ) |
Definition at line 2895 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 299 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 342 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_CURVES_LEGACY, OB_LATTICE, LatticeModifierData::object, CurveModifierData::object, ArmatureModifierData::object, ModifierData::type, and Object::type.
Referenced by ED_object_parent_clear().
|
static |
Definition at line 1163 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 2860 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 426 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 1076 of file object_relations.c.
References BKE_object_apply_parent_inverse(), 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::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, unit_m4(), and WM_event_add_notifier().
Referenced by OBJECT_OT_parent_no_inverse_set().
|
static |
Definition at line 885 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 1014 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 917 of file object_relations.c.
References C, CTX_DATA_BEGIN, CTX_DATA_END, curves, ED_object_active_context(), IFACE_, mesh, NULL, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, 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(), uiItemBooleanO(), uiItemEnumO_ptr(), uiItemFullO_ptr(), uiItemO(), and WM_OP_EXEC_DEFAULT.
Referenced by parent_set_invoke().
|
static |
Definition at line 810 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 1022 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 775 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 866 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 836 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().
Definition at line 2566 of file object_relations.c.
References C, CTX_data_active_object(), ED_operator_objectmode(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, and NULL.
Referenced by OBJECT_OT_clear_override_library(), and OBJECT_OT_reset_override_library().
|
static |
Definition at line 2575 of file object_relations.c.
References BKE_lib_override_library_id_reset(), C, CTX_data_main(), CTX_data_view_layer(), CTX_wm_view3d(), FOREACH_SELECTED_OBJECT_BEGIN, FOREACH_SELECTED_OBJECT_END, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, NULL, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by OBJECT_OT_reset_override_library().
Definition at line 1700 of file object_relations.c.
References id, ID_IS_LINKED, NULL, and ID::us.
Referenced by single_mat_users(), single_obdata_users(), single_object_action_users(), and single_objectdata_action_users().
|
static |
Definition at line 1991 of file object_relations.c.
References Freestyle::a, BKE_id_copy_ex(), BKE_id_is_editable(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), BKE_object_material_get(), FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, Material::id, LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, NULL, scene, single_data_needs_duplication(), and ID::us.
Referenced by make_single_user_exec().
|
static |
Definition at line 1820 of file object_relations.c.
References Curve::bevobj, BKE_id_copy_ex(), BKE_id_is_editable(), BKE_pose_rebuild(), BKE_scene_objects_iterator_end(), BLI_assert_msg, DEG_id_tag_update(), Camera::dof, ListBase::first, CameraDOFSettings::focus_object, FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, id, Mesh::id, ID_NEW_REMAP, ID_NEW_SET, ID_RECALC_GEOMETRY, id_us_min(), LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, Main::meshes, ID::name, ID::next, NULL, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GPENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, scene, single_data_needs_duplication(), Curve::taperobj, and Mesh::texcomesh.
Referenced by ED_object_single_obdata_user(), and make_single_user_exec().
|
static |
Definition at line 1950 of file object_relations.c.
References AnimData::action, BKE_animdata_duplicate_id_action(), BKE_animdata_from_id(), BKE_id_is_editable(), DEG_id_tag_update(), FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_RECALC_GEOMETRY, if(), NULL, scene, single_data_needs_duplication(), USER_DUP_ACT, and USER_DUP_LINKED_ID.
Referenced by make_single_user_exec().
|
static |
Definition at line 1783 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 1725 of file object_relations.c.
References BKE_collection_child_add_no_sync(), BKE_id_copy_ex(), 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, LIB_ID_COPY_ACTIONS, LIB_ID_COPY_DEFAULT, LISTBASE_FOREACH, MEM_freeN, ID::newid, CollectionChild::next, NULL, and scene.
Referenced by single_object_users().
|
static |
Definition at line 1970 of file object_relations.c.
References BKE_animdata_duplicate_id_action(), BKE_animdata_from_id(), BKE_id_is_editable(), DEG_id_tag_update(), FOREACH_OBJECT_FLAG_BEGIN, FOREACH_OBJECT_FLAG_END, ID_RECALC_GEOMETRY, if(), NULL, scene, single_data_needs_duplication(), USER_DUP_ACT, and USER_DUP_LINKED_ID.
Referenced by make_single_user_exec().
|
static |
Definition at line 2026 of file object_relations.c.
References LibraryIDLinkCallbackData::id_pointer, IDWALK_RET_NOP, LIB_TAG_DOIT, and ID::tag.
Referenced by tag_localizable_objects().
Definition at line 2036 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 1240 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 113 of file object_relations.c.
References BASACT, BEZT_ISSEL_ANY_HIDDENHANDLES, BKE_editmesh_looptri_and_normals_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(), 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_CURVES_LEGACY, 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().
Definition at line 108 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 321 of file object_relations.c.
Referenced by OBJECT_OT_parent_clear().
|
static |
Definition at line 1152 of file object_relations.c.
Referenced by OBJECT_OT_track_clear().
EnumPropertyItem prop_make_parent_types[] |
Definition at line 489 of file object_relations.c.
Referenced by OBJECT_OT_parent_set().
|
static |
Definition at line 1233 of file object_relations.c.
Referenced by OBJECT_OT_track_set().