|
Blender V4.3
|
#include <cstdio>#include "DNA_armature_types.h"#include "DNA_layer_types.h"#include "DNA_outliner_types.h"#include "DNA_screen_types.h"#include "DNA_sequence_types.h"#include "DNA_space_types.h"#include "BLI_compiler_compat.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BKE_armature.hh"#include "BKE_context.hh"#include "BKE_layer.hh"#include "BKE_main.hh"#include "DEG_depsgraph.hh"#include "ED_armature.hh"#include "ED_object.hh"#include "ED_outliner.hh"#include "SEQ_select.hh"#include "WM_api.hh"#include "WM_types.hh"#include "ANIM_bone_collections.hh"#include "tree/tree_element_seq.hh"#include "outliner_intern.hh"Go to the source code of this file.
Classes | |
| struct | blender::ed::outliner::SyncSelectTypes |
| struct | blender::ed::outliner::SelectedItems |
| struct | blender::ed::outliner::SyncSelectActiveData |
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::outliner |
| void ED_outliner_select_sync_flag_outliners | ( | const bContext * | C | ) |
Copy sync select dirty flag from window manager to all outliners to be synced lazily on draw.
Definition at line 80 of file outliner_sync.cc.
References CTX_data_main(), CTX_wm_manager(), ListBase::first, LISTBASE_FOREACH, wmWindowManager::outliner_sync_select_dirty, Main::screens, SPACE_OUTLINER, and SpaceOutliner::sync_select_dirty.
Referenced by blender::ed::outliner::draw_outliner().
| void ED_outliner_select_sync_from_all_tag | ( | bContext * | C | ) |
Definition at line 68 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by ed_undo_refresh_for_op(), blender::ed::outliner::outliner_id_operation_exec(), wm_homefile_read_exec(), and wm_open_mainfile__open().
| void ED_outliner_select_sync_from_edit_bone_tag | ( | bContext * | C | ) |
Definition at line 50 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE.
Referenced by armature_bone_primitive_add_exec(), armature_click_extrude_exec(), armature_de_select_all_exec(), armature_de_select_less_exec(), armature_de_select_more_exec(), armature_delete_selected_exec(), armature_dissolve_selected_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), armature_select_hierarchy_exec(), armature_select_linked_exec(), armature_select_linked_pick_invoke(), armature_select_mirror_exec(), armature_select_similar_exec(), armature_shortest_path_pick_invoke(), armature_subdivide_exec(), bone_collection_assign_mode_specific(), bone_collection_select(), ED_armature_edit_select_pick_bone(), obedit_circle_select(), view3d_box_select_exec(), and view3d_lasso_select().
| void ED_outliner_select_sync_from_object_tag | ( | bContext * | C | ) |
Functions for tagging outliner selection syncing is dirty from operators.
Definition at line 44 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_OBJECT.
Referenced by blender::ed::object::add_type_with_obdata(), bone_select_menu_exec(), blender::ed::outliner::collection_duplicate_exec(), blender::ed::outliner::collection_hierarchy_delete_exec(), blender::ed::outliner::collection_objects_select_exec(), blender::ed::outliner::do_outliner_item_editmode_toggle(), blender::ed::outliner::do_outliner_item_mode_toggle_generic(), blender::ed::outliner::do_outliner_item_posemode_toggle(), blender::ed::object::duplicate_exec(), ed_object_select_pick(), ED_text_to_object(), edbm_separate_exec(), blender::ed::object::object_add_named_exec(), blender::ed::object::object_duplicates_make_real_exec(), blender::ed::object::object_select_all_exec(), blender::ed::object::object_select_by_type_exec(), blender::ed::object::object_select_grouped_exec(), blender::ed::object::object_select_less_exec(), blender::ed::object::object_select_linked_exec(), object_select_menu_exec(), blender::ed::object::object_select_mirror_exec(), blender::ed::object::object_select_more_exec(), blender::ed::object::object_select_random_exec(), blender::ed::object::object_select_same_collection_exec(), blender::ed::object::object_transfer_mode_invoke(), blender::ed::outliner::outliner_delete_exec(), blender::ed::outliner::outliner_object_operation_exec(), separate_armature_exec(), separate_exec(), view3d_box_select_exec(), view3d_circle_select_exec(), view3d_collection_drop_copy_external_asset(), view3d_lasso_select(), view3d_ob_drop_copy_external_asset(), and view3d_pastebuffer_exec().
| void ED_outliner_select_sync_from_outliner | ( | bContext * | C, |
| SpaceOutliner * | space_outliner ) |
Set clean outliner and mark other outliners for syncing.
Definition at line 354 of file outliner_sync.cc.
References CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), blender::ed::outliner::SyncSelectTypes::edit_bone, ELEM, SpaceOutliner::flag, ID_RECALC_SELECT, NA_SELECTED, NC_SCENE, ND_OB_SELECT, ND_SEQUENCER, blender::ed::outliner::SyncSelectTypes::object, SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::sequence, SO_DATA_API, SO_ID_ORPHANS, SO_LIBRARIES, SO_OVERRIDES_LIBRARY, SO_SYNC_SELECT, SpaceOutliner::sync_select_dirty, SpaceOutliner::tree, and WM_event_add_notifier().
Referenced by blender::ed::outliner::do_outliner_operation_event(), blender::ed::outliner::merged_element_search_exec_fn(), blender::ed::outliner::outliner_box_select_exec(), blender::ed::outliner::outliner_item_do_activate_from_cursor(), blender::ed::outliner::outliner_item_drag_drop_invoke(), blender::ed::outliner::outliner_select_all_exec(), and blender::ed::outliner::outliner_walk_select_invoke().
| void ED_outliner_select_sync_from_pose_bone_tag | ( | bContext * | C | ) |
Definition at line 56 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE.
Referenced by bone_collection_select(), ed_object_select_pick(), pose_de_select_all_exec(), pose_select_connected_invoke(), pose_select_constraint_target_exec(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), pose_select_linked_exec(), pose_select_mirror_exec(), pose_select_parent_exec(), view3d_box_select_exec(), view3d_circle_select_exec(), and view3d_lasso_select().
| void ED_outliner_select_sync_from_sequence_tag | ( | bContext * | C | ) |
Definition at line 62 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by sequencer_clipboard_paste_exec(), sequencer_de_select_all_exec(), sequencer_select_do_updates(), sequencer_select_grouped_exec(), sequencer_select_handles_exec(), sequencer_select_inverse_exec(), sequencer_select_less_exec(), sequencer_select_linked_exec(), sequencer_select_linked_pick_invoke(), sequencer_select_more_exec(), sequencer_select_side_exec(), and sequencer_select_side_of_frame_exec().
| bool ED_outliner_select_sync_is_dirty | ( | const bContext * | C | ) |
Definition at line 74 of file outliner_sync.cc.
References CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by blender::ed::outliner::draw_outliner().