|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "CLG_log.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_collection_types.h"#include "DNA_constraint_types.h"#include "DNA_gpencil_types.h"#include "DNA_hair_types.h"#include "DNA_light_types.h"#include "DNA_linestyle_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_modifier_types.h"#include "DNA_object_types.h"#include "DNA_pointcloud_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_simulation_types.h"#include "DNA_volume_types.h"#include "DNA_world_types.h"#include "BLI_blenlib.h"#include "BLI_ghash.h"#include "BLI_utildefines.h"#include "BKE_anim_data.h"#include "BKE_animsys.h"#include "BKE_armature.h"#include "BKE_collection.h"#include "BKE_constraint.h"#include "BKE_context.h"#include "BKE_fcurve.h"#include "BKE_global.h"#include "BKE_idtype.h"#include "BKE_layer.h"#include "BKE_lib_id.h"#include "BKE_lib_override.h"#include "BKE_lib_query.h"#include "BKE_main.h"#include "BKE_object.h"#include "BKE_report.h"#include "BKE_scene.h"#include "BKE_screen.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "ED_object.h"#include "ED_outliner.h"#include "ED_scene.h"#include "ED_screen.h"#include "ED_sequencer.h"#include "ED_undo.h"#include "WM_api.h"#include "WM_message.h"#include "WM_types.h"#include "UI_interface.h"#include "UI_resources.h"#include "UI_view2d.h"#include "RNA_access.h"#include "RNA_define.h"#include "RNA_enum_types.h"#include "SEQ_sequencer.h"#include "outliner_intern.h"Go to the source code of this file.
Classes | |
| struct | MergedSearchData |
| struct | OutlinerLibOverrideData |
Variables | |
| static CLG_LogRef | LOG = {"ed.outliner.tools"} |
Scene Menu Operator | |
| enum | eOutliner_PropSceneOps { OL_SCENE_OP_DELETE = 1 } |
| typedef enum eOutliner_PropSceneOps | eOutliner_PropSceneOps |
| static const EnumPropertyItem | prop_scene_op_types [] |
| static bool | outliner_do_scene_operation (bContext *C, eOutliner_PropSceneOps event, ListBase *lb, bool(*operation_fn)(bContext *, eOutliner_PropSceneOps, TreeElement *, TreeStoreElem *)) |
| static bool | scene_fn (bContext *C, eOutliner_PropSceneOps event, TreeElement *UNUSED(te), TreeStoreElem *tselem) |
| static int | outliner_scene_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_scene_operation (wmOperatorType *ot) |
Object Menu Operator | |
| enum | { OL_OP_SELECT = 1 , OL_OP_DESELECT , OL_OP_SELECT_HIERARCHY , OL_OP_REMAP , OL_OP_RENAME , OL_OP_PROXY_TO_OVERRIDE_CONVERT } |
| static const EnumPropertyItem | prop_object_op_types [] |
| static int | outliner_object_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_object_operation (wmOperatorType *ot) |
Library Menu Operator | |
| enum | eOutlinerLibOpTypes { OL_LIB_INVALID = 0 , OL_LIB_RENAME , OL_LIB_DELETE , OL_LIB_RELOCATE , OL_LIB_RELOAD } |
| typedef enum eOutlinerLibOpTypes | eOutlinerLibOpTypes |
| static const EnumPropertyItem | outliner_lib_op_type_items [] |
| static int | outliner_lib_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_lib_operation (wmOperatorType *ot) |
Animation Menu Operator | |
| enum | eOutliner_AnimDataOps { OUTLINER_ANIMOP_INVALID = 0 , OUTLINER_ANIMOP_CLEAR_ADT , OUTLINER_ANIMOP_SET_ACT , OUTLINER_ANIMOP_CLEAR_ACT , OUTLINER_ANIMOP_REFRESH_DRV , OUTLINER_ANIMOP_CLEAR_DRV } |
| typedef enum eOutliner_AnimDataOps | eOutliner_AnimDataOps |
| static const EnumPropertyItem | prop_animdata_op_types [] |
| static int | outliner_animdata_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_animdata_operation (wmOperatorType *ot) |
Search Utilities | |
| typedef struct MergedSearchData | MergedSearchData |
| static void | merged_element_search_fn_recursive (const ListBase *tree, short tselem_type, short type, const char *str, uiSearchItems *items) |
| static void | merged_element_search_update_fn (const bContext *UNUSED(C), void *data, const char *str, uiSearchItems *items, const bool UNUSED(is_first)) |
| static void | merged_element_search_exec_fn (struct bContext *C, void *UNUSED(arg1), void *element) |
| static uiBlock * | merged_element_search_menu (bContext *C, ARegion *region, void *data) |
| void | merged_element_search_menu_invoke (bContext *C, TreeElement *parent_te, TreeElement *activate_te) |
| static void | object_select_fn (bContext *C, ReportList *UNUSED(reports), Scene *UNUSED(scene), TreeElement *UNUSED(te), TreeStoreElem *UNUSED(tsep), TreeStoreElem *tselem, void *UNUSED(user_data)) |
Delete Object/Collection Operator | |
| typedef void(* | OutlinerDeleteFunc) (bContext *C, ReportList *reports, Scene *scene, Object *ob) |
| static void | outliner_do_object_delete (bContext *C, ReportList *reports, Scene *scene, GSet *objects_to_delete, OutlinerDeleteFunc delete_fn) |
| static TreeTraversalAction | outliner_find_objects_to_delete (TreeElement *te, void *customdata) |
| static int | outliner_delete_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_delete (wmOperatorType *ot) |
Constraint Menu Operator | |
| static const EnumPropertyItem | prop_constraint_op_types [] |
| static int | outliner_constraint_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_constraint_operation (wmOperatorType *ot) |
Modifier Menu Operator | |
| static const EnumPropertyItem | prop_modifier_op_types [] |
| static int | outliner_modifier_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_modifier_operation (wmOperatorType *ot) |
Data Menu Operator | |
| static const EnumPropertyItem | prop_data_op_types [] |
| static int | outliner_data_operation_exec (bContext *C, wmOperator *op) |
| void | OUTLINER_OT_data_operation (wmOperatorType *ot) |
| typedef enum eOutliner_AnimDataOps eOutliner_AnimDataOps |
| typedef enum eOutliner_PropConstraintOps eOutliner_PropConstraintOps |
| typedef enum eOutliner_PropDataOps eOutliner_PropDataOps |
| typedef enum eOutliner_PropModifierOps eOutliner_PropModifierOps |
| typedef enum eOutliner_PropSceneOps eOutliner_PropSceneOps |
| typedef enum eOutlinerIdOpTypes eOutlinerIdOpTypes |
| typedef enum eOutlinerLibOpTypes eOutlinerLibOpTypes |
| typedef struct MergedSearchData MergedSearchData |
Stores the parent and a child element of a merged icon-row icon for the merged select popup menu. The sub-tree of the parent is searched and the child is needed to only show elements of the same type in the popup.
Definition at line 1631 of file outliner_tools.c.
| typedef struct OutlinerLibOverrideData OutlinerLibOverrideData |
| anonymous enum |
| Enumerator | |
|---|---|
| OL_OP_SELECT | |
| OL_OP_DESELECT | |
| OL_OP_SELECT_HIERARCHY | |
| OL_OP_REMAP | |
| OL_OP_RENAME | |
| OL_OP_PROXY_TO_OVERRIDE_CONVERT | |
Definition at line 1494 of file outliner_tools.c.
| Enumerator | |
|---|---|
| OUTLINER_ANIMOP_INVALID | |
| OUTLINER_ANIMOP_CLEAR_ADT | |
| OUTLINER_ANIMOP_SET_ACT | |
| OUTLINER_ANIMOP_CLEAR_ACT | |
| OUTLINER_ANIMOP_REFRESH_DRV | |
| OUTLINER_ANIMOP_CLEAR_DRV | |
Definition at line 2501 of file outliner_tools.c.
| Enumerator | |
|---|---|
| OL_CONSTRAINTOP_ENABLE | |
| OL_CONSTRAINTOP_DISABLE | |
| OL_CONSTRAINTOP_DELETE | |
Definition at line 1208 of file outliner_tools.c.
| Enumerator | |
|---|---|
| OL_DOP_SELECT | |
| OL_DOP_DESELECT | |
| OL_DOP_HIDE | |
| OL_DOP_UNHIDE | |
| OL_DOP_SELECT_LINKED | |
Definition at line 1200 of file outliner_tools.c.
| Enumerator | |
|---|---|
| OL_MODIFIER_OP_TOGVIS | |
| OL_MODIFIER_OP_TOGREN | |
| OL_MODIFIER_OP_DELETE | |
Definition at line 1214 of file outliner_tools.c.
| Enumerator | |
|---|---|
| OL_SCENE_OP_DELETE | |
Definition at line 437 of file outliner_tools.c.
| enum eOutlinerIdOpTypes |
Definition at line 1751 of file outliner_tools.c.
| enum eOutlinerLibOpTypes |
| Enumerator | |
|---|---|
| OL_LIB_INVALID | |
| OL_LIB_RENAME | |
| OL_LIB_DELETE | |
| OL_LIB_RELOCATE | |
| OL_LIB_RELOAD | |
Definition at line 2274 of file outliner_tools.c.
|
static |
Definition at line 2400 of file outliner_tools.c.
References BKE_animdata_set_action(), TreeStoreElem::id, NULL, TSE_ANIM_DATA, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 1239 of file outliner_tools.c.
References BONE_HIDDEN_P, BONE_SELECTED, TreeElement::directdata, Bone::flag, if(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1145 of file outliner_tools.c.
References BKE_animdata_free(), DEG_id_tag_update(), TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 1164 of file outliner_tools.c.
References IdAdtTemplate::adt, BKE_fcurves_free(), DEG_id_tag_update(), AnimData::drivers, TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 1327 of file outliner_tools.c.
References BKE_constraint_remove_ex(), BKE_constraints_active_set(), C, CONSTRAINT_OFF, CTX_data_main(), TreeElement::directdata, ED_object_constraint_update(), bConstraint::flag, TreeStoreElem::flag, ID_OB, NA_REMOVED, NC_OBJECT, ND_CONSTRAINT, NULL, OL_CONSTRAINTOP_DELETE, OL_CONSTRAINTOP_DISABLE, OL_CONSTRAINTOP_ENABLE, outliner_search_back(), TreeElement::parent, TreeElement::store_elem, TREESTORE, TSE_POSE_CHANNEL, TSE_SELECTED, and WM_event_add_notifier().
Referenced by outliner_constraint_operation_exec().
|
static |
Definition at line 1312 of file outliner_tools.c.
References C, PointerRNA::data, ED_object_select_linked_by_id(), OL_DOP_SELECT_LINKED, RNA_struct_is_ID(), TreeElement::rnaptr, and PointerRNA::type.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 2827 of file outliner_tools.c.
References BKE_report(), C, ED_outliner_select_sync_from_outliner(), ED_region_tag_redraw_no_rebuild(), ELEM, TreeStoreElem::flag, get_element_operation_type(), ID_GR, ID_LI, OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_item_select(), outliner_operator_menu(), RPT_WARNING, TREESTORE, TSE_ANIM_DATA, TSE_CONSTRAINT, TSE_DRIVER_BASE, TSE_ID_BASE, TSE_LAYER_COLLECTION, TSE_MODIFIER, TSE_SCENE_COLLECTION_BASE, TSE_SELECTED, TSE_VIEW_COLLECTION_BASE, WM_menu_name_call(), and WM_OP_INVOKE_REGION_WIN.
Referenced by outliner_operation().
|
static |
Definition at line 1258 of file outliner_tools.c.
References BONE_HIDDEN_A, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, TreeElement::directdata, EditBone::flag, if(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 103 of file outliner_tools.c.
References ELEM, TreeStoreElem::flag, GS, TreeStoreElem::id, ID_AC, ID_AR, ID_BR, ID_CA, ID_CF, ID_CU, ID_GD, ID_GR, ID_HA, ID_IM, ID_IP, ID_KE, ID_LA, ID_LI, ID_LP, ID_LS, ID_LT, ID_MA, ID_MB, ID_MC, ID_ME, ID_MSK, ID_NLA, ID_NT, ID_OB, ID_PA, ID_PAL, ID_PC, ID_PT, ID_SCE, ID_SCR, ID_SIM, ID_SO, ID_SPK, ID_TE, ID_TXT, ID_VF, ID_VO, ID_WM, ID_WO, ID_WS, ID::name, TREESTORE, TSE_LAYER_COLLECTION, TSE_SCENE_COLLECTION_BASE, TSE_SELECTED, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by do_outliner_operation_event(), outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_operation_exec(), outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 194 of file outliner_tools.c.
References outliner_find_element_with_flag(), SpaceOutliner::tree, and TSE_ACTIVE.
Referenced by outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_operation_exec(), outliner_id_operation_exec(), outliner_id_operation_item_poll(), outliner_lib_operation_exec(), and outliner_operation_tree_element_poll().
|
static |
Definition at line 1291 of file outliner_tools.c.
References TreeElement::directdata, bGPDlayer::flag, GP_LAYER_HIDE, GP_LAYER_SELECT, if(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1005 of file outliner_tools.c.
References TreeStoreElem::id, and id_fake_user_clear().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 992 of file outliner_tools.c.
References TreeStoreElem::id, and id_fake_user_set().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 740 of file outliner_tools.c.
References BKE_lib_id_clear_library_data(), BKE_lib_id_make_local(), BKE_lib_override_library_make_local(), BKE_main_id_clear_newpoins(), C, CTX_data_main(), TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LIB_TAG_EXTERN, and ID::tag.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 805 of file outliner_tools.c.
References BKE_lib_override_library_create(), BKE_lib_override_library_create_from_id(), BKE_main_id_clear_newpoins(), BKE_main_id_tag_all(), BKE_reportf(), BLI_assert, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, ED_object_base_free_and_unlink(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, GS, Collection::id, TreeStoreElem::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_OB, if(), Object::instance_collection, LIB_TAG_DOIT, ID::name, NULL, OB_EMPTY, TreeElement::parent, RPT_WARNING, scene, TreeElement::store_elem, ID::tag, TSE_IS_REAL_ID, TSE_SOME_ID, Object::type, TreeStoreElem::type, and user_data.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 956 of file outliner_tools.c.
References BKE_lib_override_library_delete(), BLI_assert, C, CLOG_WARN, CTX_data_main(), TreeStoreElem::id, ID_IS_OVERRIDE_LIBRARY_REAL, LIB_TAG_DOIT, LOG, ID::name, NC_WINDOW, NULL, TreeElement::parent, TreeElement::store_elem, ID::tag, TSE_IS_REAL_ID, and WM_event_add_notifier().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 886 of file outliner_tools.c.
References BKE_lib_override_library_id_hierarchy_reset(), BKE_lib_override_library_id_reset(), BLI_assert, C, CLOG_WARN, CTX_data_main(), data, TreeStoreElem::id, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, NC_SPACE, NC_WM, ND_DATACHANGED, ND_SPACE_VIEW3D, NULL, TSE_IS_REAL_ID, user_data, and WM_event_add_notifier().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 917 of file outliner_tools.c.
References BKE_lib_override_library_resync(), BLI_assert, C, CLOG_WARN, CTX_data_main(), CTX_data_view_layer(), data, TreeStoreElem::id, ID_IS_OVERRIDE_LIBRARY_REAL, LIB_TAG_DOIT, LOG, ID::name, NC_WINDOW, NULL, TreeElement::parent, scene, TreeElement::store_elem, ID::tag, TSE_IS_REAL_ID, user_data, and WM_event_add_notifier().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1018 of file outliner_tools.c.
References C, ED_object_select_linked_by_id(), and TreeStoreElem::id.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 584 of file outliner_tools.c.
References C, CTX_wm_space_outliner(), ED_outliner_select_sync_from_outliner(), element, OL_ITEM_ACTIVATE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by merged_element_search_menu().
|
static |
Definition at line 539 of file outliner_tools.c.
References BLI_strcasestr(), BLI_strncpy(), TreeElementIcon::icon, LISTBASE_FOREACH, TreeElement::name, str, TreeElement::subtree, tree, tree_element_get_icon(), tree_element_id_type_to_index(), TREESTORE, type, TreeStoreElem::type, UI_search_item_add(), and UI_search_items_find_index().
Referenced by merged_element_search_update_fn().
Merged element search menu Created on activation of a merged or aggregated icon-row icon.
Definition at line 598 of file outliner_tools.c.
References C, data, merged_element_search_exec_fn(), merged_element_search_update_fn(), NULL, UI_block_begin(), UI_block_bounds_set_popup(), UI_block_flag_enable(), UI_BLOCK_LOOP, UI_BLOCK_MOVEMOUSE_QUIT, UI_BLOCK_SEARCH_MENU, UI_BLOCK_THEME_STYLE_POPUP, UI_block_theme_style_set(), UI_BTYPE_LABEL, UI_BUT_ACTIVATE_ON_INIT, UI_but_flag_enable(), UI_but_func_search_set(), UI_EMBOSS, UI_searchbox_size_y(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), and uiDefSearchBut().
Referenced by merged_element_search_menu_invoke().
| void merged_element_search_menu_invoke | ( | bContext * | C, |
| TreeElement * | parent_te, | ||
| TreeElement * | activate_te | ||
| ) |
Definition at line 646 of file outliner_tools.c.
References C, MEM_callocN, MEM_freeN, merged_element_search_menu(), MergedSearchData::parent_element, MergedSearchData::select_element, and UI_popup_block_invoke().
Referenced by outliner_item_do_activate_from_cursor().
|
static |
Definition at line 568 of file outliner_tools.c.
References data, merged_element_search_fn_recursive(), MergedSearchData::parent_element, MergedSearchData::select_element, str, TreeElement::subtree, tree_element_id_type_to_index(), TREESTORE, and type.
Referenced by merged_element_search_menu().
|
static |
Definition at line 1367 of file outliner_tools.c.
References C, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), TreeElement::directdata, ED_object_modifier_remove(), eModifierMode_Realtime, eModifierMode_Render, TreeStoreElem::flag, ID_OB, ID_RECALC_GEOMETRY, ModifierData::mode, NA_REMOVED, NC_OBJECT, ND_MODIFIER, NULL, OL_MODIFIER_OP_DELETE, OL_MODIFIER_OP_TOGREN, OL_MODIFIER_OP_TOGVIS, outliner_search_back(), scene, TreeElement::store_elem, TSE_SELECTED, and WM_event_add_notifier().
Referenced by outliner_modifier_operation_exec().
|
static |
Definition at line 1465 of file outliner_tools.c.
References BKE_view_layer_base_find(), C, CTX_data_edit_object(), CTX_data_main(), CTX_data_view_layer(), ED_object_editmode_exit(), EM_FREEDATA, Base::object, outline_batch_delete_hierarchy(), Object::parent, and scene.
Referenced by outliner_delete_exec().
|
static |
Definition at line 695 of file outliner_tools.c.
References BASE_SELECTED, BKE_view_layer_base_find(), C, CTX_data_view_layer(), Base::flag, and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 764 of file outliner_tools.c.
References BKE_lib_override_library_proxy_convert(), BKE_reportf(), BLI_assert, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), GS, Object::id, TreeStoreElem::id, Scene::id, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, ID::name, NC_WINDOW, NULL, Object::proxy, RPT_ERROR_INVALID_INPUT, scene, TSE_IS_REAL_ID, and WM_event_add_notifier().
Referenced by outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 657 of file outliner_tools.c.
References BA_SELECT, BKE_view_layer_base_find(), C, CTX_data_view_layer(), ED_object_base_select(), and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 680 of file outliner_tools.c.
References C, CTX_wm_space_outliner(), OL_ITEM_ACTIVATE, OL_ITEM_RECURSIVE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 1413 of file outliner_tools.c.
References BKE_library_ID_is_indirectly_used(), BKE_reportf(), BKE_scene_collections_object_remove(), DEG_id_tag_update_ex(), ListBase::first, Object::id, Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_RECALC_BASE_FLAGS, LIB_TAG_DOIT, LIB_TAG_INDIRECT, ID::name, Base::next, NULL, Base::object, ViewLayer::object_bases, Object::parent, RPT_WARNING, scene, ID::tag, and ID::us.
Referenced by object_batch_delete_hierarchy_fn().
|
static |
Definition at line 2421 of file outliner_tools.c.
References Main::actions, actionset_id_fn(), BKE_report(), BKE_reportf(), BLI_findlink(), C, CTX_data_main(), CTX_wm_space_outliner(), ED_undo_push(), get_element_operation_type(), get_target_element(), bAction::id, ID_AC, bAction::idroot, ID::name, NC_ANIMATION, ND_NLA_ACTCHANGE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_id_set_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, RPT_WARNING, SpaceOutliner::tree, TSE_ANIM_DATA, and WM_event_add_notifier().
Referenced by OUTLINER_OT_action_set().
|
static |
Definition at line 2526 of file outliner_tools.c.
References C, clear_animdata_fn(), cleardrivers_animdata_fn(), CTX_data_main(), CTX_wm_manager(), CTX_wm_space_outliner(), DEG_relations_tag_update(), ED_undo_push(), get_element_operation_type(), get_target_element(), NC_ANIMATION, ND_ANIMCHAN, ND_NLA_ACTCHANGE, NULL, wmWindowManager::op_undo_depth, OPERATOR_CANCELLED, OPERATOR_FINISHED, OUTLINER_ANIMOP_CLEAR_ACT, OUTLINER_ANIMOP_CLEAR_ADT, OUTLINER_ANIMOP_CLEAR_DRV, OUTLINER_ANIMOP_REFRESH_DRV, OUTLINER_ANIMOP_SET_ACT, outliner_do_data_operation(), wmOperator::ptr, refreshdrivers_animdata_fn(), RNA_enum_get(), SpaceOutliner::tree, TSE_ANIM_DATA, unlinkact_animdata_fn(), WM_event_add_notifier(), WM_OP_INVOKE_REGION_WIN, and WM_operator_name_call().
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 2626 of file outliner_tools.c.
References C, constraint_fn(), CTX_wm_space_outliner(), ED_undo_push(), OL_CONSTRAINTOP_DELETE, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_data_operation(), wmOperator::ptr, RNA_enum_get(), SpaceOutliner::tree, and TSE_CONSTRAINT.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 2722 of file outliner_tools.c.
References BKE_report(), bone_fn(), C, CTX_data_scene(), CTX_wm_space_outliner(), data_select_linked_fn(), ebone_fn(), ED_undo_push(), get_element_operation_type(), get_target_element(), gpencil_layer_fn(), NC_GPENCIL, NC_OBJECT, ND_DATA, ND_POSE, NULL, OL_DOP_SELECT_LINKED, OPERATOR_FINISHED, outliner_do_data_operation(), pchan_fn(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, scene, sequence_fn(), SpaceOutliner::tree, TSE_BONE, TSE_EBONE, TSE_GP_LAYER, TSE_POSE_CHANNEL, TSE_RNA_STRUCT, TSE_SEQUENCE, and WM_event_add_notifier().
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 1665 of file outliner_tools.c.
References blender::compositor::active, BASACT, BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), BLI_gset_free(), BLI_gset_ptr_new(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_message_bus(), CTX_wm_space_outliner(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, ID_RECALC_COPY_ON_WRITE, ID_RECALC_SELECT, LIB_TAG_DOIT, NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, ND_OB_SELECT, NULL, object_batch_delete_hierarchy_fn(), OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_collection_delete(), outliner_do_object_delete(), outliner_find_objects_to_delete(), outliner_object_delete_fn(), outliner_tree_traverse(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), scene, SpaceOutliner::tree, TSE_SELECTED, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by OUTLINER_OT_delete().
|
static |
Definition at line 1392 of file outliner_tools.c.
References TreeStoreElem::flag, LISTBASE_FOREACH, TreeElement::subtree, TREESTORE, TSE_SELECTED, TSELEM_OPEN, type, and TreeStoreElem::type.
Referenced by outliner_animdata_operation_exec(), outliner_constraint_operation_exec(), outliner_data_operation_exec(), and outliner_modifier_operation_exec().
|
static |
Definition at line 2379 of file outliner_tools.c.
References TreeStoreElem::flag, LISTBASE_FOREACH, NULL, TreeElement::parent, TreeElement::subtree, TREESTORE, TSE_SELECTED, TSELEM_OPEN, type, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 407 of file outliner_tools.c.
References C, TreeStoreElem::flag, TreeElement::idcode, LISTBASE_FOREACH, NULL, TreeElement::parent, scene, TreeElement::subtree, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, and user_data.
Referenced by outliner_id_operation_exec(), outliner_lib_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 1633 of file outliner_tools.c.
References BLI_gsetIterator_getKey(), C, GSET_ITER, and scene.
Referenced by outliner_delete_exec().
| void outliner_do_object_operation | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene_act, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBase * | lb, | ||
| outliner_operation_fn | operation_fn | ||
| ) |
Definition at line 1128 of file outliner_tools.c.
References C, NULL, and outliner_do_object_operation_ex().
Referenced by outliner_id_operation_exec(), and outliner_object_operation_exec().
| void outliner_do_object_operation_ex | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene_act, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBase * | lb, | ||
| outliner_operation_fn | operation_fn, | ||
| void * | user_data, | ||
| bool | recurse_selected | ||
| ) |
| recurse_selected | Set to false for operations which are already recursively operating on their children. |
Definition at line 1086 of file outliner_tools.c.
References C, CTX_data_main(), CTX_wm_window(), TreeStoreElem::flag, ID_OB, ID_SCE, TreeElement::idcode, LISTBASE_FOREACH, NULL, outliner_do_object_operation_ex(), outliner_search_back(), TreeElement::subtree, TREESTORE, TSE_SELECTED, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, user_data, and WM_window_set_active_scene().
Referenced by outliner_do_object_operation(), outliner_do_object_operation_ex(), and outliner_object_operation_exec().
|
static |
Definition at line 446 of file outliner_tools.c.
References C, TreeStoreElem::flag, LISTBASE_FOREACH, TREESTORE, and TSE_SELECTED.
Referenced by outliner_scene_operation_exec().
|
static |
Definition at line 1647 of file outliner_tools.c.
References BLI_gset_add(), GS, TreeStoreElem::id, ID_OB, ID::name, NULL, outliner_is_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_delete_exec().
|
static |
Definition at line 1938 of file outliner_tools.c.
References BKE_report(), C, CTX_data_scene(), CTX_wm_manager(), CTX_wm_space_outliner(), ED_outliner_select_sync_from_all_tag(), ED_undo_push(), get_element_operation_type(), get_target_element(), ID_AC, id_delete_fn(), id_fake_user_clear_fn(), id_fake_user_set_fn(), ID_GR, id_local_fn(), ID_MA, id_override_library_create_fn(), id_override_library_delete_fn(), id_override_library_reset_fn(), id_override_library_resync_fn(), id_remap_fn(), id_select_linked_fn(), ID_TE, ID_WO, item_rename_fn(), NA_EDITED, NC_ANIMATION, NC_ID, NC_OBJECT, NC_SCENE, NC_SPACE, ND_LAYER, ND_NLA_ACTCHANGE, ND_OB_SHADING, ND_SPACE_OUTLINER, ND_WORLD, NULL, object_proxy_to_override_convert_fn(), wmWindowManager::op_undo_depth, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), outliner_do_object_operation(), OUTLINER_IDOP_CLEAR_ASSET, OUTLINER_IDOP_COPY, OUTLINER_IDOP_DELETE, OUTLINER_IDOP_FAKE_ADD, OUTLINER_IDOP_FAKE_CLEAR, OUTLINER_IDOP_LOCAL, OUTLINER_IDOP_MARK_ASSET, OUTLINER_IDOP_OVERRIDE_LIBRARY_CREATE, OUTLINER_IDOP_OVERRIDE_LIBRARY_CREATE_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_DELETE_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_PROXY_CONVERT, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESET, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESET_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE, OUTLINER_IDOP_PASTE, OUTLINER_IDOP_REMAP, OUTLINER_IDOP_RENAME, OUTLINER_IDOP_SELECT_LINKED, OUTLINER_IDOP_SINGLE, OUTLINER_IDOP_UNLINK, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, scene, singleuser_action_fn(), singleuser_world_fn(), SpaceOutliner::tree, unlink_action_fn(), unlink_collection_fn(), unlink_material_fn(), unlink_object_fn(), unlink_texture_fn(), unlink_world_fn(), WM_event_add_notifier(), WM_OP_EXEC_DEFAULT, WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by OUTLINER_OT_id_operation().
|
static |
Definition at line 1854 of file outliner_tools.c.
References C, CTX_wm_space_outliner(), ELEM, get_target_element(), GS, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, if(), ID::name, NULL, OUTLINER_IDOP_CLEAR_ASSET, OUTLINER_IDOP_MARK_ASSET, OUTLINER_IDOP_OVERRIDE_LIBRARY_CREATE, OUTLINER_IDOP_OVERRIDE_LIBRARY_CREATE_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_DELETE_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_PROXY_CONVERT, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESET, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESET_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY, OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE, OUTLINER_IDOP_SINGLE, outliner_operation_tree_element_poll(), SpaceOutliner::outlinevis, Object::proxy, SO_SCENES, SO_VIEW_LAYER, TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_itemf().
|
static |
Definition at line 1915 of file outliner_tools.c.
References C, ED_operator_outliner_active(), EnumPropertyItem::identifier, NULL, outliner_id_operation_item_poll(), prop_id_op_types, ptr, RNA_enum_item_add(), and RNA_enum_item_end().
Referenced by OUTLINER_OT_id_operation().
|
static |
Definition at line 2300 of file outliner_tools.c.
References C, CTX_data_scene(), CTX_wm_space_outliner(), ED_undo_push(), get_element_operation_type(), get_target_element(), id_delete_fn(), item_rename_fn(), lib_reload_fn(), lib_relocate_fn(), NA_EDITED, NC_ID, NC_SPACE, ND_SPACE_OUTLINER, NULL, OL_LIB_DELETE, OL_LIB_RELOAD, OL_LIB_RELOCATE, OL_LIB_RENAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), scene, SpaceOutliner::tree, and WM_event_add_notifier().
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 2673 of file outliner_tools.c.
References C, CTX_wm_space_outliner(), ED_undo_push(), modifier_fn(), OL_MODIFIER_OP_DELETE, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_data_operation(), wmOperator::ptr, RNA_enum_get(), SpaceOutliner::tree, and TSE_MODIFIER.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 712 of file outliner_tools.c.
References BKE_id_delete(), BKE_library_ID_is_indirectly_used(), BKE_object_is_in_editmode(), BKE_reportf(), C, CTX_data_main(), ED_object_editmode_exit_ex(), EM_FREEDATA, Object::id, Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, LIB_TAG_INDIRECT, Object::mode, ID::name, OB_MODE_EDIT, RPT_WARNING, scene, and ID::tag.
Referenced by outliner_delete_exec().
|
static |
Definition at line 1521 of file outliner_tools.c.
References BLI_assert, C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), CTX_wm_window(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ED_undo_push(), Scene::id, ID_RECALC_SELECT, id_remap_fn(), item_rename_fn(), NC_SCENE, ND_OB_SELECT, NULL, object_deselect_fn(), object_proxy_to_override_convert_fn(), object_select_fn(), object_select_hierarchy_fn(), OL_OP_DESELECT, OL_OP_PROXY_TO_OVERRIDE_CONVERT, OL_OP_REMAP, OL_OP_RENAME, OL_OP_SELECT, OL_OP_SELECT_HIERARCHY, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), outliner_do_object_operation(), outliner_do_object_operation_ex(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), scene, str, SpaceOutliner::tree, WM_event_add_notifier(), and WM_window_set_active_scene().
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 2916 of file outliner_tools.c.
References C, CTX_wm_region(), CTX_wm_space_outliner(), do_outliner_operation_event(), wmEvent::mval, OPERATOR_PASS_THROUGH, outliner_find_item_at_y(), wmOperator::reports, SpaceOutliner::tree, UI_but_tooltip_timer_remove(), UI_context_active_but_get(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_operation().
|
static |
Definition at line 201 of file outliner_tools.c.
References C, CTX_wm_space_outliner(), ED_operator_outliner_active(), get_target_element(), and NULL.
Referenced by outliner_id_operation_item_poll(), OUTLINER_OT_action_set(), OUTLINER_OT_data_operation(), OUTLINER_OT_id_operation(), and OUTLINER_OT_lib_operation().
|
static |
Definition at line 2808 of file outliner_tools.c.
References C, wmOperatorType::idname, NULL, OPERATOR_INTERFACE, ot, wmOperatorType::prop, RNA_property_identifier(), UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemMContents(), uiItemS(), uiItemsEnumO(), uiLayoutSetOperatorContext(), WM_OP_INVOKE_REGION_WIN, WM_operatortype_find(), and WM_operatortype_name().
Referenced by do_outliner_operation_event().
| void OUTLINER_OT_action_set | ( | wmOperatorType * | ot | ) |
Definition at line 2470 of file outliner_tools.c.
References wmOperatorType::description, DummyRNA_NULL_items, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_action_set_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_action_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_animdata_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2597 of file outliner_tools.c.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_animdata_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_animdata_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_constraint_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2643 of file outliner_tools.c.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_constraint_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_constraint_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_data_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2786 of file outliner_tools.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_data_operation_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_data_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1725 of file outliner_tools.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_delete_exec(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_id_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2251 of file outliner_tools.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_id_operation_exec(), outliner_id_operation_itemf(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_id_op_types, RNA_def_enum(), RNA_def_enum_funcs(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_lib_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2358 of file outliner_tools.c.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_lib_op_type_items, outliner_lib_operation_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_modifier_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2690 of file outliner_tools.c.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_modifier_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_modifier_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_object_operation | ( | wmOperatorType * | ot | ) |
Definition at line 1609 of file outliner_tools.c.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_object_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_object_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void OUTLINER_OT_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2941 of file outliner_tools.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_operation(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void OUTLINER_OT_scene_operation | ( | wmOperatorType * | ot | ) |
Definition at line 506 of file outliner_tools.c.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_scene_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_scene_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
|
static |
Definition at line 485 of file outliner_tools.c.
References BLI_assert, C, CTX_wm_space_outliner(), ED_undo_push(), OL_SCENE_OP_DELETE, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_scene_operation(), wmOperator::ptr, RNA_enum_get(), scene_fn(), and SpaceOutliner::tree.
Referenced by OUTLINER_OT_scene_operation().
|
static |
Definition at line 1220 of file outliner_tools.c.
References bPoseChannel::bone, BONE_HIDDEN_P, BONE_SELECTED, TreeElement::directdata, Bone::flag, if(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1176 of file outliner_tools.c.
References IdAdtTemplate::adt, DRIVER_FLAG_INVALID, AnimData::drivers, FCURVE_DISABLED, TreeStoreElem::id, and LISTBASE_FOREACH.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 466 of file outliner_tools.c.
References C, CTX_data_main(), ED_scene_delete(), TreeStoreElem::id, if(), NA_REMOVED, NC_SCENE, OL_SCENE_OP_DELETE, scene, and WM_event_add_notifier().
Referenced by outliner_scene_operation_exec().
|
static |
Definition at line 1277 of file outliner_tools.c.
References BLI_findindex(), TreeElement::directdata, ED_sequencer_select_sequence_single(), if(), OL_DOP_SELECT, scene, SEQ_editing_get(), and Editing::seqbasep.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1031 of file outliner_tools.c.
References C, TreeStoreElem::id, ID_AC, id_single_user(), TreeElement::idcode, NULL, ptr, RNA_AnimData, RNA_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1059 of file outliner_tools.c.
References C, TreeStoreElem::id, id_single_user(), NULL, ptr, RNA_id_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 215 of file outliner_tools.c.
References BKE_animdata_set_action(), C, CTX_wm_reports(), TreeStoreElem::id, and NULL.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 316 of file outliner_tools.c.
References BKE_collection_child_remove(), C, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), GS, Collection::id, Object::id, TreeStoreElem::id, Scene::id, id_fake_user_set(), ID_GR, ID_OB, ID_RECALC_COPY_ON_WRITE, ID_RECALC_TRANSFORM, ID_SCE, if(), Object::instance_collection, Scene::master_collection, ID::name, NULL, and scene.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 227 of file outliner_tools.c.
References Freestyle::a, BLI_assert, GS, TreeStoreElem::id, ID_CU, ID_HA, ID_MB, ID_ME, ID_OB, ID_PT, id_us_min(), ID_VO, TreeElement::index, LIKELY, Curve::mat, Hair::mat, Mesh::mat, MetaBall::mat, Object::mat, PointCloud::mat, Volume::mat, ID::name, NULL, Curve::totcol, Hair::totcol, Mesh::totcol, MetaBall::totcol, Object::totcol, PointCloud::totcol, and Volume::totcol.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 352 of file outliner_tools.c.
References BKE_collection_object_remove(), C, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), GS, Collection::id, TreeStoreElem::id, Scene::id, ID_GR, ID_OB, ID_RECALC_COPY_ON_WRITE, ID_SCE, if(), Scene::master_collection, ID::name, NULL, TreeElement::parent, scene, and TREESTORE.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 287 of file outliner_tools.c.
References Freestyle::a, GS, TreeStoreElem::id, Tex::id, ID_LS, id_us_min(), TreeElement::index, MAX_MTEX, FreestyleLineStyle::mtex, ID::name, NULL, tex, and MTex::tex.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 391 of file outliner_tools.c.
References TreeStoreElem::id, id_us_min(), NULL, and Scene::world.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1154 of file outliner_tools.c.
References BKE_animdata_set_action(), DEG_id_tag_update(), TreeStoreElem::id, ID_RECALC_ANIMATION, and NULL.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 97 of file outliner_tools.c.
Referenced by id_override_library_delete_fn(), id_override_library_reset_fn(), and id_override_library_resync_fn().
|
static |
Definition at line 2283 of file outliner_tools.c.
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 2513 of file outliner_tools.c.
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 2619 of file outliner_tools.c.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 2713 of file outliner_tools.c.
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 1781 of file outliner_tools.c.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 2666 of file outliner_tools.c.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 1503 of file outliner_tools.c.
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 441 of file outliner_tools.c.
Referenced by OUTLINER_OT_scene_operation().