Blender V4.3
ED_outliner.hh File Reference

Go to the source code of this file.

Functions

bool ED_outliner_collections_editor_poll (bContext *C)
 
void ED_outliner_selected_objects_get (const bContext *C, ListBase *objects)
 
BaseED_outliner_give_base_under_cursor (bContext *C, const int mval[2])
 
bool ED_outliner_give_rna_under_cursor (bContext *C, const int mval[2], PointerRNA *r_ptr)
 
void ED_outliner_select_sync_from_object_tag (bContext *C)
 
void ED_outliner_select_sync_from_edit_bone_tag (bContext *C)
 
void ED_outliner_select_sync_from_pose_bone_tag (bContext *C)
 
void ED_outliner_select_sync_from_sequence_tag (bContext *C)
 
void ED_outliner_select_sync_from_all_tag (bContext *C)
 
bool ED_outliner_select_sync_is_dirty (const bContext *C)
 
void ED_outliner_select_sync_from_outliner (bContext *C, SpaceOutliner *space_outliner)
 
void ED_outliner_select_sync_flag_outliners (const bContext *C)
 
int ED_outliner_icon_from_id (const ID &id)
 

Function Documentation

◆ ED_outliner_collections_editor_poll()

◆ ED_outliner_give_base_under_cursor()

◆ ED_outliner_give_rna_under_cursor()

bool ED_outliner_give_rna_under_cursor ( bContext * C,
const int mval[2],
PointerRNA * r_ptr )

◆ ED_outliner_icon_from_id()

int ED_outliner_icon_from_id ( const ID & id)

◆ ED_outliner_select_sync_flag_outliners()

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().

◆ ED_outliner_select_sync_from_all_tag()

◆ ED_outliner_select_sync_from_edit_bone_tag()

◆ ED_outliner_select_sync_from_object_tag()

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().

◆ ED_outliner_select_sync_from_outliner()

◆ ED_outliner_select_sync_from_pose_bone_tag()

◆ ED_outliner_select_sync_from_sequence_tag()

◆ ED_outliner_select_sync_is_dirty()

bool ED_outliner_select_sync_is_dirty ( const bContext * C)

◆ ED_outliner_selected_objects_get()

void ED_outliner_selected_objects_get ( const bContext * C,
ListBase * objects )

Populates the

Parameters
objectsListBase with all the outliner selected objects We store it as (Object *)LinkData->data
objectsexpected to be empty

Definition at line 129 of file outliner_collections.cc.

References BLI_addtail(), BLI_freelistN(), BLI_genericNodeN(), CTX_wm_space_outliner(), Object::id, LISTBASE_FOREACH, SpaceOutliner::tree, TREESTORE, and TSE_SELECTED.

Referenced by blender::ed::object::selected_objects_get().