Blender
V3.3
|
Go to the source code of this file.
Functions | |
bool | ED_outliner_collections_editor_poll (struct bContext *C) |
void | ED_outliner_selected_objects_get (const struct bContext *C, struct ListBase *objects) |
struct Base * | ED_outliner_give_base_under_cursor (struct bContext *C, const int mval[2]) |
void | ED_outliner_select_sync_from_object_tag (struct bContext *C) |
void | ED_outliner_select_sync_from_edit_bone_tag (struct bContext *C) |
void | ED_outliner_select_sync_from_pose_bone_tag (struct bContext *C) |
void | ED_outliner_select_sync_from_sequence_tag (struct bContext *C) |
void | ED_outliner_select_sync_from_all_tag (struct bContext *C) |
bool | ED_outliner_select_sync_is_dirty (const struct bContext *C) |
void | ED_outliner_select_sync_from_outliner (struct bContext *C, struct SpaceOutliner *space_outliner) |
void | ED_outliner_select_sync_flag_outliners (const struct bContext *C) |
Definition at line 149 of file outliner_collections.cc.
References C, CTX_wm_space_outliner(), ELEM, SpaceOutliner::outlinevis, SO_LIBRARIES, SO_SCENES, and SO_VIEW_LAYER.
Referenced by collection_edit_in_active_scene_poll(), collection_flag_poll(), collection_inside_poll(), move_to_collection_poll(), object_hide_poll(), OUTLINER_OT_collection_color_tag_set(), OUTLINER_OT_collection_duplicate(), OUTLINER_OT_collection_duplicate_linked(), OUTLINER_OT_collection_isolate(), OUTLINER_OT_collection_objects_deselect(), and OUTLINER_OT_collection_objects_select().
Get base of object under cursor. Used for eyedropper tool.
Definition at line 469 of file outliner_utils.cc.
References BKE_view_layer_base_find(), C, CTX_data_view_layer(), CTX_wm_region(), CTX_wm_space_outliner(), TreeElement::directdata, TreeStoreElem::id, ID_OB, TreeElement::idcode, outliner_find_item_at_y(), SpaceOutliner::tree, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by datadropper_id_sample_pt().
Copy sync select dirty flag from window manager to all outliners to be synced lazily on draw.
Referenced by draw_outliner().
Definition at line 63 of file outliner_sync.cc.
References C, CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by ed_undo_refresh_for_op(), outliner_id_operation_exec(), wm_homefile_read_exec(), and wm_open_mainfile__open().
Definition at line 45 of file outliner_sync.cc.
References C, 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(), ED_armature_edit_select_pick_bone(), obedit_circle_select(), view3d_box_select_exec(), and view3d_lasso_select().
Functions for tagging outliner selection syncing is dirty from operators.
Definition at line 39 of file outliner_sync.cc.
References C, CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_OBJECT.
Referenced by bone_select_menu_exec(), collection_duplicate_exec(), collection_hierarchy_delete_exec(), collection_objects_select_exec(), do_outliner_item_editmode_toggle(), do_outliner_item_mode_toggle_generic(), do_outliner_item_posemode_toggle(), duplicate_exec(), ED_object_add_type_with_obdata(), ed_object_select_pick(), ED_text_to_object(), edbm_separate_exec(), gpencil_stroke_separate_exec(), object_add_named_exec(), object_duplicates_make_real_exec(), object_select_all_exec(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_less_exec(), object_select_linked_exec(), object_select_menu_exec(), object_select_mirror_exec(), object_select_more_exec(), object_select_random_exec(), object_select_same_collection_exec(), object_transfer_mode_to_base(), outliner_delete_exec(), 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 | ( | struct bContext * | C, |
struct SpaceOutliner * | space_outliner | ||
) |
Set clean outliner and mark other outliners for syncing.
Definition at line 338 of file outliner_sync.cc.
References C, CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), SyncSelectTypes::edit_bone, ELEM, SpaceOutliner::flag, Scene::id, ID_RECALC_SELECT, NA_SELECTED, NC_SCENE, ND_OB_SELECT, ND_SEQUENCER, SyncSelectTypes::object, outliner_sync_select_from_outliner_set_types(), outliner_sync_selection_from_outliner(), SpaceOutliner::outlinevis, SyncSelectTypes::pose_bone, scene, selected_items_free(), selected_items_init(), SyncSelectTypes::sequence, SO_DATA_API, SO_ID_ORPHANS, SO_LIBRARIES, SO_OVERRIDES_LIBRARY, SO_SYNC_SELECT, SpaceOutliner::sync_select_dirty, SpaceOutliner::tree, WM_event_add_notifier(), WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE, WM_OUTLINER_SYNC_SELECT_FROM_OBJECT, WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE, and WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by do_outliner_operation_event(), merged_element_search_exec_fn(), outliner_box_select_exec(), outliner_item_do_activate_from_cursor(), outliner_item_drag_drop_invoke(), outliner_select_all_exec(), and outliner_walk_select_invoke().
Definition at line 51 of file outliner_sync.cc.
References C, CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE.
Referenced by ed_object_select_pick(), pose_de_select_all_exec(), pose_group_deselect_exec(), pose_group_select_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().
Definition at line 57 of file outliner_sync.cc.
References C, CTX_wm_manager(), wmWindowManager::outliner_sync_select_dirty, and WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by sequencer_de_select_all_exec(), sequencer_paste_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().
Referenced by draw_outliner().