Blender
V3.3
|
#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_curves_types.h"
#include "DNA_gpencil_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_linklist.h"
#include "BLI_map.hh"
#include "BLI_set.hh"
#include "BLI_utildefines.h"
#include "BLI_vector.hh"
#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_lib_remap.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 "../../blender/blenloader/BLO_readfile.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "SEQ_relations.h"
#include "SEQ_sequencer.h"
#include "outliner_intern.hh"
#include "tree/tree_element_rna.hh"
#include "tree/tree_element_seq.hh"
#include "tree/tree_iterator.hh"
Go to the source code of this file.
Classes | |
struct | MergedSearchData |
struct | OutlinerLiboverrideDataIDRoot |
struct | OutlinerLibOverrideData |
Variables | |
static CLG_LogRef | LOG = {"ed.outliner.tools"} |
Scene Menu Operator | |
enum | eOutliner_PropSceneOps { OL_SCENE_OP_DELETE = 1 } |
static const EnumPropertyItem | prop_scene_op_types [] |
static bool | outliner_do_scene_operation (bContext *C, SpaceOutliner *space_outliner, eOutliner_PropSceneOps event, 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) |
Library Overrides Operation Menu. | |
enum | eOutlinerLibOverrideOpTypes { OUTLINER_LIBOVERRIDE_OP_INVALID = 0 , OUTLINER_LIBOVERRIDE_OP_CREATE_HIERARCHY , OUTLINER_LIBOVERRIDE_OP_RESET , OUTLINER_LIBOVERRIDE_OP_CLEAR_SINGLE , OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY , OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY_ENFORCE , OUTLINER_LIBOVERRIDE_OP_DELETE_HIERARCHY } |
static const EnumPropertyItem | prop_liboverride_op_types [] |
static const EnumPropertyItem | prop_liboverride_troubleshoot_op_types [] |
static bool | outliner_liboverride_operation_poll (bContext *C) |
static int | outliner_liboverride_operation_exec (bContext *C, wmOperator *op) |
void | OUTLINER_OT_liboverride_operation (wmOperatorType *ot) |
void | OUTLINER_OT_liboverride_troubleshoot_operation (wmOperatorType *ot) |
Object Menu Operator | |
enum | { OL_OP_SELECT = 1 , OL_OP_DESELECT , OL_OP_SELECT_HIERARCHY , OL_OP_REMAP , OL_OP_RENAME } |
static const EnumPropertyItem | prop_object_op_types [] |
static int | outliner_object_operation_exec (bContext *C, wmOperator *op) |
void | OUTLINER_OT_object_operation (wmOperatorType *ot) |
ID-Data Menu Operator | |
enum | eOutlinerIdOpTypes { OUTLINER_IDOP_INVALID = 0 , OUTLINER_IDOP_UNLINK , OUTLINER_IDOP_LOCAL , OUTLINER_IDOP_SINGLE , OUTLINER_IDOP_DELETE , OUTLINER_IDOP_REMAP , OUTLINER_IDOP_COPY , OUTLINER_IDOP_PASTE , OUTLINER_IDOP_FAKE_ADD , OUTLINER_IDOP_FAKE_CLEAR , OUTLINER_IDOP_RENAME , OUTLINER_IDOP_SELECT_LINKED } |
static const EnumPropertyItem | prop_id_op_types [] |
static bool | outliner_id_operation_item_poll (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), const int enum_value) |
static const EnumPropertyItem * | outliner_id_operation_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free) |
static int | outliner_id_operation_exec (bContext *C, wmOperator *op) |
void | OUTLINER_OT_id_operation (wmOperatorType *ot) |
Library Menu Operator | |
enum | eOutlinerLibOpTypes { OL_LIB_INVALID = 0 , OL_LIB_DELETE , OL_LIB_RELOCATE , OL_LIB_RELOAD } |
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 } |
static const EnumPropertyItem | prop_animdata_op_types [] |
static int | outliner_animdata_operation_exec (bContext *C, wmOperator *op) |
void | OUTLINER_OT_animdata_operation (wmOperatorType *ot) |
Delete Object/Collection Operator | |
using | OutlinerDeleteFn = void(*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
using | ObjectEditData = struct ObjectEditData { GSet *objects_set |
bool | is_liboverride_allowed |
bool | is_liboverride_hierarchy_root_allowed |
static void | outliner_do_object_delete (bContext *C, ReportList *reports, Scene *scene, GSet *objects_to_delete, OutlinerDeleteFn 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) |
typedef enum eOutlinerLibOpSelectionSet eOutlinerLibOpSelectionSet |
using ObjectEditData = struct ObjectEditData { GSet *objects_set |
Definition at line 2382 of file outliner_tools.cc.
using OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
Definition at line 2380 of file outliner_tools.cc.
anonymous enum |
Enumerator | |
---|---|
OL_OP_SELECT | |
OL_OP_DESELECT | |
OL_OP_SELECT_HIERARCHY | |
OL_OP_REMAP | |
OL_OP_RENAME |
Definition at line 2252 of file outliner_tools.cc.
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 3058 of file outliner_tools.cc.
Enumerator | |
---|---|
OL_CONSTRAINTOP_ENABLE | |
OL_CONSTRAINTOP_DISABLE | |
OL_CONSTRAINTOP_DELETE |
Definition at line 1949 of file outliner_tools.cc.
Enumerator | |
---|---|
OL_DOP_SELECT | |
OL_DOP_DESELECT | |
OL_DOP_HIDE | |
OL_DOP_UNHIDE | |
OL_DOP_SELECT_LINKED |
Definition at line 1941 of file outliner_tools.cc.
Enumerator | |
---|---|
OL_MODIFIER_OP_TOGVIS | |
OL_MODIFIER_OP_TOGREN | |
OL_MODIFIER_OP_DELETE |
Definition at line 1955 of file outliner_tools.cc.
Enumerator | |
---|---|
OL_SCENE_OP_DELETE |
Definition at line 617 of file outliner_tools.cc.
enum eOutlinerIdOpTypes |
Definition at line 2538 of file outliner_tools.cc.
Enumerator | |
---|---|
OUTLINER_LIB_SELECTIONSET_SELECTED | |
OUTLINER_LIB_LIB_SELECTIONSET_CONTENT | |
OUTLINER_LIB_LIB_SELECTIONSET_SELECTED_AND_CONTENT |
Definition at line 518 of file outliner_tools.cc.
enum eOutlinerLibOpTypes |
Enumerator | |
---|---|
OL_LIB_INVALID | |
OL_LIB_DELETE | |
OL_LIB_RELOCATE | |
OL_LIB_RELOAD |
Definition at line 2843 of file outliner_tools.cc.
Definition at line 1696 of file outliner_tools.cc.
|
static |
Definition at line 2957 of file outliner_tools.cc.
References BKE_animdata_set_action(), TreeStoreElem::id, TSE_ANIM_DATA, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 1980 of file outliner_tools.cc.
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 1641 of file outliner_tools.cc.
References BKE_animdata_free(), DEG_id_tag_update(), TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 1660 of file outliner_tools.cc.
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 2088 of file outliner_tools.cc.
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, 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 2067 of file outliner_tools.cc.
References C, PointerRNA::data, ED_object_select_linked_by_id(), blender::ed::outliner::TreeElementRNACommon::getPointerRNA(), OL_DOP_SELECT_LINKED, ptr, RNA_struct_is_ID(), and PointerRNA::type.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 3405 of file outliner_tools.cc.
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 1999 of file outliner_tools.cc.
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 104 of file outliner_tools.cc.
References ELEM, TreeStoreElem::flag, GS, TreeStoreElem::id, ID_AC, ID_AR, ID_BR, ID_CA, ID_CF, ID_CU_LEGACY, ID_CV, ID_GD, ID_GR, 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(), outliner_lib_operation_exec(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 195 of file outliner_tools.cc.
References outliner_find_element_with_flag(), SpaceOutliner::tree, and TSE_ACTIVE.
Referenced by outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_id_operation_exec(), outliner_id_operation_item_poll(), outliner_lib_operation_exec(), outliner_liboverride_operation_exec(), and outliner_operation_tree_element_poll().
|
static |
Definition at line 2046 of file outliner_tools.cc.
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 1505 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_clear().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1492 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_set().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 923 of file outliner_tools.cc.
References BKE_id_newptr_and_tag_clear(), BKE_lib_id_make_local(), BKE_lib_override_library_make_local(), 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 1357 of file outliner_tools.cc.
References ViewLayer::basact, BKE_id_delete(), BKE_lib_override_library_id_reset(), BKE_lib_override_library_is_hierarchy_leaf(), BKE_libblock_remap(), BKE_reportf(), BKE_view_layer_base_find(), BLI_assert, C, CTX_data_main(), CTX_data_view_layer(), DEG_id_tag_update(), GS, id, TreeStoreElem::id, Scene::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_COPY_ON_WRITE, ID_RECALC_SELECT, ID_REMAP_SKIP_INDIRECT_USAGE, ID::name, OBACT, ID::override_library, IDOverrideLibrary::reference, RPT_WARNING, scene, and TSE_IS_REAL_ID.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1189 of file outliner_tools.cc.
References BKE_lib_override_library_create(), BKE_lib_override_library_create_from_id(), BKE_main_id_newptr_and_tag_clear(), BKE_main_id_tag_all(), BLI_assert, BLI_assert_unreachable, data, ED_object_base_free_and_unlink(), IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, GS, IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED, LIB_TAG_DOIT, ID::override_library, IDOverrideLibrary::reference, scene, ID::session_uuid, and ID::tag.
Referenced by id_override_library_create_hierarchy_process().
|
static |
Definition at line 1020 of file outliner_tools.cc.
References BKE_idtype_idcode_is_linkable(), BKE_main_id_tag_all(), BKE_reportf(), BLI_assert, C, CTX_data_main(), data, IDOverrideLibrary::flag, ID::flag, TreeStoreElem::flag, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, GS, IDOverrideLibrary::hierarchy_root, Collection::id, Library::id, TreeStoreElem::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDABLE_LIBRARY_HIERARCHY, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_IS_OVERRIDE_LIBRARY_VIRTUAL, ID_OB, IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED, Object::instance_collection, ID::lib, LIB_EMBEDDED_DATA, LIB_EMBEDDED_DATA_LIB_OVERRIDE, LIB_TAG_DOIT, ID::name, OB_ARMATURE, OB_EMPTY, ID::override_library, TreeElement::parent, IDOverrideLibrary::reference, RPT_WARNING, ID::session_uuid, TreeElement::store_elem, ID::tag, TSE_CLOSED, TSE_IS_REAL_ID, TSE_SELECTED, TSE_SOME_ID, Object::type, TreeStoreElem::type, UNUSED_VARS_NDEBUG, and user_data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1286 of file outliner_tools.cc.
References BKE_reportf(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_create_hierarchy(), IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED, ID::override_library, IDOverrideLibrary::reference, RPT_WARNING, scene, and ID::session_uuid.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1455 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, data, IDOverrideLibrary::hierarchy_root, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, ID::override_library, TSE_IS_REAL_ID, and user_data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1481 of file outliner_tools.cc.
References BKE_lib_override_library_delete(), C, CTX_data_main(), and data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1329 of file outliner_tools.cc.
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_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, TSE_IS_REAL_ID, and user_data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1406 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, data, IDOverrideLibrary::hierarchy_root, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, ID::override_library, TSE_IS_REAL_ID, and user_data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1431 of file outliner_tools.cc.
References BKE_lib_override_library_resync(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, NC_WINDOW, BlendFileReadReport::reports, scene, and WM_event_add_notifier().
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1518 of file outliner_tools.cc.
References C, ED_object_select_linked_by_id(), and TreeStoreElem::id.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 766 of file outliner_tools.cc.
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 721 of file outliner_tools.cc.
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 780 of file outliner_tools.cc.
References C, data, merged_element_search_exec_fn(), merged_element_search_update_fn(), offset, 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 829 of file outliner_tools.cc.
References C, 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 750 of file outliner_tools.cc.
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 2128 of file outliner_tools.cc.
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, 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 2223 of file outliner_tools.cc.
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, outliner_batch_delete_hierarchy(), Object::parent, and scene.
Referenced by outliner_delete_exec().
|
static |
Definition at line 878 of file outliner_tools.cc.
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 840 of file outliner_tools.cc.
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 863 of file outliner_tools.cc.
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 2978 of file outliner_tools.cc.
References Main::actions, actionset_id_fn(), BKE_report(), BKE_reportf(), BLI_findlink(), C, CTX_data_main(), CTX_wm_space_outliner(), DEG_id_tag_update(), ED_undo_push(), get_element_operation_type(), get_target_element(), bAction::id, TreeStoreElem::id, ID_AC, ID_RECALC_ANIMATION, bAction::idroot, ID::name, NC_ANIMATION, ND_NLA_ACTCHANGE, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_id_set_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, RPT_WARNING, TreeElement::store_elem, TSE_ANIM_DATA, and WM_event_add_notifier().
Referenced by OUTLINER_OT_action_set().
|
static |
Definition at line 3083 of file outliner_tools.cc.
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, 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(), 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 2170 of file outliner_tools.cc.
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, 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 3178 of file outliner_tools.cc.
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(), and TSE_CONSTRAINT.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 3323 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), DummyRNA_DEFAULT_items, DummyRNA_NULL_items, get_target_element(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_SELECT_LINKED, OL_DOP_UNHIDE, TREESTORE, TSE_RNA_STRUCT, and TreeStoreElem::type.
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 3262 of file outliner_tools.cc.
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(), NA_SELECTED, NC_GPENCIL, NC_OBJECT, NC_SCENE, ND_DATA, ND_POSE, ND_SEQUENCER, OL_DOP_SELECT_LINKED, OPERATOR_FINISHED, outliner_do_data_operation(), pchan_fn(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, scene, sequence_fn(), 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 2448 of file outliner_tools.cc.
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, 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 2153 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), TreeStoreElem::flag, TREESTORE, TSE_SELECTED, 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 2940 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), TreeStoreElem::flag, TreeElement::parent, TREESTORE, TSE_SELECTED, type, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 499 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, TreeStoreElem::flag, TreeElement::idcode, TreeElement::parent, scene, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, TreeStoreElem::type, and user_data.
Referenced by outliner_id_operation_exec(), outliner_lib_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 547 of file outliner_tools.cc.
References C, ELEM, element, TreeStoreElem::flag, LISTBASE_FOREACH_MUTABLE, OUTLINER_LIB_LIB_SELECTIONSET_CONTENT, OUTLINER_LIB_LIB_SELECTIONSET_SELECTED_AND_CONTENT, OUTLINER_LIB_SELECTIONSET_SELECTED, scene, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, TreeStoreElem::type, and user_data.
Referenced by outliner_do_libdata_operation_selection_set(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 592 of file outliner_tools.cc.
References C, outliner_do_libdata_operation_selection_set(), scene, SpaceOutliner::tree, and user_data.
|
static |
Definition at line 2388 of file outliner_tools.cc.
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 1624 of file outliner_tools.cc.
References C, and outliner_do_object_operation_ex().
Referenced by outliner_object_operation_exec().
void outliner_do_object_operation_ex | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
struct Scene * | scene, | ||
struct SpaceOutliner * | space_outliner, | ||
struct 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 1582 of file outliner_tools.cc.
References C, CTX_data_main(), CTX_wm_window(), TreeStoreElem::flag, ID_OB, ID_SCE, TreeElement::idcode, LISTBASE_FOREACH, 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 626 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, TreeStoreElem::flag, ID_SCE, TreeElement::idcode, TREESTORE, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_scene_operation_exec().
|
static |
Definition at line 2402 of file outliner_tools.cc.
References BLI_assert, BLI_gset_add(), data, GS, TreeStoreElem::id, ID_GR, ID_IS_OVERRIDE_LIBRARY_HIERARCHY_ROOT, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID::name, outliner_is_collection_tree_element(), TreeElement::parent, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_delete_exec().
|
static |
Definition at line 2636 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), BKE_report(), C, CTX_data_main(), 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_tag_fn(), id_fake_user_clear_fn(), id_fake_user_set_fn(), ID_GR, id_local_fn(), ID_MA, id_remap_fn(), id_select_linked_fn(), ID_TE, ID_WO, item_rename_fn(), LIB_TAG_DOIT, 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, wmWindowManager::op_undo_depth, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), OUTLINER_IDOP_COPY, OUTLINER_IDOP_DELETE, OUTLINER_IDOP_FAKE_ADD, OUTLINER_IDOP_FAKE_CLEAR, OUTLINER_IDOP_LOCAL, 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(), unlink_action_fn(), unlink_collection_fn(), unlink_material_fn(), unlink_object_fn(), unlink_texture_fn(), unlink_world_fn(), WM_event_add_notifier(), WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by OUTLINER_OT_id_operation().
|
static |
Definition at line 2584 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ELEM, get_target_element(), OUTLINER_IDOP_SINGLE, outliner_operation_tree_element_poll(), SpaceOutliner::outlinevis, SO_SCENES, SO_VIEW_LAYER, TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_itemf().
|
static |
Definition at line 2613 of file outliner_tools.cc.
References C, ED_operator_outliner_active(), EnumPropertyItem::identifier, 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 2867 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), ED_undo_push(), get_element_operation_type(), get_target_element(), id_delete_tag_fn(), lib_reload_fn(), lib_relocate_fn(), LIB_TAG_DOIT, NA_EDITED, NC_ID, NC_SPACE, ND_SPACE_OUTLINER, OL_LIB_DELETE, OL_LIB_RELOAD, OL_LIB_RELOCATE, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), scene, and WM_event_add_notifier().
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 1761 of file outliner_tools.cc.
References C, CTX_data_scene(), CTX_wm_space_outliner(), OutlinerLibOverrideData::do_hierarchy, ED_undo_push(), get_element_operation_type(), get_target_element(), id_override_library_clear_single_fn(), id_override_library_create_hierarchy_pre_process_fn(), id_override_library_create_hierarchy_process(), id_override_library_delete_hierarchy_fn(), id_override_library_delete_hierarchy_process(), id_override_library_reset_fn(), id_override_library_resync_fn(), id_override_library_resync_hierarchy_process(), NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation_selection_set(), OUTLINER_LIB_SELECTIONSET_SELECTED, OUTLINER_LIBOVERRIDE_OP_CLEAR_SINGLE, OUTLINER_LIBOVERRIDE_OP_CREATE_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_DELETE_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_RESET, OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY_ENFORCE, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), scene, and WM_event_add_notifier().
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
Definition at line 1753 of file outliner_tools.cc.
References C, and outliner_operation_tree_element_poll().
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 3224 of file outliner_tools.cc.
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(), and TSE_MODIFIER.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 895 of file outliner_tools.cc.
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 2273 of file outliner_tools.cc.
References BLI_assert_unreachable, 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, object_deselect_fn(), object_select_fn(), object_select_hierarchy_fn(), OL_OP_DESELECT, 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 3494 of file outliner_tools.cc.
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().
Definition at line 202 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ED_operator_outliner_active(), and get_target_element().
Referenced by outliner_id_operation_item_poll(), outliner_liboverride_operation_poll(), OUTLINER_OT_action_set(), OUTLINER_OT_data_operation(), OUTLINER_OT_id_operation(), and OUTLINER_OT_lib_operation().
|
static |
Definition at line 3386 of file outliner_tools.cc.
References C, wmOperatorType::idname, 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 3027 of file outliner_tools.cc.
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 3149 of file outliner_tools.cc.
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 3194 of file outliner_tools.cc.
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 3363 of file outliner_tools.cc.
References DummyRNA_DEFAULT_items, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
void OUTLINER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2512 of file outliner_tools.cc.
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 2819 of file outliner_tools.cc.
References wmOperatorType::description, 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 2919 of file outliner_tools.cc.
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_liboverride_operation | ( | wmOperatorType * | ot | ) |
Definition at line 1884 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
void OUTLINER_OT_liboverride_troubleshoot_operation | ( | wmOperatorType * | ot | ) |
Definition at line 1907 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_troubleshoot_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
void OUTLINER_OT_modifier_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3240 of file outliner_tools.cc.
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 2358 of file outliner_tools.cc.
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 3518 of file outliner_tools.cc.
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 688 of file outliner_tools.cc.
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 667 of file outliner_tools.cc.
References BLI_assert_unreachable, 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(), and scene_fn().
Referenced by OUTLINER_OT_scene_operation().
|
static |
Definition at line 1961 of file outliner_tools.cc.
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 1672 of file outliner_tools.cc.
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 648 of file outliner_tools.cc.
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 2018 of file outliner_tools.cc.
References BLI_findindex(), ED_sequencer_select_sequence_single(), Sequence::flag, blender::ed::outliner::TreeElementSequence::getSequence(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, scene, SELECT, SEQ_editing_get(), SEQ_MUTE, SEQ_relations_invalidate_dependent(), and Editing::seqbasep.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1531 of file outliner_tools.cc.
References C, TreeStoreElem::id, ID_AC, id_single_user(), TreeElement::idcode, ptr, RNA_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1559 of file outliner_tools.cc.
References C, TreeStoreElem::id, id_single_user(), ptr, RNA_id_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 216 of file outliner_tools.cc.
References BKE_animdata_set_action(), BKE_reportf(), C, CTX_wm_reports(), DEG_id_tag_update(), TreeStoreElem::id, ID_RECALC_ANIMATION, ID::name, RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 369 of file outliner_tools.cc.
References BKE_collection_child_remove(), BKE_reportf(), 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, RPT_WARNING, scene, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 241 of file outliner_tools.cc.
References Freestyle::a, BKE_reportf(), BLI_assert_unreachable, curves, GS, TreeStoreElem::id, ID_CU_LEGACY, ID_CV, ID_MA, ID_MB, ID_ME, ID_OB, ID_PT, id_us_min(), ID_VO, TreeElement::index, LIKELY, Curve::mat, Mesh::mat, MetaBall::mat, Object::mat, PointCloud::mat, Volume::mat, ID::name, RPT_WARNING, Curve::totcol, Mesh::totcol, MetaBall::totcol, Object::totcol, PointCloud::totcol, Volume::totcol, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 417 of file outliner_tools.cc.
References BKE_collection_object_remove(), BKE_reportf(), C, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), GS, Collection::id, Object::id, TreeStoreElem::id, Scene::id, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_OB, ID_RECALC_COPY_ON_WRITE, ID_SCE, if(), Scene::master_collection, ID::name, TreeElement::parent, RPT_WARNING, scene, and TREESTORE.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 329 of file outliner_tools.cc.
References Freestyle::a, BKE_reportf(), GS, TreeStoreElem::id, Tex::id, ID_LS, id_us_min(), TreeElement::index, MAX_MTEX, FreestyleLineStyle::mtex, ID::name, RPT_WARNING, tex, MTex::tex, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 472 of file outliner_tools.cc.
References BKE_reportf(), TreeStoreElem::id, id_us_min(), ID::name, RPT_WARNING, TSE_IS_REAL_ID, and Scene::world.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1650 of file outliner_tools.cc.
References BKE_animdata_set_action(), DEG_id_tag_update(), TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
bool is_liboverride_allowed |
Definition at line 2384 of file outliner_tools.cc.
Referenced by edit_constraint_poll_generic(), edit_modifier_poll_generic(), edit_shaderfx_poll_generic(), and gpencil_edit_modifier_poll_generic().
bool is_liboverride_hierarchy_root_allowed |
Definition at line 2385 of file outliner_tools.cc.
|
static |
Definition at line 92 of file outliner_tools.cc.
Referenced by id_override_library_delete_hierarchy_fn(), id_override_library_reset_fn(), and id_override_library_resync_fn().
|
static |
Definition at line 2851 of file outliner_tools.cc.
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 3070 of file outliner_tools.cc.
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 3171 of file outliner_tools.cc.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 2558 of file outliner_tools.cc.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 527 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1708 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation().
|
static |
Definition at line 1729 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 3217 of file outliner_tools.cc.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 2260 of file outliner_tools.cc.
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 621 of file outliner_tools.cc.
Referenced by OUTLINER_OT_scene_operation().