|
Blender V5.3
|
Namespaces | |
| namespace | detail |
| namespace | tree_iterator |
Typedefs | |
| using | TreeTraversalFunc = TreeTraversalAction (*)(TreeElement *te, void *customdata) |
| using | outliner_operation_fn |
| template<typename T> | |
| using | List = ListBaseWrapper<T> |
Enumerations | |
| enum | TreeElementInsertType { TE_INSERT_BEFORE , TE_INSERT_AFTER , TE_INSERT_INTO } |
| enum | TreeTraversalAction { TRAVERSE_CONTINUE = 0 , TRAVERSE_BREAK , TRAVERSE_SKIP_CHILDS } |
| enum | TreeElementFlag { TE_ACTIVE = (1 << 0) , TE_ICONROW = (1 << 1) , TE_PRETEND_HAS_CHILDREN = (1 << 2) , TE_FREE_NAME = (1 << 3) , TE_DRAGGING = (1 << 4) , TE_CHILD_NOT_IN_COLLECTION = (1 << 6) , TE_ICONROW_MERGED = (1 << 7) } |
| enum | eOLDrawState { OL_DRAWSEL_NONE = 0 , OL_DRAWSEL_NORMAL = 1 , OL_DRAWSEL_ACTIVE = 2 } |
| enum | eOLSetState { OL_SETSEL_NONE = 0 , OL_SETSEL_NORMAL = 1 , OL_SETSEL_EXTEND = 2 } |
| enum | TreeItemSelectAction { OL_ITEM_DESELECT = 0 , OL_ITEM_SELECT = (1 << 0) , OL_ITEM_SELECT_DATA = (1 << 1) , OL_ITEM_ACTIVATE = (1 << 2) , OL_ITEM_EXTEND = (1 << 3) , OL_ITEM_RECURSIVE = (1 << 4) } |
| enum class | StripAddOp : int8_t { Noop = 0 , Add , None } |
Variables | |
| static const char * | outliner_context_dir [] |
| static CLG_LogRef | LOG = {"outliner.tools"} |
Data Stack Drop Operator | |
A generic operator to allow drag and drop for modifiers, constraints, and shader effects which all share the same UI stack layout. The following operations are allowed:
| |
| enum | eDataStackDropAction { DATA_STACK_DROP_REORDER , DATA_STACK_DROP_COPY , DATA_STACK_DROP_LINK } |
| static void | datastack_drop_data_init (wmDrag *drag, Object *ob, bPoseChannel *pchan, TreeElement *te, TreeStoreElem *tselem, void *directdata) |
| static bool | datastack_drop_init (bContext *C, const wmEvent *event, StackDropData *drop_data) |
| static bool | datastack_drop_are_types_valid (StackDropData *drop_data) |
| static bool | datastack_drop_poll (bContext *C, wmDrag *drag, const wmEvent *event) |
| static std::string | datastack_drop_tooltip (bContext *, wmDrag *drag, const int[2], wmDropBox *) |
| static void | datastack_drop_link (bContext *C, StackDropData *drop_data) |
| static void | datastack_drop_copy (bContext *C, StackDropData *drop_data) |
| static void | datastack_drop_reorder (bContext *C, ReportList *reports, StackDropData *drop_data) |
| static wmOperatorStatus | datastack_drop_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | OUTLINER_OT_datastack_drop (wmOperatorType *ot) |
Driver Internal Utilities | |
| enum | { DRIVERS_EDITMODE_ADD = 0 , DRIVERS_EDITMODE_REMOVE } |
| static void | do_outliner_drivers_editop (SpaceOutliner *space_outliner, ReportList *reports, short mode) |
Keying-Set Internal Utilities | |
| enum | { KEYINGSET_EDITMODE_ADD = 0 , KEYINGSET_EDITMODE_REMOVE } |
| static KeyingSet * | verify_active_keyingset (Scene *scene, short add) |
| static void | do_outliner_keyingset_editop (SpaceOutliner *space_outliner, KeyingSet *ks, const short mode) |
Scene Menu Operator | |
| enum | eOutliner_PropSceneOps { OL_SCENE_OP_DELETE = 1 } |
| static const EnumPropertyItem | prop_scene_op_types [] |
| void | OUTLINER_OT_scene_operation (wmOperatorType *ot) |
| 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 *, TreeStoreElem *tselem) |
| static wmOperatorStatus | outliner_scene_operation_exec (bContext *C, wmOperator *op) |
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 [] |
| void | OUTLINER_OT_object_operation (wmOperatorType *ot) |
| static wmOperatorStatus | outliner_object_operation_exec (bContext *C, wmOperator *op) |
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 , OUTLINER_IDOP_PACK } |
| static const EnumPropertyItem | prop_id_op_types [] |
| void | OUTLINER_OT_id_operation (wmOperatorType *ot) |
| static bool | outliner_id_operation_item_poll (bContext *C, PointerRNA *, PropertyRNA *, const int enum_value) |
| static const EnumPropertyItem * | outliner_id_operation_itemf (bContext *C, PointerRNA *ptr, PropertyRNA *prop, bool *r_free) |
| static wmOperatorStatus | outliner_id_operation_exec (bContext *C, wmOperator *op) |
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 [] |
| void | OUTLINER_OT_lib_operation (wmOperatorType *ot) |
| static wmOperatorStatus | outliner_lib_operation_exec (bContext *C, wmOperator *op) |
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 [] |
| void | OUTLINER_OT_animdata_operation (wmOperatorType *ot) |
| static wmOperatorStatus | outliner_animdata_operation_exec (bContext *C, wmOperator *op) |
Library override hierarchy building | |
| enum | ForeachChildReturn { FOREACH_CONTINUE , FOREACH_BREAK } |
| static void | foreach_natural_hierarchy_child (const MainIDRelations &id_relations, const ID &parent_id, FunctionRef< ForeachChildReturn(ID &)> fn) |
| static bool | id_is_in_override_hierarchy (const Main &bmain, const ID &id, const ID &relationship_parent_id, const ID &override_root_id) |
Delete Object/Collection Operator | |
| using | OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
| void | OUTLINER_OT_delete (wmOperatorType *ot) |
| static void | outliner_do_object_delete (bContext *C, ReportList *reports, Scene *scene, const Set< Object * > &objects_to_delete, OutlinerDeleteFn delete_fn) |
| static TreeTraversalAction | outliner_collect_objects_to_delete (TreeElement *te, void *customdata) |
| static wmOperatorStatus | outliner_delete_exec (bContext *C, wmOperator *op) |
Constraint Menu Operator | |
| static const EnumPropertyItem | prop_constraint_op_types [] |
| void | OUTLINER_OT_constraint_operation (wmOperatorType *ot) |
| static wmOperatorStatus | outliner_constraint_operation_exec (bContext *C, wmOperator *op) |
Modifier Menu Operator | |
| static const EnumPropertyItem | prop_modifier_op_types [] |
| void | OUTLINER_OT_modifier_operation (wmOperatorType *ot) |
| static wmOperatorStatus | outliner_modifier_operation_exec (bContext *C, wmOperator *op) |
| using blender::ed::outliner::CheckTypeFn = bool (*)(TreeElement *te) |
Definition at line 183 of file outliner_dragdrop.cc.
| using blender::ed::outliner::List = ListBaseWrapper<T> |
Definition at line 29 of file tree_display_libraries.cc.
Definition at line 402 of file outliner_intern.hh.
| using blender::ed::outliner::OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
Definition at line 2898 of file outliner_tools.cc.
| using blender::ed::outliner::TreeTraversalFunc = TreeTraversalAction (*)(TreeElement *te, void *customdata) |
Definition at line 109 of file outliner_intern.hh.
| anonymous enum |
Keying-Set Operations
These operators are only available in data-browser mode for now, as they depend on having RNA paths and/or hierarchies available.
| Enumerator | |
|---|---|
| KEYINGSET_EDITMODE_ADD | |
| KEYINGSET_EDITMODE_REMOVE | |
Definition at line 2292 of file outliner_edit.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| OL_OP_SELECT | |
| OL_OP_DESELECT | |
| OL_OP_SELECT_HIERARCHY | |
| OL_OP_REMAP | |
| OL_OP_RENAME | |
Definition at line 2763 of file outliner_tools.cc.
| anonymous enum |
Driver Operations
These operators are only available in data-browser mode for now, as they depend on having RNA paths and/or hierarchies available.
| Enumerator | |
|---|---|
| DRIVERS_EDITMODE_ADD | |
| DRIVERS_EDITMODE_REMOVE | |
Definition at line 2127 of file outliner_edit.cc.
| Enumerator | |
|---|---|
| DATA_STACK_DROP_REORDER | |
| DATA_STACK_DROP_COPY | |
| DATA_STACK_DROP_LINK | |
Definition at line 741 of file outliner_dragdrop.cc.
| Enumerator | |
|---|---|
| OL_DRAWSEL_NONE | |
| OL_DRAWSEL_NORMAL | |
| OL_DRAWSEL_ACTIVE | |
Definition at line 182 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| OL_SETSEL_NONE | |
| OL_SETSEL_NORMAL | |
| OL_SETSEL_EXTEND | |
Definition at line 188 of file outliner_intern.hh.
| 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 3615 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_CONSTRAINTOP_ENABLE | |
| OL_CONSTRAINTOP_DISABLE | |
| OL_CONSTRAINTOP_DELETE | |
Definition at line 2373 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 2365 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_MODIFIER_OP_TOGVIS | |
| OL_MODIFIER_OP_TOGREN | |
| OL_MODIFIER_OP_DELETE | |
| OL_MODIFIER_OP_APPLY | |
Definition at line 2379 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_SCENE_OP_DELETE | |
Definition at line 701 of file outliner_tools.cc.
Definition at line 3102 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 573 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_LIB_INVALID | |
| OL_LIB_DELETE | |
| OL_LIB_RELOCATE | |
| OL_LIB_RELOAD | |
Definition at line 3420 of file outliner_tools.cc.
Definition at line 1848 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| FOREACH_CONTINUE | |
| FOREACH_BREAK | |
Definition at line 180 of file tree_display_override_library_hierarchies.cc.
|
strong |
| Enumerator | |
|---|---|
| Noop | |
| Add | |
| None | |
Definition at line 358 of file tree_display.hh.
Definition at line 91 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| TE_INSERT_BEFORE | |
| TE_INSERT_AFTER | |
| TE_INSERT_INTO | |
Definition at line 75 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| OL_ITEM_DESELECT | |
| OL_ITEM_SELECT | |
| OL_ITEM_SELECT_DATA | |
| OL_ITEM_ACTIVATE | |
| OL_ITEM_EXTEND | |
| OL_ITEM_RECURSIVE | |
Definition at line 262 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| TRAVERSE_CONTINUE | Continue traversal regularly, don't skip children. |
| TRAVERSE_BREAK | Stop traversal. |
| TRAVERSE_SKIP_CHILDS | Continue traversal, but skip children of traversed element. |
Definition at line 81 of file outliner_intern.hh.
|
static |
Definition at line 3525 of file outliner_tools.cc.
References actionset_id_fn(), blender::BKE_animdata_set_action(), blender::TreeStoreElem::id, blender::TSE_ANIM_DATA, and blender::TreeStoreElem::type.
Referenced by actionset_id_fn(), and outliner_action_set_exec().
|
static |
Definition at line 344 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), blender::SpaceOutliner::filter, blender::SpaceOutliner::outlinevis, blender::SO_FILTER_NO_COLLECTION, blender::SO_SCENES, and blender::SO_VIEW_LAYER.
Referenced by allow_parenting_without_modifier_key(), parent_clear_poll(), and parent_drop_poll().
|
static |
Definition at line 2405 of file outliner_tools.cc.
References bone_fn(), blender::BONE_HIDDEN_P, blender::BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, blender::Bone::flag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by bone_fn(), and outliner_data_operation_exec().
|
static |
Definition at line 1692 of file outliner_select.cc.
References blender::BKE_collection_has_object_recursive(), can_select_recursive(), blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::store_elem, blender::TSE_LAYER_COLLECTION, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by can_select_recursive(), do_outliner_range_select_recursive(), and do_outliner_select_recursive().
|
static |
Definition at line 118 of file outliner_tree.cc.
References blender::BLI_mempool_alloc(), blender::BLI_MEMPOOL_ALLOW_ITER, blender::BLI_mempool_create(), check_persistent(), blender::TreeStoreElem::flag, blender::TreeStoreElem::id, blender::TreeStoreElem::nr, blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::store_elem, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, blender::SpaceOutliner::treestore, blender::TSE_CLOSED, blender::TreeStoreElem::type, and blender::TreeStoreElem::used.
Referenced by blender::ed::outliner::AbstractTreeDisplay::add_element_impl(), and check_persistent().
|
static |
Definition at line 1794 of file outliner_tools.cc.
References blender::BKE_animdata_free(), clear_animdata_fn(), blender::DEG_id_tag_update(), blender::TreeStoreElem::id, and blender::ID_RECALC_ANIMATION.
Referenced by clear_animdata_fn(), and outliner_animdata_operation_exec().
|
static |
Definition at line 1812 of file outliner_tools.cc.
References blender::IdAdtTemplate::adt, blender::BKE_fcurves_free(), cleardrivers_animdata_fn(), blender::DEG_id_tag_update(), blender::AnimData::drivers, blender::TreeStoreElem::id, and blender::ID_RECALC_ANIMATION.
Referenced by cleardrivers_animdata_fn(), and outliner_animdata_operation_exec().
|
static |
Definition at line 335 of file outliner_collections.cc.
References collection_collect_data_to_edit(), blender::COLLECTION_IS_MASTER, blender::data, blender::Collection::flag, ID_IS_OVERRIDE_LIBRARY_HIERARCHY_ROOT, ID_IS_OVERRIDE_LIBRARY_REAL, outliner_collection_from_tree_element(), TRAVERSE_CONTINUE, and TRAVERSE_SKIP_CHILDS.
Referenced by collection_collect_data_to_edit(), collection_flag_exec(), collection_instance_exec(), collection_link_exec(), and outliner_collection_delete().
|
static |
Definition at line 1330 of file outliner_collections.cc.
References C, collection_disable_poll(), collection_flag_poll(), and blender::COLLECTION_HIDE_VIEWPORT.
Referenced by collection_disable_poll(), and OUTLINER_OT_collection_disable().
|
static |
Definition at line 1340 of file outliner_collections.cc.
References C, collection_disable_render_poll(), collection_flag_poll(), and blender::COLLECTION_HIDE_RENDER.
Referenced by collection_disable_render_poll(), and OUTLINER_OT_collection_disable_render().
|
static |
Definition at line 1187 of file outliner_dragdrop.cc.
References C, collection_drop_init(), collection_parent_from_ID(), blender::CTX_wm_space_outliner(), blender::data, ELEM, blender::wmDragID::from_parent, blender::GS(), blender::Collection::id, blender::wmDragID::id, blender::ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::wmDrag::ids, is_collection_element(), is_object_element(), blender::ID::name, outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_collection_find(), outliner_find_parent_element(), outliner_is_collection_dragged_into_itself(), blender::ed::outliner::TreeElement::parent, blender::SpaceOutliner::runtime, blender::SO_SORT_CUSTOM, blender::SpaceOutliner::sort_method, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::wmDrag::type, and blender::WM_DRAG_ID.
Referenced by collection_drop_init(), collection_drop_invoke(), collection_drop_poll(), and collection_drop_tooltip().
|
static |
Definition at line 1450 of file outliner_dragdrop.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), b, blender::BKE_collection_child_find(), blender::BKE_collection_is_empty(), blender::BKE_collection_move(), blender::BKE_collection_object_add(), blender::BKE_collection_object_find(), blender::BKE_collection_object_find_in(), blender::BKE_collection_object_move(), blender::BLI_listbase_reverse(), C, blender::CollectionChild::collection, collection_drop_init(), collection_drop_invoke(), collection_parent_from_ID(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_manager(), blender::CTX_wm_space_outliner(), blender::wmEvent::custom, blender::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), ELEM, blender::EVT_DATA_DRAGDROP, find_child_objects_recursive(), blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of_try(), blender::wmDragID::from_parent, blender::GS(), blender::Collection::id, blender::wmDragID::id, blender::ID_GR, blender::ID_OB, blender::ID_RECALC_GEOMETRY, blender::ID_RECALC_HIERARCHY, blender::ID_RECALC_SYNC_TO_EVAL, blender::ed::outliner::TreeElement::idcode, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), INT_MAX, is_collection_element(), is_object_element(), blender::KM_CTRL, blender::KM_SHIFT, blender::wmEvent::modifier, blender::ID::name, NC_SCENE, ND_LAYER, blender::CollectionObject::ob, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_collection_from_tree_element(), outliner_find_parent_element(), outliner_treesort_tiebreak(), blender::ed::outliner::TreeElement::parent, blender::CollectionObject::parented_sort_index, blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), blender::SpaceOutliner::runtime, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::SO_SORT_CUSTOM, blender::CollectionChild::sort_index, blender::CollectionObject::sort_index, blender::SpaceOutliner::sort_method, blender::ed::outliner::TreeElement::subtree, T, TE_INSERT_AFTER, TE_INSERT_BEFORE, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::TSE_CLOSED, blender::WM_event_add_notifier_ex(), and blender::wmEvent::xy.
Referenced by collection_drop_invoke(), and OUTLINER_OT_collection_drop().
|
static |
Definition at line 1312 of file outliner_dragdrop.cc.
References C, collection_drop_init(), collection_drop_poll(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::data, blender::ED_region_tag_redraw_no_rebuild(), blender::TreeStoreElem::flag, blender::KM_SHIFT, blender::wmEvent::modifier, outliner_flag_set(), TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TREESTORE, blender::TSE_DRAG_AFTER, blender::TSE_DRAG_ANY, blender::TSE_DRAG_BEFORE, blender::TSE_DRAG_INTO, blender::TSE_HIGHLIGHTED_ANY, and blender::wmEvent::xy.
Referenced by collection_drop_poll(), and outliner_dropboxes().
|
static |
Definition at line 1348 of file outliner_dragdrop.cc.
References C, blender::CollectionParent::collection, collection_drop_init(), collection_drop_tooltip(), blender::CTX_wm_window(), blender::data, blender::bke::WindowRuntime::eventstate, blender::GS(), blender::wmDragID::id, blender::ID_OB, blender::wmDrag::ids, is_collection_element(), is_object_element(), blender::KM_CTRL, blender::KM_SHIFT, blender::ID::name, blender::ed::outliner::TreeElement::next, outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::prev, blender::wmWindow::runtime, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, and TIP_.
Referenced by collection_drop_tooltip(), and outliner_dropboxes().
|
static |
Definition at line 632 of file outliner_collections.cc.
References blender::BKE_collection_child_find(), blender::BKE_collection_duplicate(), blender::BKE_id_owner_get(), blender::BKE_report(), blender::BKE_reportf(), blender::BLI_assert(), C, collection_duplicate_exec(), blender::COLLECTION_IS_MASTER, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::LinkData::data, blender::DEG_relations_tag_update(), blender::ED_outliner_select_sync_from_object_tag(), blender::Collection::flag, blender::ID::flag, blender::GS(), blender::Collection::id, blender::Scene::id, blender::ID_FLAG_EMBEDDED_DATA, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_SCE, blender::wmOperator::idname, blender::LIB_ID_DUPLICATE_IS_ROOT_ID, blender::Scene::master_collection, blender::ID::name, NC_SCENE, ND_LAYER, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_collect_selected_parent_collections(), outliner_collection_from_tree_element(), outliner_tree_traverse(), blender::ed::outliner::TreeElement::parent, blender::wmOperator::reports, blender::RPT_ERROR, blender::RPT_WARNING, blender::SpaceOutliner::runtime, blender::ed::outliner::IDsSelectedData::selected_array, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, blender::U, blender::USER_DUP_OBJECT, and blender::WM_main_add_notifier().
Referenced by collection_duplicate_exec(), OUTLINER_OT_collection_duplicate(), and OUTLINER_OT_collection_duplicate_linked().
|
static |
Definition at line 198 of file outliner_collections.cc.
References C, collection_edit_in_active_scene_poll(), blender::CTX_data_scene(), blender::ED_outliner_collections_editor_poll(), ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by collection_edit_in_active_scene_poll(), collection_new_poll(), OUTLINER_OT_collection_hierarchy_delete(), OUTLINER_OT_collection_instance(), and OUTLINER_OT_collection_link().
|
static |
Definition at line 1325 of file outliner_collections.cc.
References C, collection_enable_poll(), collection_flag_poll(), and blender::COLLECTION_HIDE_VIEWPORT.
Referenced by collection_enable_poll(), and OUTLINER_OT_collection_enable().
|
static |
Definition at line 1335 of file outliner_collections.cc.
References C, collection_enable_render_poll(), collection_flag_poll(), and blender::COLLECTION_HIDE_RENDER.
Referenced by collection_enable_render_poll(), and OUTLINER_OT_collection_enable_render().
|
static |
Definition at line 1345 of file outliner_collections.cc.
References blender::BKE_id_is_editable(), blender::BKE_view_layer_need_resync_tag(), C, blender::LayerCollection::collection, collection_collect_data_to_edit(), collection_flag_exec(), blender::COLLECTION_HIDE_RENDER, blender::COLLECTION_HIDE_VIEWPORT, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::Collection::flag, blender::LayerCollection::flag, blender::Collection::id, blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, blender::wmOperator::idname, layer_collection_collect_data_to_edit(), blender::LAYER_COLLECTION_HIDE, NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_tree_traverse(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::runtime, blender::SO_VIEW_LAYER, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by collection_flag_exec(), OUTLINER_OT_collection_disable(), OUTLINER_OT_collection_disable_render(), OUTLINER_OT_collection_enable(), and OUTLINER_OT_collection_enable_render().
|
static |
Definition at line 1299 of file outliner_collections.cc.
References C, collection_flag_poll(), blender::ED_outliner_collections_editor_poll(), blender::Collection::flag, outliner_active_collection(), and outliner_collection_from_tree_element().
Referenced by collection_disable_poll(), collection_disable_render_poll(), collection_enable_poll(), collection_enable_render_poll(), and collection_flag_poll().
|
static |
Definition at line 1188 of file outliner_collections.cc.
References C, collection_hide_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_HIDE.
Referenced by collection_hide_poll(), and OUTLINER_OT_collection_hide().
|
static |
Definition at line 437 of file outliner_collections.cc.
References blender::BKE_view_layer_active_base_get(), blender::BKE_view_layer_synced_ensure(), C, collection_hierarchy_delete_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_message_bus(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::ED_outliner_select_sync_from_object_tag(), blender::Scene::id, blender::ID_RECALC_SYNC_TO_EVAL, NC_SCENE, ND_LAYER, blender::OPERATOR_FINISHED, outliner_collection_delete(), blender::wmOperator::reports, blender::WM_main_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by collection_hierarchy_delete_exec(), and OUTLINER_OT_collection_hierarchy_delete().
|
static |
Definition at line 1193 of file outliner_collections.cc.
References C, collection_inside_poll(), blender::ED_outliner_collections_editor_poll(), and outliner_active_layer_collection().
Referenced by collection_inside_poll(), OUTLINER_OT_collection_hide_inside(), and OUTLINER_OT_collection_show_inside().
|
static |
Definition at line 815 of file outliner_collections.cc.
References blender::ed::object::add_type(), blender::BKE_collection_cycle_find(), blender::BKE_layer_collection_activate_parent(), blender::BKE_layer_collection_get_active(), C, blender::LayerCollection::collection, collection_collect_data_to_edit(), collection_instance_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::Scene::cursor, blender::data, blender::DEG_relations_tag_update(), blender::Object::empty_drawsize, blender::Collection::id, blender::id_us_plus(), blender::Object::instance_collection, blender::View3DCursor::location, blender::ID::name, NC_SCENE, ND_LAYER, blender::OB_DUPLICOLLECTION, blender::OB_EMPTY, blender::OPERATOR_FINISHED, outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::Object::transflag, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, blender::U, and blender::WM_main_add_notifier().
Referenced by collection_instance_exec(), and OUTLINER_OT_collection_instance().
|
static |
Definition at line 1106 of file outliner_collections.cc.
References blender::BKE_layer_collection_isolate_global(), blender::BKE_view_layer_need_resync_tag(), C, collection_isolate_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_id_tag_update(), blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_collection_isolate_flag(), outliner_tree_traverse(), blender::wmOperator::ptr, blender::RNA_boolean_get(), blender::RNA_pointer_create_discrete(), blender::RNA_property_boolean_get(), blender::RNA_struct_type_find_property(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_ACTIVE, blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by collection_isolate_exec(), collection_isolate_invoke(), and OUTLINER_OT_collection_isolate().
|
static |
Definition at line 1151 of file outliner_collections.cc.
References C, collection_isolate_exec(), collection_isolate_invoke(), blender::KM_SHIFT, blender::wmEvent::modifier, blender::wmOperator::ptr, blender::RNA_property_boolean_set(), blender::RNA_property_is_set(), and blender::RNA_struct_find_property().
Referenced by collection_isolate_invoke(), and OUTLINER_OT_collection_isolate().
|
static |
Definition at line 750 of file outliner_collections.cc.
References blender::BKE_collection_child_add(), blender::BKE_report(), C, blender::LayerCollection::collection, collection_collect_data_to_edit(), blender::COLLECTION_IS_MASTER, collection_link_exec(), blender::CTX_data_layer_collection(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::Collection::flag, blender::Collection::id, blender::id_fake_user_clear(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_RECALC_SYNC_TO_EVAL, NC_SCENE, ND_LAYER, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_tree_traverse(), blender::wmOperator::reports, blender::RPT_ERROR, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by collection_link_exec(), and OUTLINER_OT_collection_link().
|
static |
Definition at line 227 of file outliner_collections.cc.
References blender::ViewLayer::active_collection, blender::ed::outliner::tree_iterator::all(), blender::BKE_collection_add(), blender::BKE_collection_object_find(), blender::BKE_layer_collection_activate(), blender::BKE_layer_collection_first_from_scene_collection(), blender::BKE_report(), blender::BKE_view_layer_synced_ensure(), C, blender::LayerCollection::collection, collection_new_exec(), blender::Collection::color_tag, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::CTX_wm_workspace(), blender::ED_outliner_select_sync_flag_outliners(), blender::ED_outliner_select_sync_from_collection_tag(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_OB, blender::Scene::master_collection, blender::OPERATOR_CANCELLED, outliner_build_tree(), outliner_collection_from_tree_element(), outliner_find_element_with_flag(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_boolean_get(), blender::RPT_ERROR, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_ACTIVE.
Referenced by collection_new_exec(), and OUTLINER_OT_collection_new().
|
static |
Definition at line 210 of file outliner_collections.cc.
References C, collection_edit_in_active_scene_poll(), collection_new_poll(), and blender::ED_operator_region_outliner_active().
Referenced by collection_new_poll(), and OUTLINER_OT_collection_new().
|
static |
Definition at line 523 of file outliner_collections.cc.
References blender::BKE_layer_collection_objects_select(), C, collection_objects_select_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::LinkData::data, blender::DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, blender::ED_outliner_select_sync_from_object_tag(), blender::Scene::id, blender::ID_RECALC_SELECT, blender::wmOperator::idname, NC_SCENE, ND_OB_SELECT, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_collect_selected_collections(), outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::ed::outliner::IDsSelectedData::selected_array, blender::ed::outliner::TreeElement::store_elem, STREQ, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TreeStoreElem::type, and blender::WM_main_add_notifier().
Referenced by collection_objects_select_exec(), OUTLINER_OT_collection_objects_deselect(), and OUTLINER_OT_collection_objects_select().
|
static |
Definition at line 1169 of file outliner_dragdrop.cc.
References collection_parent_from_ID(), blender::GS(), blender::ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, and blender::ID_SCE.
Referenced by collection_drop_init(), collection_drop_invoke(), and collection_parent_from_ID().
|
static |
Definition at line 1183 of file outliner_collections.cc.
References C, collection_show_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_HIDE.
Referenced by collection_show_poll(), and OUTLINER_OT_collection_show().
|
static |
Definition at line 972 of file outliner_collections.cc.
References blender::BKE_layer_collection_set_flag(), blender::BKE_view_layer_need_resync_tag(), C, collection_view_layer_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_relations_tag_update(), blender::wmOperator::idname, layer_collection_collect_data_to_edit(), blender::LAYER_COLLECTION_EXCLUDE, blender::LAYER_COLLECTION_HOLDOUT, blender::LAYER_COLLECTION_INDIRECT_ONLY, NC_SCENE, ND_LAYER, blender::OPERATOR_FINISHED, outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by collection_view_layer_exec(), OUTLINER_OT_collection_exclude_clear(), OUTLINER_OT_collection_exclude_set(), OUTLINER_OT_collection_holdout_clear(), OUTLINER_OT_collection_holdout_set(), OUTLINER_OT_collection_indirect_only_clear(), and OUTLINER_OT_collection_indirect_only_set().
|
static |
Definition at line 1201 of file outliner_collections.cc.
References blender::BKE_layer_collection_set_visible(), blender::BKE_view_layer_need_resync_tag(), C, collection_visibility_exec(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_id_tag_update(), blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, blender::wmOperator::idname, layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by collection_visibility_exec(), OUTLINER_OT_collection_hide(), OUTLINER_OT_collection_hide_inside(), OUTLINER_OT_collection_show(), and OUTLINER_OT_collection_show_inside().
|
static |
Definition at line 947 of file outliner_collections.cc.
References C, collections_exclude_clear_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_EXCLUDE.
Referenced by collections_exclude_clear_poll(), and OUTLINER_OT_collection_exclude_clear().
|
static |
Definition at line 942 of file outliner_collections.cc.
References C, collections_exclude_set_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_EXCLUDE.
Referenced by collections_exclude_set_poll(), and OUTLINER_OT_collection_exclude_set().
|
static |
Definition at line 957 of file outliner_collections.cc.
References C, collections_holdout_clear_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_HOLDOUT.
Referenced by collections_holdout_clear_poll(), and OUTLINER_OT_collection_holdout_clear().
|
static |
Definition at line 952 of file outliner_collections.cc.
References C, collections_holdout_set_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_HOLDOUT.
Referenced by collections_holdout_set_poll(), and OUTLINER_OT_collection_holdout_set().
|
static |
Definition at line 967 of file outliner_collections.cc.
References C, collections_indirect_only_clear_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by collections_indirect_only_clear_poll(), and OUTLINER_OT_collection_indirect_only_clear().
|
static |
Definition at line 962 of file outliner_collections.cc.
References C, collections_indirect_only_set_poll(), collections_view_layer_poll(), and blender::LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by collections_indirect_only_set_poll(), and OUTLINER_OT_collection_indirect_only_set().
|
static |
Definition at line 907 of file outliner_collections.cc.
References C, collections_view_layer_poll(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::data, blender::LayerCollection::flag, layer_collection_collect_data_to_edit(), outliner_tree_traverse(), blender::SpaceOutliner::outlinevis, blender::result, blender::SpaceOutliner::runtime, blender::SO_VIEW_LAYER, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_SELECTED.
Referenced by collection_hide_poll(), collection_show_poll(), collections_exclude_clear_poll(), collections_exclude_set_poll(), collections_holdout_clear_poll(), collections_holdout_set_poll(), collections_indirect_only_clear_poll(), collections_indirect_only_set_poll(), and collections_view_layer_poll().
|
static |
Definition at line 2534 of file outliner_tools.cc.
References blender::BKE_constraint_remove_ex(), blender::BKE_constraints_active_set(), C, constraint_fn(), blender::CONSTRAINT_OFF, blender::ed::object::constraint_update(), blender::Object::constraints, constraints, blender::CTX_data_main(), blender::ed::outliner::TreeElement::directdata, blender::bConstraint::flag, blender::TreeStoreElem::flag, blender::ID_OB, NA_REMOVED, NC_OBJECT, ND_CONSTRAINT, OL_CONSTRAINTOP_DELETE, OL_CONSTRAINTOP_DISABLE, OL_CONSTRAINTOP_ENABLE, outliner_search_back(), blender::ed::outliner::TreeElement::parent, blender::ed::outliner::TreeElement::store_elem, TREESTORE, blender::TSE_POSE_CHANNEL, blender::TSE_SELECTED, and blender::WM_event_add_notifier().
Referenced by constraint_fn(), and outliner_constraint_operation_exec().
|
static |
Definition at line 2513 of file outliner_tools.cc.
References C, blender::PointerRNA::data, data_select_linked_fn(), blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), OL_DOP_SELECT_LINKED, blender::RNA_struct_is_ID(), blender::ed::object::select_linked_by_id(), tree_element_cast(), and blender::PointerRNA::type.
Referenced by data_select_linked_fn(), and outliner_data_operation_exec().
|
static |
Definition at line 875 of file outliner_dragdrop.cc.
References datastack_drop_are_types_valid(), blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, blender::TreeStoreElem::id, blender::OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_GPENCIL_EFFECT, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_MODIFIER, blender::TSE_MODIFIER_BASE, blender::TSE_POSE_CHANNEL, blender::Object::type, and blender::TreeStoreElem::type.
Referenced by datastack_drop_are_types_valid(), and datastack_drop_poll().
|
static |
Definition at line 1021 of file outliner_dragdrop.cc.
References blender::BKE_object_modifier_set_active(), C, blender::ed::object::constraint_copy_for_object(), blender::ed::object::constraint_copy_for_pose(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_reports(), datastack_drop_copy(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, blender::TreeStoreElem::id, blender::ed::object::modifier_copy_to_object(), blender::OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::object::shaderfx_copy(), TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_GPENCIL_EFFECT, blender::TSE_MODIFIER, blender::TSE_POSE_CHANNEL, blender::Object::type, and blender::TreeStoreElem::type.
Referenced by datastack_drop_copy(), and datastack_drop_invoke().
|
static |
Definition at line 759 of file outliner_dragdrop.cc.
References datastack_drop_data_init(), blender::ed::outliner::StackDropData::drag_directdata, blender::ed::outliner::StackDropData::drag_index, blender::ed::outliner::StackDropData::drag_tselem, blender::wmDrag::flags, blender::ed::outliner::TreeElement::index, blender::MEM_new_zeroed(), blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, blender::wmDrag::poin, and blender::WM_DRAG_FREE_DATA.
Referenced by datastack_drop_data_init(), and outliner_item_drag_drop_invoke().
|
static |
Definition at line 778 of file outliner_dragdrop.cc.
References blender::BKE_id_is_editable(), C, blender::CTX_data_main(), DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_init(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_action, blender::ed::outliner::StackDropData::drop_te, ELEM, blender::Object::id, blender::ed::outliner::StackDropData::insert_type, is_object_element(), is_pchan_element(), blender::ed::outliner::StackDropData::ob_parent, outliner_data_from_tree_element_and_parents(), outliner_drop_insert_find(), blender::ed::outliner::StackDropData::pchan_parent, TE_INSERT_INTO, TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_GPENCIL_EFFECT, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_MODIFIER, blender::TSE_MODIFIER_BASE, blender::TreeStoreElem::type, and blender::wmEvent::xy.
Referenced by datastack_drop_init(), and datastack_drop_poll().
|
static |
Definition at line 1114 of file outliner_dragdrop.cc.
References C, blender::wmEvent::custom, DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_copy(), datastack_drop_invoke(), datastack_drop_link(), datastack_drop_reorder(), blender::ed::outliner::StackDropData::drop_action, blender::EVT_DATA_DRAGDROP, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, and blender::wmOperator::reports.
Referenced by datastack_drop_invoke(), and OUTLINER_OT_datastack_drop().
|
static |
Definition at line 977 of file outliner_dragdrop.cc.
References C, blender::ed::object::constraint_link(), blender::bPoseChannel::constraints, blender::Object::constraints, blender::CTX_data_main(), datastack_drop_link(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, blender::TreeStoreElem::id, blender::ed::object::modifier_link(), blender::OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, blender::ed::object::shaderfx_link(), TREESTORE, blender::TSE_CONSTRAINT_BASE, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_MODIFIER_BASE, blender::TSE_POSE_CHANNEL, blender::Object::type, and blender::TreeStoreElem::type.
Referenced by datastack_drop_invoke(), and datastack_drop_link().
|
static |
Definition at line 910 of file outliner_dragdrop.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), datastack_drop_are_types_valid(), datastack_drop_init(), datastack_drop_poll(), blender::ed::outliner::StackDropData::drop_te, blender::ED_region_tag_redraw_no_rebuild(), blender::TreeStoreElem::flag, blender::ed::outliner::StackDropData::insert_type, outliner_flag_set(), blender::wmDrag::poin, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TREESTORE, blender::TSE_DRAG_AFTER, blender::TSE_DRAG_ANY, blender::TSE_DRAG_BEFORE, blender::TSE_DRAG_INTO, blender::TSE_HIGHLIGHTED_ANY, blender::wmDrag::type, and blender::WM_DRAG_DATASTACK.
Referenced by datastack_drop_poll(), and outliner_dropboxes().
|
static |
Definition at line 1066 of file outliner_dragdrop.cc.
References C, blender::ed::object::constraint_move_to_index(), blender::bPoseChannel::constraints, blender::Object::constraints, blender::CTX_wm_space_outliner(), datastack_drop_reorder(), blender::ed::outliner::StackDropData::drag_directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, blender::ed::outliner::StackDropData::insert_type, blender::ed::object::modifier_move_to_index(), blender::Object::modifiers, blender::ed::outliner::StackDropData::ob_parent, outliner_find_tree_element(), outliner_get_insert_index(), blender::ed::outliner::StackDropData::pchan_parent, blender::RPT_WARNING, blender::SpaceOutliner::runtime, blender::Object::shader_fx, blender::ed::object::shaderfx_move_to_index(), blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_CONSTRAINT, blender::TSE_GPENCIL_EFFECT, blender::TSE_MODIFIER, and blender::TreeStoreElem::type.
Referenced by datastack_drop_invoke(), and datastack_drop_reorder().
|
static |
Definition at line 953 of file outliner_dragdrop.cc.
References DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_tooltip(), blender::ed::outliner::StackDropData::drop_action, blender::ed::outliner::StackDropData::pchan_parent, blender::wmDrag::poin, and TIP_.
Referenced by datastack_drop_tooltip(), and outliner_dropboxes().
|
static |
Definition at line 326 of file outliner_edit.cc.
References blender::BKE_report(), blender::COLLECTION_IS_MASTER, do_item_rename(), blender::ED_region_tag_redraw(), ELEM, blender::Collection::flag, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_LI, blender::ed::outliner::TreeElement::idcode, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), blender::RPT_INFO, blender::TSE_ANIM_DATA, blender::TSE_BONE_COLLECTION_BASE, blender::TSE_CONSTRAINT_BASE, blender::TSE_DEFGROUP_BASE, blender::TSE_DRIVER_BASE, blender::TSE_GENERIC_LABEL, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_ID_BASE, TSE_IS_REAL_ID, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_MODIFIER_BASE, blender::TSE_NLA, blender::TSE_POSE_BASE, blender::TSE_R_LAYER_BASE, blender::TSE_RNA_ARRAY_ELEM, blender::TSE_RNA_PROPERTY, blender::TSE_RNA_STRUCT, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_SCENE_OBJECTS_BASE, blender::TSE_SHAPE_KEY_BASE, blender::TSE_STRIP, blender::TSE_STRIP_DATA, blender::TSE_STRIP_DUP, blender::TSE_TEXTBUT, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by do_item_rename(), item_rename_fn(), and outliner_item_rename_invoke().
|
static |
Definition at line 261 of file outliner_select.cc.
References blender::animrig::bone_is_selectable(), blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::Bone::childbase, do_outliner_bone_select_recursive(), and blender::Bone::flag.
Referenced by do_outliner_bone_select_recursive(), tree_element_bone_activate(), and tree_element_posechannel_activate().
|
static |
Definition at line 2133 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::ANIM_add_driver(), blender::ANIM_remove_driver(), blender::CREATEDRIVER_WITH_DEFAULT_DVAR, do_outliner_drivers_editop(), blender::DRIVER_TYPE_PYTHON, DRIVERS_EDITMODE_ADD, DRIVERS_EDITMODE_REMOVE, blender::TreeStoreElem::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementRNACommon::get_property_rna(), blender::KSP_FLAG_WHOLE_ARRAY, blender::KSP_GROUP_KSNAME, blender::RNA_property_anim_editable(), blender::RNA_property_array_length(), tree_element_cast(), tree_element_to_path(), TREESTORE, and blender::TSE_SELECTED.
Referenced by do_outliner_drivers_editop(), outliner_drivers_addsel_exec(), and outliner_drivers_deletesel_exec().
|
static |
Definition at line 274 of file outliner_select.cc.
References blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, do_outliner_ebone_select_recursive(), EBONE_SELECTABLE, blender::ED_armature_ebone_is_child_recursive(), blender::EditBone::flag, and blender::EditBone::next.
Referenced by do_outliner_ebone_select_recursive(), and tree_element_ebone_activate().
|
static |
Action when clicking to activate an item (typically under the mouse cursor), but don't do any cursor intersection checks.
Needed to run from operators accessed from a menu.
Definition at line 1525 of file outliner_select.cc.
References blender::ed::outliner::tree_iterator::all(), blender::ed::outliner::TreeViewContext::bmain, C, blender::CTX_data_main(), do_outliner_item_activate_tree_element(), ELEM, blender::SpaceOutliner::flag, OL_SETSEL_EXTEND, OL_SETSEL_NORMAL, blender::ed::outliner::TreeViewContext::scene, blender::SO_SYNC_SELECT, blender::ed::outliner::TreeElement::subtree, tree_element_object_activate(), blender::TSE_EBONE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_NODE_TREE, blender::TSE_SOME_ID, blender::TSE_STRIP, blender::TSE_STRIP_DATA, blender::TSE_STRIP_DUP, blender::TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by do_outliner_item_activate_tree_element(), and outliner_item_select().
|
static |
Definition at line 85 of file outliner_select.cc.
References blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::ed::object::base_select(), blender::BKE_object_is_in_editmode(), C, blender::CTX_data_main(), blender::DEG_id_tag_update(), do_outliner_item_editmode_toggle(), blender::ED_outliner_select_sync_from_object_tag(), blender::ED_undo_push(), blender::ed::object::editmode_enter_ex(), blender::ed::object::editmode_exit_ex(), blender::ed::object::EM_FREEDATA, blender::ed::object::EM_NO_CONTEXT, blender::Scene::id, blender::ID_RECALC_SELECT, NC_SCENE, ND_MODE, NS_MODE_OBJECT, blender::Base::object, and blender::WM_event_add_notifier().
Referenced by do_outliner_item_editmode_toggle(), and outliner_item_mode_toggle().
|
static |
Swap the current active object from the interaction mode with the given base.
If we didn't want to touch selection we could add an option to the operators not to do multi-object editing.
Definition at line 162 of file outliner_select.cc.
References blender::BKE_view_layer_base_deselect_all(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_base_select_and_set_active(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::DEG_id_tag_update(), do_outliner_item_mode_toggle_generic(), blender::ED_outliner_select_sync_from_object_tag(), blender::ED_undo_group_begin(), blender::ED_undo_group_end(), blender::ED_undo_push(), blender::Scene::id, blender::ID_RECALC_SELECT, blender::Object::mode, blender::ed::object::mode_set(), blender::OB_MODE_OBJECT, blender::ed::outliner::TreeViewContext::obact, blender::ed::outliner::TreeViewContext::scene, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by do_outliner_item_mode_toggle_generic(), and outliner_item_mode_toggle().
|
static |
Definition at line 118 of file outliner_select.cc.
References blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::ed::object::base_select(), blender::BKE_id_is_editable(), blender::BKE_report(), C, blender::CTX_data_main(), blender::CTX_wm_reports(), blender::DEG_id_tag_update(), do_outliner_item_posemode_toggle(), blender::ED_object_posemode_enter_ex(), blender::ED_object_posemode_exit_ex(), blender::ED_outliner_select_sync_from_object_tag(), blender::ED_undo_push(), blender::Object::id, blender::Scene::id, blender::ID_RECALC_SELECT, blender::Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, NS_MODE_POSE, blender::OB_MODE_POSE, blender::Base::object, blender::RPT_WARNING, and blender::WM_event_add_notifier().
Referenced by do_outliner_item_posemode_toggle(), and outliner_item_mode_toggle().
|
static |
Definition at line 2325 of file outliner_edit.cc.
References blender::KeyingSet::active_path, blender::ed::outliner::tree_iterator::all_open(), blender::BKE_keyingset_add_path(), blender::BKE_keyingset_find_path(), blender::BKE_keyingset_free_path(), do_outliner_keyingset_editop(), blender::TreeStoreElem::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementRNACommon::get_property_rna(), KEYINGSET_EDITMODE_ADD, KEYINGSET_EDITMODE_REMOVE, blender::KSP_GROUP_KSNAME, blender::KeyingSet::paths, blender::RNA_property_anim_editable(), tree_element_cast(), tree_element_to_path(), TREESTORE, and blender::TSE_SELECTED.
Referenced by do_outliner_keyingset_editop(), outliner_keyingset_additems_exec(), and outliner_keyingset_removeitems_exec().
|
static |
Select object tree
Definition at line 247 of file outliner_select.cc.
References blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, blender::ed::object::base_select(), blender::BKE_object_is_child_recursive(), blender::BKE_view_layer_object_bases_get(), blender::BKE_view_layer_synced_ensure(), and do_outliner_object_select_recursive().
Referenced by do_outliner_object_select_recursive(), and tree_element_object_activate().
|
static |
Definition at line 3996 of file outliner_tools.cc.
References C, do_outliner_operation_event(), blender::ED_outliner_select_sync_from_outliner(), blender::ED_region_tag_redraw_no_rebuild(), ELEM, blender::TreeStoreElem::flag, get_element_operation_type(), blender::ID_GR, blender::ID_LI, blender::wm::InvokeRegionWin, OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_SELECT, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_item_select(), outliner_operator_menu(), TREESTORE, blender::TSE_ANIM_DATA, blender::TSE_CONSTRAINT, blender::TSE_DRIVER_BASE, blender::TSE_ID_BASE, blender::TSE_LAYER_COLLECTION, blender::TSE_MODIFIER, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_SELECTED, blender::TSE_VIEW_COLLECTION_BASE, and blender::WM_menu_name_call().
Referenced by do_outliner_operation_event(), and outliner_operation_invoke().
|
static |
Definition at line 1779 of file outliner_select.cc.
References C, do_outliner_range_select(), do_outliner_range_select_recursive(), do_outliner_select_recursive(), blender::TreeStoreElem::flag, OL_ITEM_ACTIVATE, OL_ITEM_SELECT, outliner_collection_get_for_recursive(), outliner_find_element_with_flag(), outliner_flag_set(), outliner_is_element_visible(), outliner_item_select(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by do_outliner_range_select(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 1738 of file outliner_select.cc.
References can_select_recursive(), do_outliner_range_select_recursive(), ELEM, blender::TreeStoreElem::flag, TREESTORE, blender::TSE_CLOSED, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, and blender::TreeStoreElem::type.
Referenced by do_outliner_range_select(), and do_outliner_range_select_recursive().
|
static |
Definition at line 1712 of file outliner_select.cc.
References can_select_recursive(), blender::LayerCollection::collection, do_outliner_select_recursive(), blender::TreeStoreElem::flag, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, and blender::TreeStoreElem::type.
Referenced by do_outliner_range_select(), do_outliner_select_recursive(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 2244 of file outliner_select.cc.
References do_outliner_select_walk(), blender::TreeStoreElem::flag, outliner_find_next_element(), outliner_find_previous_element(), outliner_walk_left(), outliner_walk_right(), TREESTORE, blender::TSE_SELECTED, blender::UI_SELECT_WALK_DOWN, blender::UI_SELECT_WALK_LEFT, blender::UI_SELECT_WALK_RIGHT, and blender::UI_SELECT_WALK_UP.
Referenced by do_outliner_select_walk(), and outliner_walk_select_invoke().
|
static |
Definition at line 356 of file outliner_dragdrop.cc.
References drag_ids_are_all_objects(), blender::GS(), blender::wmDragID::id, blender::ID_OB, blender::wmDrag::ids, and blender::ID::name.
Referenced by drag_ids_are_all_objects(), and parent_drop_poll().
| void blender::ed::outliner::draw_outliner | ( | const bContext * | C, |
| bool | do_rebuild ) |
| do_rebuild | When false, only the scroll position changed since last draw. |
Definition at line 3853 of file outliner_draw.cc.
References blender::ui::BLOCK_NO_DRAW_OVERRIDDEN_STATE, blender::ed::outliner::TreeViewContext::bmain, C, blender::CTX_data_main(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::CTX_wm_workspace(), blender::View2D::cur, draw_outliner(), blender::ED_outliner_select_sync_flag_outliners(), blender::ED_outliner_select_sync_is_dirty(), ELEM, blender::ui::Emboss, blender::SpaceOutliner::flag, blender::View2D::flag, blender::SpaceOutliner::lib_override_view_mode, blender::ui::NoneOrStatus, OL_RNA_COL_SIZEX, outliner_back(), outliner_build_tree(), outliner_buttons(), outliner_data_api_buttons_start_x(), outliner_draw_mode_column(), outliner_draw_overrides_restrictbuts(), outliner_draw_overrides_rna_buts(), outliner_draw_restrictbuts(), outliner_draw_rnabuts(), outliner_draw_separator(), outliner_draw_tree(), outliner_draw_userbuts(), outliner_draw_warning_column(), outliner_has_element_warnings(), outliner_right_columns_width(), outliner_scroll_to_active(), outliner_shows_mode_column(), outliner_sync_selection(), outliner_tree_dimensions(), outliner_update_viewable_area(), outliner_viewcontext_init(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::runtime, blender::ed::outliner::TreeViewContext::scene, blender::SO_DATA_API, blender::SO_ID_ORPHANS, blender::SO_LIB_OVERRIDE_VIEW_HIERARCHIES, blender::SO_LIB_OVERRIDE_VIEW_PROPERTIES, blender::SO_LIBRARIES, blender::SO_OVERRIDES_LIBRARY, blender::SO_SCENES, blender::SO_SCROLL_TO_ACTIVE, blender::SO_SYNC_SELECT, blender::SO_USERS_COLUMN, blender::SO_VIEW_LAYER, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, blender::V2D_PIXELOFS_X, blender::V2D_PIXELOFS_Y, blender::ui::view2d_view_ortho(), blender::ed::outliner::TreeViewContext::view_layer, blender::x, and blender::rctf::xmax.
Referenced by draw_outliner(), and outliner_main_region_draw().
|
static |
Definition at line 2424 of file outliner_tools.cc.
References blender::BONE_HIDDEN_A, blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::ed::outliner::TreeElement::directdata, ebone_fn(), blender::EditBone::flag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by ebone_fn(), and outliner_data_operation_exec().
|
static |
Specialized poll callback for these operators to work in data-blocks view only.
Definition at line 1960 of file outliner_edit.cc.
References C, blender::CTX_wm_area(), blender::CTX_wm_space_outliner(), ed_operator_outliner_datablocks_active(), blender::SpaceOutliner::outlinevis, blender::SO_DATA_API, blender::SPACE_OUTLINER, and blender::ScrArea::spacetype.
Referenced by ed_operator_outliner_datablocks_active(), OUTLINER_OT_drivers_add_selected(), OUTLINER_OT_drivers_delete_selected(), OUTLINER_OT_keyingset_add_selected(), and OUTLINER_OT_keyingset_remove_selected().
|
static |
Definition at line 2480 of file outliner_edit.cc.
References C, blender::CTX_wm_area(), blender::CTX_wm_space_outliner(), ed_operator_outliner_id_orphans_active(), blender::SpaceOutliner::outlinevis, blender::SO_ID_ORPHANS, blender::SPACE_OUTLINER, and blender::ScrArea::spacetype.
Referenced by ed_operator_outliner_id_orphans_active(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 3108 of file outliner_draw.cc.
References blender::BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeViewContext::bmain, blender::ed::outliner::TreeElement::directdata, element_should_draw_faded(), blender::Base::flag, blender::ed::outliner::TreeElement::flag, blender::LayerCollection::flag, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::LAYER_COLLECTION_EXCLUDE, blender::LAYER_COLLECTION_VISIBLE_VIEW_LAYER, node, blender::ed::outliner::TreeElement::parent, blender::LayerCollection::runtime_flag, blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::TreeElement::store_elem, TE_CHILD_NOT_IN_COLLECTION, tree_element_cast(), blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_SOME_ID, blender::TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by element_should_draw_faded(), outliner_draw_hierarchy_lines_recursive(), and outliner_draw_tree_element().
| blender::ed::outliner::ENUM_OPERATORS | ( | TreeElementFlag | ) |
References ENUM_OPERATORS().
Referenced by ENUM_OPERATORS().
|
static |
Definition at line 1438 of file outliner_dragdrop.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), find_child_objects_recursive(), blender::Collection::gobject, blender::CollectionObject::ob, and blender::Object::parent.
Referenced by collection_drop_invoke(), and find_child_objects_recursive().
|
static |
Definition at line 2279 of file outliner_select.cc.
References find_walk_select_start_element(), outliner_find_element_with_flag(), outliner_is_element_visible(), blender::ed::outliner::TreeElement::parent, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_ACTIVE.
Referenced by find_walk_select_start_element(), and outliner_walk_select_invoke().
|
static |
Iterate over the IDs parent_id uses. E.g. the child collections and contained objects of a parent collection. Also does special handling for object parenting, so that:
Only handles regular object parenting, not cases like the "Child of" constraint. Other Outliner display modes don't show this as parent in the hierarchy either.
Definition at line 272 of file tree_display_override_library_hierarchies.cc.
References FOREACH_BREAK, foreach_natural_hierarchy_child(), blender::MainIDRelationsEntry::from_ids, blender::GS(), blender::Object::id, blender::ID_OB, blender::IDWALK_CB_LOOPBACK, blender::ID::name, blender::MainIDRelationsEntryItem::next, blender::Object::parent, blender::MainIDRelations::relations_from_pointers, and blender::MainIDRelationsEntry::to_ids.
Referenced by foreach_natural_hierarchy_child().
|
static |
Definition at line 114 of file outliner_tools.cc.
References blender::BLI_assert(), ELEM, blender::TreeStoreElem::flag, get_element_operation_type(), blender::TreeStoreElem::id, blender::ID_AC, blender::ID_AR, blender::ID_BR, blender::ID_CA, blender::ID_CF, blender::ID_CU_LEGACY, blender::ID_CV, blender::ID_GD_LEGACY, blender::ID_GP, blender::ID_GR, blender::ID_IM, blender::ID_KE, blender::ID_LA, blender::ID_LI, blender::ID_LP, blender::ID_LS, blender::ID_LT, blender::ID_MA, blender::ID_MB, blender::ID_MC, blender::ID_ME, blender::ID_MSK, ID_NLA, blender::ID_NT, blender::ID_OB, blender::ID_PA, blender::ID_PAL, blender::ID_PC, blender::ID_PT, blender::ID_SCE, blender::ID_SCR, blender::ID_SO, blender::ID_SPK, blender::ID_TE, blender::ID_TXT, blender::ID_VF, blender::ID_VO, blender::ID_WM, blender::ID_WO, blender::ID_WS, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by do_outliner_operation_event(), get_element_operation_type(), outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_operation_exec(), outliner_data_operation_poll(), and outliner_id_operation_exec().
|
static |
Definition at line 501 of file tree_element_overrides.cc.
References get_property_icon(), blender::PROP_COLLECTION, blender::RNA_property_pointer_type(), blender::RNA_property_type(), blender::RNA_property_ui_icon(), and blender::RNA_struct_ui_icon().
Referenced by get_property_icon().
|
static |
Definition at line 360 of file outliner_tree.cc.
References blender::ed::outliner::OutlinerSortMaps::collection_and_object_to_cob_map, get_sort_index(), blender::ID_OB, INT_MAX, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), blender::ed::outliner::OutlinerSortMaps::object_to_any_cob_map, outliner_collection_from_tree_element(), blender::CollectionObject::parented_sort_index, blender::CollectionChild::sort_index, blender::CollectionObject::sort_index, and blender::x.
Referenced by get_sort_index(), and treesort_custom().
|
static |
Definition at line 557 of file outliner_sync.cc.
References blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_active_bone(), blender::CTX_data_active_pose_bone(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_sequencer_scene(), blender::CTX_data_view_layer(), blender::ed::outliner::SyncSelectActiveData::edit_bone, get_sync_select_active_data(), blender::ed::outliner::SyncSelectActiveData::object, blender::ed::outliner::SyncSelectActiveData::pose_channel, blender::seq::select_active_get(), and blender::ed::outliner::SyncSelectActiveData::strip.
Referenced by get_sync_select_active_data(), and outliner_sync_selection().
|
static |
Definition at line 203 of file outliner_tools.cc.
References get_target_element(), outliner_find_element_with_flag(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_ACTIVE.
Referenced by get_target_element(), outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_data_operation_poll(), outliner_do_libdata_operation_selection_set(), outliner_id_operation_exec(), outliner_id_operation_item_poll(), outliner_id_operation_itemf(), outliner_liboverride_property_remove_poll(), outliner_object_operation_exec(), and outliner_operation_tree_element_poll().
|
static |
Definition at line 2471 of file outliner_tools.cc.
References blender::ed::outliner::TreeElement::directdata, blender::bGPDlayer::flag, blender::GP_LAYER_HIDE, blender::GP_LAYER_SELECT, gpencil_layer_fn(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by gpencil_layer_fn(), and outliner_data_operation_exec().
|
static |
Definition at line 2492 of file outliner_tools.cc.
References grease_pencil_node_fn(), node, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, and tree_element_cast().
Referenced by grease_pencil_node_fn(), and outliner_data_operation_exec().
|
static |
Definition at line 536 of file outliner_edit.cc.
References blender::ed::outliner::SceneReplaceData::active_scene_get(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple_new(), blender::bke::library::LibraryRuntime::archived_libraries, blender::BKE_library_ID_is_indirectly_used(), blender::BKE_main_id_tag_idcode(), blender::BKE_reportf(), blender::BKE_scene_find_replacement(), blender::BKE_workspace_id_tag_all_visible(), blender::BLI_assert(), C, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::Library::id, blender::Scene::id, blender::TreeStoreElem::id, id_delete_tag(), ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, blender::ID_LI, ID_REAL_USERS, blender::ID_SCE, blender::ID_TAG_DOIT, blender::ID_TAG_INDIRECT, blender::ID_TAG_PRE_EXISTING, blender::ID_WS, blender::ed::outliner::TreeElement::idcode, blender::ID::lib, blender::LIBOVERRIDE_FLAG_NO_HIERARCHY, NC_WINDOW, blender::bke::library::LibraryRuntime::parent, blender::RPT_WARNING, blender::Library::runtime, blender::ed::outliner::SceneReplaceData::scene_to_activate, blender::ed::outliner::SceneReplaceData::scene_to_delete, blender::ID::tag, blender::TSE_LAYER_COLLECTION, blender::TSE_SOME_ID, blender::TreeStoreElem::type, UNUSED_VARS_NDEBUG, and blender::WM_event_add_notifier().
Referenced by id_delete_tag(), id_delete_tag_fn(), and outliner_id_delete_tag().
| void blender::ed::outliner::id_delete_tag_fn | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 662 of file outliner_edit.cc.
References blender::BLI_assert(), C, blender::ed::outliner::SceneReplaceData::can_replace(), blender::CTX_data_main(), blender::ED_scene_replace_active_for_deletion(), id_delete_tag(), id_delete_tag_fn(), blender::ed::outliner::SceneReplaceData::is_valid(), blender::ed::outliner::SceneReplaceData::scene_to_activate, and blender::ed::outliner::SceneReplaceData::scene_to_delete.
Referenced by id_delete_tag_fn(), outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 1668 of file outliner_tools.cc.
References blender::BKE_report(), blender::TreeStoreElem::id, blender::id_fake_user_clear(), id_fake_user_clear_fn(), ID_IS_LINKED, and blender::RPT_INFO.
Referenced by id_fake_user_clear_fn(), and outliner_id_operation_exec().
|
static |
Definition at line 1648 of file outliner_tools.cc.
References blender::BKE_report(), blender::TreeStoreElem::id, blender::id_fake_user_set(), id_fake_user_set_fn(), ID_IS_LINKED, and blender::RPT_INFO.
Referenced by id_fake_user_set_fn(), and outliner_id_operation_exec().
|
static |
Definition at line 331 of file tree_display_override_library_hierarchies.cc.
References blender::BKE_lib_override_library_get(), blender::IDOverrideLibrary::hierarchy_root, id_is_in_override_hierarchy(), ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_VIRTUAL, and blender::ID::override_library.
Referenced by id_is_in_override_hierarchy().
|
static |
Definition at line 1018 of file outliner_tools.cc.
References blender::BKE_id_newptr_and_tag_clear(), blender::BKE_lib_id_make_local(), blender::BKE_lib_override_library_make_local(), C, blender::CTX_data_main(), blender::DEG_id_tag_update(), blender::TreeStoreElem::id, blender::ID_GP, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_local_fn(), blender::ID_RECALC_GEOMETRY, blender::ID_TAG_EXTERN, blender::LIB_ID_MAKELOCAL_ASSET_DATA_CLEAR, and blender::ID::tag.
Referenced by id_local_fn(), and outliner_id_operation_exec().
|
static |
Definition at line 1534 of file outliner_tools.cc.
References blender::BKE_reportf(), blender::BLI_assert(), blender::data, blender::TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_clear_single(), blender::RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by id_override_library_clear_single().
|
static |
Definition at line 1476 of file outliner_tools.cc.
References blender::ViewLayer::basact, blender::BKE_id_delete(), blender::BKE_lib_override_library_id_reset(), blender::BKE_lib_override_library_is_hierarchy_leaf(), blender::BKE_libblock_remap(), blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::BLI_assert(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::data, blender::DEG_id_tag_update(), blender::GS(), blender::Scene::id, blender::ID_OB, id_override_library_clear_single_process(), blender::ID_RECALC_BASE_FLAGS, blender::ID_RECALC_SELECT, blender::ID_RECALC_SYNC_TO_EVAL, and blender::ID_REMAP_SKIP_INDIRECT_USAGE.
Referenced by id_override_library_clear_single_process(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 1311 of file outliner_tools.cc.
References blender::ed::object::base_free_and_unlink(), blender::BKE_lib_override_library_create(), blender::BKE_lib_override_library_create_from_id(), blender::BKE_main_id_newptr_and_tag_clear(), blender::BKE_main_id_tag_all(), blender::BLI_assert(), BLI_assert_unreachable, blender::data, blender::IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::GS(), blender::IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, blender::ID_OB, id_override_library_create_hierarchy(), blender::ID_TAG_DOIT, blender::LIBOVERRIDE_FLAG_SYSTEM_DEFINED, blender::ID::override_library, blender::IDOverrideLibrary::reference, blender::ID::session_uid, and blender::ID::tag.
Referenced by id_override_library_create_hierarchy(), and id_override_library_create_hierarchy_process().
|
static |
Definition at line 1121 of file outliner_tools.cc.
References blender::BKE_idtype_idcode_is_linkable(), blender::BKE_main_id_tag_all(), blender::BKE_reportf(), blender::BLI_assert(), C, blender::CTX_data_main(), blender::data, blender::ID::flag, blender::IDOverrideLibrary::flag, blender::TreeStoreElem::flag, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, blender::GS(), blender::IDOverrideLibrary::hierarchy_root, blender::Collection::id, blender::Library::id, blender::TreeStoreElem::id, blender::ID_FLAG_EMBEDDED_DATA, blender::ID_FLAG_EMBEDDED_DATA_LIB_OVERRIDE, blender::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, blender::ID_OB, id_override_library_create_hierarchy_pre_process(), blender::ID_TAG_DOIT, blender::Object::instance_collection, blender::ID::lib, blender::LIBOVERRIDE_FLAG_SYSTEM_DEFINED, blender::ID::name, blender::OB_ARMATURE, blender::OB_EMPTY, blender::ID::override_library, blender::ed::outliner::TreeElement::parent, blender::IDOverrideLibrary::reference, blender::RPT_WARNING, blender::ID::session_uid, blender::ed::outliner::TreeElement::store_elem, blender::ID::tag, blender::TSE_CLOSED, TSE_IS_REAL_ID, blender::TSE_SELECTED, blender::TSE_SOME_ID, blender::Object::type, blender::TreeStoreElem::type, and UNUSED_VARS_NDEBUG.
Referenced by id_override_library_create_hierarchy_pre_process().
|
static |
Definition at line 1408 of file outliner_tools.cc.
References blender::BKE_reportf(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::data, blender::IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_create_hierarchy(), id_override_library_create_hierarchy_process(), blender::LIBOVERRIDE_FLAG_SYSTEM_DEFINED, blender::ID::override_library, blender::IDOverrideLibrary::reference, blender::RPT_WARNING, and blender::ID::session_uid.
Referenced by id_override_library_create_hierarchy_process(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 1618 of file outliner_tools.cc.
References blender::BLI_assert(), CLOG_WARN, blender::data, blender::IDOverrideLibrary::hierarchy_root, blender::TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_delete_hierarchy(), LOG, blender::ID::name, blender::ID::override_library, and TSE_IS_REAL_ID.
Referenced by id_override_library_delete_hierarchy().
|
static |
Definition at line 1637 of file outliner_tools.cc.
References blender::BKE_lib_override_library_delete(), C, blender::CTX_data_main(), blender::data, and id_override_library_delete_hierarchy_process().
Referenced by id_override_library_delete_hierarchy_process(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 1453 of file outliner_tools.cc.
References blender::BKE_lib_override_library_id_hierarchy_reset(), blender::BKE_lib_override_library_id_reset(), blender::BLI_assert(), C, CLOG_WARN, blender::CTX_data_main(), blender::data, blender::TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_reset(), LOG, blender::ID::name, and TSE_IS_REAL_ID.
Referenced by id_override_library_reset().
|
static |
Definition at line 1564 of file outliner_tools.cc.
References blender::BLI_assert(), CLOG_WARN, blender::data, blender::IDOverrideLibrary::hierarchy_root, blender::TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_resync(), LOG, blender::ID::name, blender::ID::override_library, and TSE_IS_REAL_ID.
Referenced by id_override_library_resync().
|
static |
Definition at line 1582 of file outliner_tools.cc.
References blender::BKE_lib_override_library_main_hierarchy_root_ensure(), blender::BKE_lib_override_library_resync(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::data, id_override_library_resync_hierarchy_process(), NC_WINDOW, blender::BlendFileReadReport::reports, and blender::WM_event_add_notifier().
Referenced by id_override_library_resync_hierarchy_process(), and outliner_liboverride_operation_exec().
| void blender::ed::outliner::id_remap_fn | ( | bContext * | C, |
| TreeStoreElem * | tselem ) |
Definition at line 904 of file outliner_edit.cc.
References blender::BLI_assert(), C, blender::GS(), blender::TreeStoreElem::id, id_remap_fn(), blender::wm::InvokeDefault, blender::ID::name, blender::RNA_enum_set(), blender::RNA_int_set(), blender::ID::session_uid, blender::WM_operator_name_call_ptr(), blender::WM_operator_properties_create_ptr(), blender::WM_operator_properties_free(), and blender::WM_operatortype_find().
Referenced by id_remap_fn(), outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 1685 of file outliner_tools.cc.
References C, blender::TreeStoreElem::id, id_select_linked_fn(), and blender::ed::object::select_linked_by_id().
Referenced by id_select_linked_fn(), and outliner_id_operation_exec().
|
static |
Definition at line 197 of file outliner_dragdrop.cc.
References is_collection_element(), and outliner_is_collection_tree_element().
Referenced by collection_drop_init(), collection_drop_invoke(), collection_drop_tooltip(), is_collection_element(), outliner_drop_insert_collection_find(), and outliner_is_collection_dragged_into_itself().
|
static |
The active object is only needed for reference.
Definition at line 132 of file outliner_draw.cc.
References blender::BKE_object_data_is_in_editmode(), blender::Object::data, blender::GS(), is_object_data_in_editmode(), blender::Object::mode, OB_DATA_SUPPORT_EDITMODE, and blender::OB_MODE_EDIT.
Referenced by is_object_data_in_editmode(), outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 229 of file outliner_dragdrop.cc.
References blender::ID_OB, blender::ed::outliner::TreeElement::idcode, is_object_element(), TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by collection_drop_init(), collection_drop_invoke(), collection_drop_tooltip(), datastack_drop_init(), is_object_element(), and outliner_drop_insert_collection_find().
|
static |
Definition at line 235 of file outliner_dragdrop.cc.
References is_pchan_element(), TREESTORE, blender::TSE_POSE_CHANNEL, and blender::TreeStoreElem::type.
Referenced by datastack_drop_init(), and is_pchan_element().
| void blender::ed::outliner::item_rename_fn | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 394 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), do_item_rename(), and item_rename_fn().
Referenced by item_rename_fn(), outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 89 of file tree_element_overrides.cc.
References blender::BKE_lib_override_library_property_is_animated(), blender::BKE_lib_override_rna_property_find(), blender::data, ELEM, iterate_properties_to_display(), blender::LIBOVERRIDE_OP_FLAG_IDPOINTER_MATCH_REFERENCE, blender::PROP_COLLECTION, blender::PROP_POINTER, blender::RNA_id_pointer_create(), blender::RNA_property_pointer_type(), and blender::RNA_struct_is_ID().
Referenced by blender::ed::outliner::TreeElementOverridesBase::expand(), and iterate_properties_to_display().
|
static |
Definition at line 883 of file outliner_collections.cc.
References blender::LayerCollection::collection, blender::COLLECTION_IS_MASTER, blender::data, blender::ed::outliner::TreeElement::directdata, blender::Collection::flag, layer_collection_collect_data_to_edit(), TRAVERSE_CONTINUE, TREESTORE, blender::TSE_LAYER_COLLECTION, and blender::TreeStoreElem::type.
Referenced by collection_flag_exec(), collection_isolate_exec(), collection_view_layer_exec(), collection_visibility_exec(), collections_view_layer_poll(), and layer_collection_collect_data_to_edit().
| void blender::ed::outliner::lib_reload_fn | ( | bContext * | C, |
| ReportList * | , | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 1308 of file outliner_edit.cc.
References C, lib_reload_fn(), lib_relocate(), and blender::WM_operatortype_find().
Referenced by lib_reload_fn(), and outliner_lib_operation_exec().
|
static |
Definition at line 1143 of file outliner_edit.cc.
References blender::BLI_assert(), BLI_path_cmp, blender::BLI_path_split_dir_file(), C, blender::wm::ExecDefault, FILE_MAX, FILE_MAXDIR, blender::gpu::shader::parser::filename(), blender::Library::filepath, blender::bke::library::LibraryRuntime::filepath_abs, blender::TreeStoreElem::id, blender::ID_LI, blender::ed::outliner::TreeElement::idcode, blender::wm::InvokeDefault, lib_relocate(), blender::ID::name, blender::gpu::shader::metadata::printf, blender::ret, blender::RNA_boolean_set(), blender::RNA_string_set(), blender::Library::runtime, UNUSED_VARS_NDEBUG, blender::WM_operator_name_call_ptr(), blender::WM_operator_properties_create_ptr(), and blender::WM_operator_properties_free().
Referenced by lib_reload_fn(), lib_relocate(), lib_relocate_fn(), and outliner_lib_relocate_invoke_do().
| void blender::ed::outliner::lib_relocate_fn | ( | bContext * | C, |
| ReportList * | , | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 1250 of file outliner_edit.cc.
References C, lib_relocate(), lib_relocate_fn(), and blender::WM_operatortype_find().
Referenced by lib_relocate_fn(), and outliner_lib_operation_exec().
|
static |
Definition at line 654 of file outliner_tree.cc.
References blender::Collection::children, blender::CollectionChild::collection, blender::ed::outliner::OutlinerSortMaps::collection_and_object_to_cob_map, blender::Collection::gobject, map_all_objects_to_collection(), blender::CollectionObject::ob, and blender::ed::outliner::OutlinerSortMaps::object_to_any_cob_map.
Referenced by map_all_objects_to_collection(), and outliner_sort_custom().
|
static |
Definition at line 685 of file outliner_dragdrop.cc.
References blender::BKE_id_is_editable(), blender::BKE_MAT_ASSIGN_USERPREF, blender::BKE_object_material_assign(), C, blender::CTX_data_main(), ELEM, blender::Object::id, blender::ID_MA, blender::ID_OB, material_drop_invoke(), NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, blender::OB_GREASE_PENCIL, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_ID_drop_find(), blender::Object::totcol, blender::Object::type, blender::WM_drag_get_local_ID_from_event(), and blender::WM_event_add_notifier().
Referenced by material_drop_invoke(), and OUTLINER_OT_material_drop().
|
static |
Definition at line 676 of file outliner_dragdrop.cc.
References C, ELEM, blender::Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_MA, blender::ID_OB, material_drop_poll(), outliner_ID_drop_find(), and blender::WM_drag_get_local_ID().
Referenced by material_drop_poll(), and outliner_dropboxes().
|
static |
Definition at line 859 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), blender::ED_outliner_select_sync_from_outliner(), blender::element, merged_element_search_exec_fn(), OL_ITEM_ACTIVATE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by merged_element_search_exec_fn(), and merged_element_search_menu().
|
static |
Definition at line 805 of file outliner_tools.cc.
References blender::BLI_strcasestr(), blender::COLLECTION_COLOR_NONE, blender::Collection::color_tag, blender::ed::outliner::TreeElementIcon::icon, merged_element_search_fn_recursive(), outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), str, blender::STRNCPY(), tree_element_get_icon(), tree_element_id_type_to_index(), TREESTORE, and blender::TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), and merged_element_search_update_fn().
|
static |
Merged element search menu Created on activation of a merged or aggregated icon-row icon.
Definition at line 873 of file outliner_tools.cc.
References blender::ui::BLOCK_LOOP, blender::ui::BLOCK_MOVEMOUSE_QUIT, blender::ui::BLOCK_SEARCH_MENU, blender::ui::BLOCK_THEME_STYLE_POPUP, blender::ui::BUT_ACTIVATE_ON_INIT, C, blender::data, blender::ui::Emboss, blender::ui::Label, merged_element_search_exec_fn(), merged_element_search_menu(), merged_element_search_update_fn(), blender::ui::searchbox_size_y(), UI_SEARCHBOX_BOUNDS, UI_UNIT_X, and UI_UNIT_Y.
Referenced by merged_element_search_menu(), and merged_element_search_menu_invoke().
| void blender::ed::outliner::merged_element_search_menu_invoke | ( | bContext * | C, |
| TreeElement * | parent_te, | ||
| TreeElement * | activate_te ) |
Definition at line 920 of file outliner_tools.cc.
References C, blender::MEM_delete_void(), blender::MEM_new_zeroed(), merged_element_search_menu(), merged_element_search_menu_invoke(), blender::ed::outliner::MergedSearchData::parent_element, and blender::ed::outliner::MergedSearchData::select_element.
Referenced by merged_element_search_menu_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 843 of file outliner_tools.cc.
References blender::data, merged_element_search_fn_recursive(), merged_element_search_update_fn(), blender::ed::outliner::MergedSearchData::parent_element, blender::ed::outliner::MergedSearchData::select_element, str, blender::ed::outliner::TreeElement::subtree, tree_element_id_type_to_index(), and TREESTORE.
Referenced by merged_element_search_menu(), and merged_element_search_update_fn().
|
static |
Definition at line 2579 of file outliner_tools.cc.
References C, blender::CTX_data_ensure_evaluated_depsgraph(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::ed::outliner::TreeElement::directdata, blender::eModifierMode_Realtime, blender::eModifierMode_Render, blender::TreeStoreElem::flag, blender::Object::id, blender::ID_OB, blender::ID_RECALC_GEOMETRY, blender::ModifierData::mode, blender::ed::object::modifier_apply(), blender::ed::object::MODIFIER_APPLY_DATA, modifier_fn(), blender::ed::object::modifier_remove(), NA_REMOVED, NC_OBJECT, ND_MODIFIER, OL_MODIFIER_OP_APPLY, OL_MODIFIER_OP_DELETE, OL_MODIFIER_OP_TOGREN, OL_MODIFIER_OP_TOGVIS, outliner_search_back(), blender::ed::outliner::TreeElement::store_elem, blender::TSE_SELECTED, and blender::WM_event_add_notifier().
Referenced by modifier_fn(), and outliner_modifier_operation_exec().
|
static |
Definition at line 734 of file outliner_draw.cc.
References blender::ANIM_armature_bonecoll_name_set(), blender::BKE_annotations_layer_active_set(), blender::BKE_keyblock_rename(), blender::BKE_library_filepath_set(), blender::BKE_main_blendfile_path(), blender::BKE_object_defgroup_unique_name(), blender::BKE_reportf(), blender::BKE_view_layer_rename(), blender::BLI_assert(), blender::BLI_exists(), blender::BLI_path_abs(), blender::BLI_strncpy_utf8(), blender::BLI_uniquename(), BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, blender::CTX_data_main(), CTX_N_, blender::CTX_wm_message_bus(), blender::CTX_wm_reports(), blender::CTX_wm_space_outliner(), blender::Object::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::ed::outliner::TreeElement::directdata, blender::ED_armature_bone_rename(), blender::ED_id_rename(), blender::ED_undo_push(), blender::bArmature::edbo, ELEM, FILE_MAX, blender::Library::filepath, blender::TreeStoreElem::flag, blender::GS(), blender::bArmature::id, blender::bGPdata::id, blender::Library::id, blender::Object::id, blender::Scene::id, blender::TreeStoreElem::id, blender::ID_IM, blender::ID_LI, blender::ID_MA, blender::ID_RECALC_GEOMETRY, blender::ID_RECALC_SYNC_TO_EVAL, blender::ID_SCE, blender::ID_TAG_MISSING, blender::ID_TE, blender::ed::outliner::TreeElement::idcode, blender::bGPDlayer::info, blender::bGPdata::layers, NA_RENAME, NA_SELECTED, blender::Bone::name, blender::BoneCollection::name, blender::bPoseChannel::name, blender::EditBone::name, blender::ID::name, blender::KeyBlock::name, blender::ViewLayer::name, namebutton_fn(), NC_ANIMATION, NC_GPENCIL, NC_ID, NC_IMAGE, NC_MATERIAL, NC_OBJECT, NC_SCENE, NC_TEXTURE, ND_ANIMCHAN, ND_ARMATURE_STRUCTURE, ND_BONE_COLLECTION, ND_DATA, ND_MODIFIER, node, blender::OB_ARMATURE, offsetof, OL_SETSEL_NORMAL, outliner_find_tree_element(), outliner_viewcontext_init(), blender::RPT_ERROR, blender::RPT_INFO, blender::SpaceOutliner::runtime, blender::STRNCPY(), STRNCPY_UTF8, blender::ID::tag, blender::ed::outliner::SpaceOutliner_Runtime::tree, tree_element_activate(), tree_element_cast(), blender::SpaceOutliner::treestore, blender::TSE_ACTION_SLOT, blender::TSE_BONE, blender::TSE_BONE_COLLECTION, blender::TSE_DEFGROUP, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_NODE_TREE, blender::TSE_MODIFIER, blender::TSE_NLA_ACTION, blender::TSE_NLA_TRACK, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SHAPE_KEY_BLOCK, blender::TSE_SOME_ID, blender::TSE_TEXTBUT, blender::Object::type, blender::TreeStoreElem::type, blender::WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by namebutton_fn(), and outliner_buttons().
|
static |
Definition at line 2698 of file outliner_tools.cc.
References blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::BLI_assert(), C, blender::CTX_data_edit_object(), blender::CTX_data_main(), blender::CTX_data_view_layer(), blender::ed::object::editmode_exit(), blender::ed::object::EM_FREEDATA, blender::Object::id, blender::ID_TAG_DOIT, blender::Base::object, object_batch_delete_hierarchy_tag_fn(), outliner_batch_delete_object_hierarchy_tag(), blender::Object::parent, and blender::ID::tag.
Referenced by object_batch_delete_hierarchy_tag_fn(), and outliner_delete_exec().
|
static |
Definition at line 970 of file outliner_tools.cc.
References blender::BASE_SELECTED, blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::Base::flag, blender::TreeStoreElem::id, and object_deselect_fn().
Referenced by object_deselect_fn(), and outliner_object_operation_exec().
|
static |
Definition at line 931 of file outliner_tools.cc.
References blender::ed::object::BA_SELECT, blender::ed::object::base_select(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::TreeStoreElem::id, and object_select_fn().
Referenced by object_select_fn(), and outliner_object_operation_exec().
|
static |
Definition at line 956 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), object_select_hierarchy_fn(), OL_ITEM_ACTIVATE, OL_ITEM_RECURSIVE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by object_select_hierarchy_fn(), and outliner_object_operation_exec().
|
static |
Base properties.
Definition at line 334 of file outliner_draw.cc.
References C, outliner__base_set_flag_recursive_fn(), and outliner_object_set_flag_recursive_fn().
Referenced by outliner__base_set_flag_recursive_fn(), and outliner_draw_restrictbuts().
|
static |
Object properties.
Definition at line 324 of file outliner_draw.cc.
References C, outliner__object_set_flag_recursive_fn(), and outliner_object_set_flag_recursive_fn().
Referenced by outliner__object_set_flag_recursive_fn(), and outliner_draw_restrictbuts().
|
static |
Definition at line 3546 of file outliner_tools.cc.
References blender::Main::actions, actionset_id_fn(), blender::BKE_report(), blender::BLI_findlink(), C, blender::CTX_data_main(), blender::CTX_wm_space_outliner(), blender::DEG_relations_tag_update(), blender::ED_undo_push(), get_element_operation_type(), get_target_element(), blender::ID_AC, NC_ANIMATION, ND_NLA_ACTCHANGE, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_action_set_exec(), outliner_do_id_set_operation(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RPT_ERROR, blender::TSE_ANIM_DATA, and blender::WM_event_add_notifier().
Referenced by outliner_action_set_exec(), and OUTLINER_OT_action_set().
|
static |
Definition at line 617 of file outliner_collections.cc.
References C, blender::CTX_wm_space_outliner(), blender::data, outliner_active_collection(), outliner_find_first_selected_collection(), outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_SELECTED.
Referenced by collection_flag_poll(), and outliner_active_collection().
|
static |
Definition at line 508 of file outliner_collections.cc.
References C, blender::CTX_wm_space_outliner(), blender::data, outliner_active_layer_collection(), outliner_find_first_selected_layer_collection(), outliner_tree_traverse(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_SELECTED.
Referenced by collection_inside_poll(), and outliner_active_layer_collection().
|
static |
Definition at line 84 of file tree_element_id_armature.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), blender::Bone::childbase, blender::ed::outliner::TreeElement::index, outliner_add_bone(), and blender::ed::outliner::TreeElement::subtree.
Referenced by outliner_add_bone().
| BLI_INLINE void blender::ed::outliner::outliner_add_collection_init | ( | TreeElement * | te, |
| Collection * | collection ) |
Definition at line 273 of file outliner_tree.cc.
References blender::BKE_collection_ui_name_get(), BLI_INLINE, blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::TreeElement::name, and outliner_add_collection_init().
Referenced by outliner_add_collection_init(), and outliner_add_collection_recursive().
| BLI_INLINE void blender::ed::outliner::outliner_add_collection_objects | ( | AbstractTreeDisplay & | tree_display, |
| ListBaseT< TreeElement > * | tree, | ||
| Collection * | collection, | ||
| TreeElement * | parent ) |
Definition at line 279 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_id_element(), BLI_INLINE, blender::Collection::gobject, blender::CollectionObject::ob, and outliner_add_collection_objects().
Referenced by outliner_add_collection_objects(), and outliner_add_collection_recursive().
| TreeElement * blender::ed::outliner::outliner_add_collection_recursive | ( | AbstractTreeDisplay & | tree_display, |
| SpaceOutliner * | space_outliner, | ||
| Collection * | collection, | ||
| TreeElement * | ten ) |
Definition at line 289 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_id_element(), blender::Collection::children, blender::CollectionChild::collection, blender::Collection::id, outliner_add_collection_init(), outliner_add_collection_objects(), outliner_add_collection_recursive(), blender::SpaceOutliner::outlinevis, blender::SO_SCENES, and blender::ed::outliner::TreeElement::subtree.
Referenced by blender::ed::outliner::TreeElementCollectionBase::expand(), blender::ed::outliner::TreeElementIDCollection::expand(), and outliner_add_collection_recursive().
|
static |
Definition at line 3640 of file outliner_tools.cc.
References C, clear_animdata_fn(), cleardrivers_animdata_fn(), blender::CTX_data_main(), blender::CTX_wm_manager(), blender::CTX_wm_space_outliner(), blender::DEG_relations_tag_update(), blender::ED_undo_push(), get_element_operation_type(), get_target_element(), blender::wm::InvokeRegionWin, NC_ANIMATION, ND_ANIMCHAN, ND_NLA_ACTCHANGE, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_animdata_operation_exec(), OUTLINER_ANIMOP_CLEAR_ACT, OUTLINER_ANIMOP_CLEAR_ADT, OUTLINER_ANIMOP_CLEAR_DRV, OUTLINER_ANIMOP_REFRESH_DRV, OUTLINER_ANIMOP_SET_ACT, outliner_do_data_operation(), blender::wmOperator::ptr, refreshdrivers_animdata_fn(), blender::RNA_enum_get(), blender::TSE_ANIM_DATA, unlinkact_animdata_fn(), blender::WM_event_add_notifier(), and blender::WM_operator_name_call().
Referenced by outliner_animdata_operation_exec(), and OUTLINER_OT_animdata_operation().
| bool blender::ed::outliner::outliner_animdata_test | ( | const AnimData * | adt | ) |
Definition at line 62 of file editors/space_outliner/tree/common.cc.
References blender::AnimData::action, blender::AnimData::drivers, blender::AnimData::nla_tracks, and outliner_animdata_test().
Referenced by blender::ed::outliner::TreeElementID::expand_animation_data(), and outliner_animdata_test().
|
static |
Definition at line 3776 of file outliner_draw.cc.
References blender::View2D::cur, floor, blender::ui::theme::get_color_4fv(), blender::GPU_PRIM_TRIS, blender::GPU_SHADER_3D_UNIFORM_COLOR, blender::GPU_vertformat_attr_add(), blender::immBegin(), blender::immBindBuiltinProgram(), blender::immEnd(), blender::immUnbindProgram(), blender::immUniformThemeColorBlend(), blender::immVertex2f(), blender::immVertexFormat(), OL_Y_OFFSET, outliner_back(), blender::TH_BACK, blender::TH_ROW_ALTERNATE, blender::View2D::tot, UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::xmax, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by draw_outliner(), and outliner_back().
|
static |
Create either a RNA_ObjectBase or a RNA_Object pointer.
Definition at line 356 of file outliner_draw.cc.
References blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::Object::id, blender::Scene::id, outliner_base_or_object_pointer_create(), blender::RNA_id_pointer_create(), and blender::RNA_pointer_create_discrete().
Referenced by outliner_base_or_object_pointer_create(), and outliner_collection_set_flag_recursive().
|
static |
Definition at line 2736 of file outliner_tools.cc.
References blender::BKE_id_multi_tagged_delete(), blender::BKE_scene_collections_object_remove(), blender::DEG_id_tag_update_ex(), blender::Object::id, blender::ID_RECALC_BASE_FLAGS, blender::ID_TAG_DOIT, blender::Main::objects, outliner_batch_delete_object_hierarchy(), blender::ID::tag, and blender::ID::us.
Referenced by outliner_batch_delete_object_hierarchy(), and outliner_delete_exec().
|
static |
Definition at line 2658 of file outliner_tools.cc.
References blender::BKE_view_layer_object_bases_get(), blender::BLI_assert(), blender::Object::id, blender::ID_TAG_DOIT, blender::Base::object, outliner_batch_delete_object_hierarchy_tag(), outliner_batch_delete_object_tag(), blender::Object::parent, and blender::ID::tag.
Referenced by object_batch_delete_hierarchy_tag_fn(), and outliner_batch_delete_object_hierarchy_tag().
|
static |
Definition at line 2631 of file outliner_tools.cc.
References blender::BKE_library_ID_is_indirectly_used(), blender::BKE_reportf(), blender::BLI_assert(), blender::Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, blender::ID_TAG_DOIT, blender::ID_TAG_INDIRECT, blender::ID::name, outliner_batch_delete_object_tag(), and blender::RPT_WARNING.
Referenced by outliner_batch_delete_object_hierarchy_tag(), and outliner_batch_delete_object_tag().
|
static |
Definition at line 2044 of file outliner_select.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, OL_ITEM_DESELECT, OL_ITEM_EXTEND, OL_ITEM_SELECT, outliner_box_select(), outliner_item_select(), UI_UNIT_Y, blender::rctf::ymax, blender::rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_box_select(), and outliner_box_select_exec().
|
static |
Definition at line 2057 of file outliner_select.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::DEG_id_tag_update(), blender::ED_outliner_select_sync_from_outliner(), blender::ED_region_tag_redraw_no_rebuild(), blender::Scene::id, blender::ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, blender::OPERATOR_FINISHED, outliner_box_select(), outliner_box_select_exec(), outliner_flag_set(), blender::wmOperator::ptr, blender::RNA_enum_get(), blender::SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, blender::TSE_SELECTED, blender::ARegion::v2d, blender::ui::view2d_region_to_view_rctf(), blender::WM_event_add_notifier(), and blender::WM_operator_properties_border_to_rctf().
Referenced by outliner_box_select_exec(), and OUTLINER_OT_select_box().
|
static |
Definition at line 2084 of file outliner_select.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::OPERATOR_CANCELLED, blender::OPERATOR_PASS_THROUGH, outliner_box_select_invoke(), outliner_find_item_at_y(), outliner_is_co_within_active_mode_column(), outliner_item_is_co_over_name_icons(), blender::wmOperator::ptr, blender::RNA_boolean_get(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, blender::ui::view2d_region_to_view(), blender::WM_event_drag_start_mval(), and blender::WM_gesture_box_invoke().
Referenced by outliner_box_select_invoke(), and OUTLINER_OT_select_box().
| void blender::ed::outliner::outliner_build_tree | ( | Main * | mainvar, |
| WorkSpace * | workspace, | ||
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| SpaceOutliner * | space_outliner, | ||
| ARegion * | region ) |
Main entry point for building the tree data-structure that the outliner represents.
Definition at line 1206 of file outliner_tree.cc.
References blender::BLI_assert(), BLI_assert_msg, BLI_assert_unreachable, blender::ed::outliner::AbstractTreeDisplay::create_from_display_mode(), blender::bke::ARegionRuntime::do_draw, blender::ED_outliner_support_searching(), outliner_build_tree(), outliner_clear_newid_from_main(), outliner_filter_tree(), outliner_free_tree(), outliner_restore_scrolling_position(), outliner_sort(), outliner_sort_custom(), outliner_storage_cleanup(), outliner_store_scrolling_position(), blender::SpaceOutliner::outlinevis, blender::RGN_DRAW_NO_REBUILD, blender::ARegion::runtime, blender::SpaceOutliner::runtime, blender::SpaceOutliner::search_flags, blender::SpaceOutliner::search_string, blender::SO_DATA_API, blender::SO_SEARCH_RECURSIVE, blender::SO_SORT_ALPHA, blender::SO_SORT_CUSTOM, blender::SO_SORT_NONE, blender::SO_TREESTORE_REBUILD, blender::SpaceOutliner::sort_method, blender::SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ed::outliner::SpaceOutliner_Runtime::tree_display, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, and blender::SpaceOutliner::treestore.
Referenced by collection_new_exec(), draw_outliner(), and outliner_build_tree().
|
static |
Definition at line 2124 of file outliner_draw.cc.
References b, and outliner_but_identity_cmp_context_id_fn().
Referenced by outliner_but_identity_cmp_context_id_fn(), and outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 2290 of file outliner_draw.cc.
References blender::BLI_assert(), blender::ui::BUT_UNDO, C, blender::StringRefNull::c_str(), blender::View2D::cur, blender::Library::filepath, blender::TreeStoreElem::flag, blender::GS(), blender::TreeStoreElem::id, blender::ID_LI, len(), MAX_ID_NAME, blender::ed::outliner::TreeElement::name, blender::EditBone::name, blender::ID::name, blender::ModifierData::name, namebutton_fn(), NC_SPACE, ND_SPACE_OUTLINER, outliner_buttons(), blender::ui::Text, TREESTORE, blender::TSE_EBONE, blender::TSE_MODIFIER, blender::TSE_TEXTBUT, blender::TreeStoreElem::type, UI_UNIT_X, UI_UNIT_Y, blender::ARegion::v2d, blender::WM_event_add_notifier(), blender::rctf::xmax, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner(), and outliner_buttons().
| void blender::ed::outliner::outliner_cleanup_tree | ( | SpaceOutliner * | space_outliner | ) |
Definition at line 164 of file outliner_tree.cc.
References outliner_cleanup_tree(), outliner_free_tree(), outliner_storage_cleanup(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by outliner_cleanup_tree(), outliner_constraint_operation_exec(), outliner_delete_exec(), outliner_modifier_operation_exec(), outliner_orphans_purge_exec(), and outliner_scene_operation_exec().
|
static |
Definition at line 1523 of file outliner_edit.cc.
References C, blender::CTX_wm_area(), blender::CTX_wm_space_outliner(), blender::ED_area_tag_redraw(), blender::OPERATOR_FINISHED, outliner_clear_filter_exec(), and blender::SpaceOutliner::search_string.
Referenced by outliner_clear_filter_exec(), and OUTLINER_OT_clear_filter().
|
static |
Definition at line 1191 of file outliner_tree.cc.
References FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::ID::newid, and outliner_clear_newid_from_main().
Referenced by outliner_build_tree(), and outliner_clear_newid_from_main().
|
static |
Definition at line 2917 of file outliner_tools.cc.
References blender::data, ELEM, blender::TreeStoreElem::id, blender::ID_GR, ID_IS_OVERRIDE_LIBRARY_HIERARCHY_ROOT, ID_IS_OVERRIDE_LIBRARY_REAL, blender::ID_OB, blender::ID_SCE, outliner_collect_objects_to_delete(), outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::parent, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_collect_objects_to_delete(), and outliner_delete_exec().
| TreeTraversalAction blender::ed::outliner::outliner_collect_selected_collections | ( | TreeElement * | te, |
| void * | customdata ) |
Definition at line 100 of file outliner_collections.cc.
References blender::BLI_addtail(), blender::BLI_genericNodeN(), blender::data, blender::TreeStoreElem::id, blender::ID_GR, outliner_collect_selected_collections(), outliner_is_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by collection_objects_select_exec(), outliner_collect_selected_collections(), and outliner_color_tag_set_exec().
| TreeTraversalAction blender::ed::outliner::outliner_collect_selected_objects | ( | TreeElement * | te, |
| void * | customdata ) |
Definition at line 132 of file outliner_collections.cc.
References blender::BLI_addtail(), blender::BLI_genericNodeN(), blender::data, blender::TreeStoreElem::id, blender::ID_OB, outliner_collect_selected_objects(), outliner_is_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by blender::ED_outliner_selected_objects_get(), and outliner_collect_selected_objects().
|
static |
Definition at line 1728 of file outliner_dragdrop.cc.
References blender::BLI_addtail(), blender::BLI_genericNodeN(), blender::data, blender::TreeStoreElem::id, blender::ID_OB, outliner_collect_selected_objects_and_collections(), outliner_is_collection_tree_element(), outliner_is_scene_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_collect_selected_objects_and_collections(), and outliner_item_drag_drop_invoke().
|
static |
Definition at line 117 of file outliner_collections.cc.
References blender::BLI_addtail(), blender::BLI_genericNodeN(), blender::data, ELEM, outliner_collect_selected_parent_collections(), outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::store_elem, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by collection_duplicate_exec(), and outliner_collect_selected_parent_collections().
|
static |
Definition at line 1675 of file outliner_collections.cc.
References blender::COLLECTION_COLOR_NONE, CTX_IFACE_, blender::wmOperatorType::description, outliner_collection_color_tag_set_get_description(), blender::RNA_enum_get(), TIP_, and blender::wmOperatorType::translation_context.
Referenced by outliner_collection_color_tag_set_get_description(), and OUTLINER_OT_collection_color_tag_set().
|
static |
Definition at line 1665 of file outliner_collections.cc.
References blender::COLLECTION_COLOR_NONE, CTX_IFACE_, blender::wmOperatorType::name, outliner_collection_color_tag_set_get_name(), blender::RNA_enum_get(), TIP_, and blender::wmOperatorType::translation_context.
Referenced by outliner_collection_color_tag_set_get_name(), and OUTLINER_OT_collection_color_tag_set().
| void blender::ed::outliner::outliner_collection_delete | ( | bContext * | C, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| ReportList * | reports, | ||
| bool | do_hierarchy ) |
Definition at line 369 of file outliner_collections.cc.
References blender::BKE_collection_delete(), blender::BKE_id_owner_get(), blender::BKE_reportf(), blender::BLI_assert(), blender::BLI_findindex(), C, blender::CollectionParent::collection, collection_collect_data_to_edit(), blender::COLLECTION_IS_MASTER, blender::Main::collections, blender::CTX_wm_space_outliner(), blender::data, blender::Collection::flag, blender::ID::flag, blender::GS(), blender::Collection::id, blender::ID_FLAG_EMBEDDED_DATA, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_SCE, blender::ID_TAG_INDIRECT, blender::ID::name, outliner_collection_delete(), outliner_tree_traverse(), blender::bke::CollectionRuntime::parents, blender::RPT_WARNING, blender::Collection::runtime, blender::SpaceOutliner::runtime, blender::ID::tag, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_SELECTED.
Referenced by collection_hierarchy_delete_exec(), outliner_collection_delete(), and outliner_delete_exec().
| Collection * blender::ed::outliner::outliner_collection_from_tree_element | ( | const TreeElement * | te | ) |
Definition at line 77 of file outliner_collections.cc.
References blender::LayerCollection::collection, blender::ed::outliner::TreeElement::directdata, ELEM, blender::TreeStoreElem::id, blender::ID_GR, blender::ed::outliner::TreeElement::idcode, blender::Scene::master_collection, outliner_collection_from_tree_element(), TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_SOME_ID, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by collection_collect_data_to_edit(), collection_drop_init(), collection_drop_invoke(), collection_duplicate_exec(), collection_flag_poll(), collection_new_exec(), do_item_rename(), get_sort_index(), merged_element_search_fn_recursive(), outliner_collection_from_tree_element(), outliner_color_tag_set_exec(), outliner_draw_hierarchy_lines_recursive(), outliner_draw_restrictbuts(), outliner_drop_insert_collection_find(), outliner_is_collection_dragged_into_itself(), outliner_item_drag_drop_invoke(), outliner_restrict_properties_collection_set(), outliner_sort_custom(), outliner_sync_selection_to_outliner(), tree_element_get_icon(), and tselem_draw_icon().
|
static |
Definition at line 1673 of file outliner_select.cc.
References blender::BKE_collection_object_find(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::ed::outliner::TreeElement::directdata, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, outliner_collection_get_for_recursive(), blender::ed::outliner::TreeElement::store_elem, blender::TSE_LAYER_COLLECTION, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by do_outliner_range_select(), outliner_collection_get_for_recursive(), and outliner_item_do_activate_from_cursor().
|
static |
Check if collection is already isolated.
A collection is isolated if all its parents and children are "visible". All the other collections must be "invisible".
NOTE: We could/should boost performance by iterating over the tree twice. First tagging all the children/parent collections, then getting their values and comparing. To run BKE_collection_has_collection() so many times is silly and slow.
Definition at line 457 of file outliner_draw.cc.
References blender::BKE_collection_has_collection(), blender::Collection::children, blender::CollectionChild::collection, blender::LayerCollection::collection, blender::COLLECTION_IS_MASTER, blender::Collection::flag, blender::LayerCollection::flag, blender::LAYER_COLLECTION_EXCLUDE, blender::LayerCollection::layer_collections, outliner_collection_is_isolated(), outliner_layer_or_collection_pointer_create(), blender::RNA_property_boolean_get(), and blender::RNA_property_editable().
Referenced by outliner_collection_is_isolated(), and outliner_collection_isolate_flag().
| void blender::ed::outliner::outliner_collection_isolate_flag | ( | const Main & | bmain, |
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| LayerCollection * | layer_collection, | ||
| Collection * | collection, | ||
| PropertyRNA * | layer_or_collection_prop, | ||
| const char * | propname, | ||
| const bool | value ) |
Definition at line 538 of file outliner_draw.cc.
References blender::BKE_layer_collection_has_layer_collection(), blender::CollectionParent::collection, blender::LayerCollection::collection, blender::COLLECTION_IS_MASTER, blender::Collection::flag, blender::Collection::id, blender::LayerCollection::layer_collections, blender::ViewLayer::layer_collections, blender::Scene::master_collection, outliner_collection_is_isolated(), outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), outliner_layer_or_collection_pointer_create(), blender::bke::CollectionRuntime::parents, blender::RNA_id_pointer_create(), blender::RNA_property_boolean_get_default(), blender::RNA_property_boolean_set(), blender::Collection::runtime, and STREQ.
Referenced by collection_isolate_exec(), outliner_collection_isolate_flag(), and outliner_collection_set_flag_recursive_fn().
|
static |
Definition at line 375 of file outliner_draw.cc.
References blender::Collection::children, blender::CollectionChild::collection, blender::LayerCollection::collection, blender::DEG_id_tag_update(), blender::LayerCollection::flag, blender::Collection::gobject, blender::Collection::id, blender::Object::id, blender::ID_RECALC_SYNC_TO_EVAL, blender::LAYER_COLLECTION_EXCLUDE, blender::LayerCollection::layer_collections, blender::CollectionObject::ob, outliner_base_or_object_pointer_create(), outliner_collection_set_flag_recursive(), outliner_layer_or_collection_pointer_create(), blender::RNA_property_boolean_set(), and blender::RNA_property_editable().
Referenced by outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), and outliner_collection_set_flag_recursive_fn().
|
static |
Definition at line 636 of file outliner_draw.cc.
References blender::BKE_main_collection_sync_remap(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_window(), blender::data, blender::DEG_relations_tag_update(), ELEM, blender::bke::WindowRuntime::eventstate, blender::Collection::id, blender::Scene::id, blender::KM_CTRL, blender::KM_SHIFT, blender::wmEvent::modifier, outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), outliner_collection_set_flag_recursive_fn(), outliner_layer_or_collection_pointer_create(), blender::RNA_pointer_create_discrete(), blender::RNA_property_boolean_get(), blender::RNA_struct_type_find_property(), and blender::wmWindow::runtime.
Referenced by outliner_collection_set_flag_recursive_fn(), scenes__collection_set_flag_recursive_fn(), view_layer__collection_set_flag_recursive_fn(), and view_layer__layer_collection_set_flag_recursive_fn().
|
static |
Definition at line 1628 of file outliner_collections.cc.
References blender::BKE_id_is_editable(), blender::BKE_report(), C, blender::Collection::color_tag, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::LinkData::data, blender::Collection::id, blender::Scene::master_collection, NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_collect_selected_collections(), outliner_collection_from_tree_element(), outliner_color_tag_set_exec(), outliner_tree_traverse(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RPT_WARNING, blender::SpaceOutliner::runtime, blender::ed::outliner::IDsSelectedData::selected_array, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_event_add_notifier().
Referenced by outliner_color_tag_set_exec(), and OUTLINER_OT_collection_color_tag_set().
|
static |
Definition at line 3735 of file outliner_tools.cc.
References C, constraint_fn(), blender::CTX_wm_space_outliner(), blender::ED_undo_push(), OL_CONSTRAINTOP_DELETE, blender::OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_constraint_operation_exec(), outliner_do_data_operation(), blender::wmOperator::ptr, blender::RNA_enum_get(), and blender::TSE_CONSTRAINT.
Referenced by outliner_constraint_operation_exec(), and OUTLINER_OT_constraint_operation().
|
static |
Definition at line 18 of file outliner_context.cc.
References blender::ed::outliner::tree_iterator::all(), blender::Collection, blender::CTX_data_id_list_add(), blender::CTX_data_type_set(), ELEM, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, outliner_context_selected_ids(), blender::result, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_context_selected_ids(), and outliner_main_region_context().
|
static |
Definition at line 98 of file outliner_edit.cc.
References blender::BKE_tempdir_base(), BLI_path_join, FILE_MAX, and outliner_copybuffer_filepath_get().
Referenced by outliner_copybuffer_filepath_get(), outliner_id_copy_exec(), and outliner_id_paste_exec().
|
static |
Definition at line 1326 of file outliner_edit.cc.
References outliner_count_levels().
Referenced by outliner_count_levels(), and outliner_one_level_exec().
Definition at line 408 of file space_outliner.cc.
References blender::ARegion::alignment, blender::BKE_area_region_new(), blender::BLI_addtail(), blender::SpaceOutliner::filter, blender::SpaceOutliner::filter_id_type, blender::SpaceOutliner::flag, blender::ID_GR, outliner_create(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::regionbase, blender::ARegion::regiontype, blender::RGN_ALIGN_BOTTOM, blender::RGN_ALIGN_TOP, blender::RGN_TYPE_HEADER, blender::RGN_TYPE_WINDOW, blender::SpaceOutliner::runtime, blender::SpaceOutliner::show_restrict_flags, blender::SO_FILTER_NO_VIEW_LAYERS, blender::SO_MODE_COLUMN, blender::SO_RESTRICT_ENABLE, blender::SO_RESTRICT_HIDE, blender::SO_RESTRICT_RENDER, blender::SO_SCROLL_TO_ACTIVE, blender::SO_SYNC_SELECT, blender::SO_VIEW_LAYER, blender::SPACE_OUTLINER, blender::SpaceOutliner::spacetype, blender::SpaceOutliner::sync_select_dirty, blender::U, blender::USER_HEADER_BOTTOM, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by blender::ED_spacetype_outliner(), and outliner_create().
|
static |
Definition at line 3814 of file outliner_draw.cc.
References blender::max_ii(), OL_RNA_COL_SPACEX, OL_RNA_COLX, and outliner_data_api_buttons_start_x().
Referenced by draw_outliner(), outliner_data_api_buttons_start_x(), and outliner_width().
|
static |
Definition at line 185 of file outliner_dragdrop.cc.
References outliner_data_from_tree_element_and_parents(), and blender::ed::outliner::TreeElement::parent.
Referenced by collection_drop_init(), datastack_drop_init(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_collection_find(), and outliner_is_collection_dragged_into_itself().
|
static |
Definition at line 3910 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), get_target_element(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_SELECT_LINKED, OL_DOP_UNHIDE, outliner_data_op_sets_enum_item_fn(), blender::rna_enum_dummy_DEFAULT_items, blender::rna_enum_dummy_NULL_items, TREESTORE, blender::TSE_RNA_STRUCT, and blender::TreeStoreElem::type.
Referenced by outliner_data_op_sets_enum_item_fn(), and OUTLINER_OT_data_operation().
|
static |
Definition at line 3843 of file outliner_tools.cc.
References blender::BKE_report(), bone_fn(), C, blender::CTX_data_sequencer_scene(), blender::CTX_wm_space_outliner(), data_select_linked_fn(), ebone_fn(), blender::ED_undo_push(), get_element_operation_type(), get_target_element(), gpencil_layer_fn(), grease_pencil_node_fn(), NA_SELECTED, NC_GPENCIL, NC_OBJECT, NC_SCENE, ND_BONE_SELECT, ND_DATA, ND_SEQUENCER, OL_DOP_SELECT_LINKED, blender::OPERATOR_FINISHED, outliner_data_operation_exec(), outliner_do_data_operation(), pchan_fn(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RPT_WARNING, sequence_fn(), blender::TSE_BONE, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_POSE_CHANNEL, blender::TSE_RNA_STRUCT, blender::TSE_STRIP, and blender::WM_event_add_notifier().
Referenced by outliner_data_operation_exec(), and OUTLINER_OT_data_operation().
|
static |
Definition at line 3825 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), blender::ED_operator_outliner_active(), ELEM, get_element_operation_type(), get_target_element(), outliner_data_operation_poll(), blender::TSE_BONE, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_POSE_CHANNEL, blender::TSE_RNA_STRUCT, and blender::TSE_STRIP.
Referenced by outliner_data_operation_poll(), and OUTLINER_OT_data_operation().
|
static |
Definition at line 549 of file space_outliner.cc.
References blender::BKE_area_find_region_type(), blender::ED_region_tag_redraw_no_rebuild(), outliner_deactivate(), outliner_flag_set(), blender::RGN_TYPE_WINDOW, blender::ScrArea::spacedata, and blender::TSE_HIGHLIGHTED_ANY.
Referenced by blender::ED_spacetype_outliner(), and outliner_deactivate().
|
static |
Definition at line 2965 of file outliner_tools.cc.
References blender::BKE_main_ensure_invariants(), blender::BKE_main_id_tag_all(), blender::BKE_view_layer_active_base_get(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_message_bus(), blender::CTX_wm_space_outliner(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::ED_outliner_select_sync_from_object_tag(), blender::Scene::id, blender::ID_RECALC_HIERARCHY, blender::ID_RECALC_SELECT, blender::ID_RECALC_SYNC_TO_EVAL, blender::ID_TAG_DOIT, blender::ed::outliner::ObjectEditData::is_liboverride_allowed, blender::ed::outliner::ObjectEditData::is_liboverride_hierarchy_root_allowed, NC_SCENE, ND_LAYER_CONTENT, ND_OB_ACTIVE, ND_OB_SELECT, object_batch_delete_hierarchy_tag_fn(), blender::ed::outliner::ObjectEditData::objects_set, blender::OPERATOR_FINISHED, outliner_batch_delete_object_hierarchy(), outliner_cleanup_tree(), outliner_collect_objects_to_delete(), outliner_collection_delete(), outliner_delete_exec(), outliner_do_object_delete(), outliner_object_delete_fn(), outliner_tree_traverse(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_boolean_get(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, blender::WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by outliner_delete_exec(), and OUTLINER_OT_delete().
|
static |
Definition at line 2614 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::TreeStoreElem::flag, outliner_do_data_operation(), TREESTORE, blender::TSE_SELECTED, and blender::TreeStoreElem::type.
Referenced by outliner_animdata_operation_exec(), outliner_constraint_operation_exec(), outliner_data_operation_exec(), outliner_do_data_operation(), and outliner_modifier_operation_exec().
|
static |
Definition at line 3508 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::TreeStoreElem::flag, outliner_do_id_set_operation(), blender::ed::outliner::TreeElement::parent, TREESTORE, blender::TSE_SELECTED, and blender::TreeStoreElem::type.
Referenced by outliner_action_set_exec(), and outliner_do_id_set_operation().
|
static |
Definition at line 554 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, blender::TreeStoreElem::flag, blender::ed::outliner::TreeElement::idcode, outliner_do_libdata_operation(), blender::ed::outliner::TreeElement::parent, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_do_libdata_operation(), outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 631 of file outliner_tools.cc.
References C, blender::element, outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), and TREESTORE.
Referenced by outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 661 of file outliner_tools.cc.
References C, get_target_element(), outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, blender::ed::outliner::SpaceOutliner_Runtime::tree, and TREESTORE.
|
static |
Definition at line 602 of file outliner_tools.cc.
References C, ELEM, blender::element, blender::TreeStoreElem::flag, outliner_do_libdata_operation_selection_set_element(), OUTLINER_LIB_LIB_SELECTIONSET_CONTENT, OUTLINER_LIB_LIB_SELECTIONSET_SELECTED_AND_CONTENT, OUTLINER_LIB_SELECTIONSET_SELECTED, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set(), and outliner_do_libdata_operation_selection_set_element().
|
static |
Definition at line 2132 of file outliner_tools.cc.
References C, ELEM, blender::element, blender::TreeStoreElem::flag, outliner_do_liboverride_property_selection_set(), TREESTORE, blender::TSE_LIBRARY_OVERRIDE, blender::TSE_LIBRARY_OVERRIDE_OPERATION, blender::TSE_SELECTED, and blender::TreeStoreElem::type.
Referenced by outliner_do_liboverride_property_selection_set(), and outliner_liboverride_property_remove_exec().
|
static |
Definition at line 2906 of file outliner_tools.cc.
References C, and outliner_do_object_delete().
Referenced by outliner_delete_exec(), and outliner_do_object_delete().
| void blender::ed::outliner::outliner_do_object_operation | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBaseT< TreeElement > * | lb, | ||
| outliner_operation_fn | operation_fn ) |
Definition at line 1778 of file outliner_tools.cc.
References C, outliner_do_object_operation(), and outliner_do_object_operation_ex().
Referenced by outliner_do_object_operation(), and outliner_object_operation_exec().
| void blender::ed::outliner::outliner_do_object_operation_ex | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBaseT< TreeElement > * | lb, | ||
| outliner_operation_fn | operation_fn, | ||
| bool | recurse_selected ) |
| recurse_selected | Set to false for operations which are already recursively operating on their children. |
Definition at line 1744 of file outliner_tools.cc.
References C, blender::CTX_data_main(), blender::CTX_wm_window(), blender::TreeStoreElem::flag, blender::ID_OB, blender::ID_SCE, outliner_do_object_operation_ex(), outliner_search_back(), TREESTORE, blender::TSE_SELECTED, blender::TSE_SOME_ID, TSELEM_OPEN, blender::TreeStoreElem::type, and blender::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 710 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, blender::TreeStoreElem::flag, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, outliner_do_scene_operation(), TREESTORE, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_do_scene_operation(), and outliner_scene_operation_exec().
|
static |
Definition at line 2857 of file outliner_draw.cc.
References blender::BLI_rctf_init(), blender::ui::CNR_ALL, blender::ui::draw_roundbox_aa(), blender::GPU_blend(), blender::GPU_BLEND_ALPHA, outliner_draw_active_indicator(), UI_UNIT_X, and UI_UNIT_Y.
Referenced by outliner_draw_active_indicator(), outliner_draw_iconrow_doit(), and outliner_draw_tree_element().
|
static |
Definition at line 2501 of file outliner_draw.cc.
References blender::ed::outliner::AbstractTreeElement::get_warning(), blender::blender::StringRefBase::is_empty(), outliner_draw_get_warning_tree_element(), outliner_draw_get_warning_tree_element_subtree(), blender::ed::outliner::TreeElement::store_elem, tree_element_cast(), and TSELEM_OPEN.
Referenced by outliner_draw_get_warning_tree_element(), and outliner_draw_warning_column().
|
static |
Definition at line 2482 of file outliner_draw.cc.
References blender::ed::outliner::AbstractTreeElement::get_warning(), blender::blender::StringRefBase::is_empty(), outliner_draw_get_warning_tree_element_subtree(), blender::ed::outliner::TreeElement::subtree, and tree_element_cast().
Referenced by outliner_draw_get_warning_tree_element(), and outliner_draw_get_warning_tree_element_subtree().
|
static |
Definition at line 3426 of file outliner_draw.cc.
References blender::GPU_PRIM_LINES, blender::immBegin(), blender::immEnd(), blender::immUniform1f(), blender::immVertex2f(), outliner_draw_hierarchy_line(), UI_UNIT_Y, and blender::x.
Referenced by outliner_draw_hierarchy_line(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3517 of file outliner_draw.cc.
References blender::ui::theme::get_color_blend_3ubv(), blender::GPU_blend(), blender::GPU_BLEND_ALPHA, blender::GPU_BLEND_NONE, blender::GPU_line_width(), blender::GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR, blender::GPU_vertformat_attr_add(), blender::GPU_viewport_size_get_f(), blender::immBindBuiltinProgram(), blender::immUnbindProgram(), blender::immUniform1f(), blender::immUniform1i(), blender::immUniform2f(), blender::immVertexFormat(), outliner_draw_hierarchy_lines(), outliner_draw_hierarchy_lines_recursive(), blender::TH_BACK, blender::TH_TEXT, and UI_SCALE_FAC.
Referenced by outliner_draw_hierarchy_lines(), and outliner_draw_tree().
|
static |
Definition at line 3443 of file outliner_draw.cc.
References bTheme::collection_color, blender::COLLECTION_COLOR_NONE, ThemeCollectionColor::color, blender::Collection::color_tag, blender::copy_v4_v4_uchar(), ELEM, element_should_draw_faded(), blender::ID_OB, blender::immUniformColor4ubv(), node, outliner_collection_from_tree_element(), outliner_draw_hierarchy_line(), outliner_draw_hierarchy_lines_recursive(), subtree_contains_object(), blender::ui::theme::theme_get(), tree_element_cast(), TREESTORE, blender::TSE_BONE, blender::TSE_EBONE, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_POSE_CHANNEL, blender::TSE_SOME_ID, TSELEM_OPEN, blender::TreeStoreElem::type, UI_UNIT_X, UI_UNIT_Y, and y.
Referenced by outliner_draw_hierarchy_lines(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3666 of file outliner_draw.cc.
References blender::ui::theme::get_color_3fv(), blender::ui::theme::get_color_4fv(), blender::GPU_blend(), blender::GPU_BLEND_ALPHA, blender::GPU_BLEND_NONE, outliner_draw_highlights(), blender::TH_MATCH, blender::TH_SELECT_ACTIVE, and blender::TH_SELECT_HIGHLIGHT.
|
static |
Definition at line 3586 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::BLI_rctf_init(), blender::ui::CNR_ALL, blender::View2D::cur, blender::ui::draw_roundbox_4fv(), blender::ui::draw_roundbox_4fv_ex(), blender::TreeStoreElem::flag, blender::ui::theme::get_color_blend_4f(), blender::ui::theme::get_color_shade_4fv(), outliner_draw_highlights(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::search_string, SEARCHING_OUTLINER, blender::SO_DATA_API, blender::TH_BACK, blender::TH_SELECT_ACTIVE, blender::TH_TEXT, TREESTORE, blender::TSE_ACTIVE, blender::TSE_DRAG_AFTER, blender::TSE_DRAG_ANY, blender::TSE_DRAG_BEFORE, blender::TSE_HIGHLIGHTED, blender::TSE_SEARCHMATCH, blender::TSE_SELECTED, blender::U, UI_SCALE_FAC, UI_UNIT_X, UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::xmax, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by outliner_draw_highlights(), outliner_draw_highlights(), and outliner_draw_tree().
|
static |
Definition at line 2954 of file outliner_draw.cc.
References blender::ed::outliner::MergedIconRow::active, ELEM, blender::TreeStoreElem::id, blender::ID_OB, INDEX_ID_MAX, blender::INDEX_ID_OB, is_object_data_in_editmode(), blender::ed::outliner::MergedIconRow::num_elements, blender::OB_TYPE_MAX, blender::ed::outliner::TreeViewContext::obact, OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, outliner_draw_iconrow(), outliner_draw_iconrow_doit(), TE_ICONROW, TE_ICONROW_MERGED, blender::ed::outliner::MergedIconRow::tree_element, tree_element_active_state_get(), tree_element_cast(), tree_element_id_type_to_index(), tree_element_type_active_state_get(), TREESTORE, blender::TSE_ACTION_SLOT, blender::TSE_BONE, blender::TSE_BONE_COLLECTION, blender::TSE_DEFGROUP, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_ID_BASE, blender::TSE_LAYER_COLLECTION, blender::TSE_LIBRARY_OVERRIDE, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_LIBRARY_OVERRIDE_OPERATION, blender::TSE_NLA_TRACK, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SHAPE_KEY_BLOCK, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 2875 of file outliner_draw.cc.
References blender::ed::outliner::TreeElement::flag, blender::TreeStoreElem::flag, blender::ui::theme::get_color_4fv(), OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, outliner_draw_active_indicator(), outliner_draw_iconrow_doit(), outliner_icon_background_colors(), TE_ICONROW, TE_ICONROW_MERGED, blender::TH_EDITED_OBJECT, TREESTORE, blender::TSE_HIGHLIGHTED_ICON, tselem_draw_icon(), UI_UNIT_X, UI_UNIT_Y, blender::ed::outliner::TreeElement::xend, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_iconrow(), and outliner_draw_iconrow_doit().
|
static |
Definition at line 2469 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::Object::mode, blender::OB_MODE_OBJECT, blender::ed::outliner::TreeViewContext::obact, blender::ToolSettings::object_flag, outliner_draw_mode_column(), outliner_draw_mode_column_toggle(), blender::SCE_OBJECT_MODE_LOCK, blender::ed::outliner::TreeViewContext::scene, and blender::Scene::toolsettings.
Referenced by draw_outliner(), and outliner_draw_mode_column().
|
static |
Definition at line 2373 of file outliner_draw.cc.
References blender::BKE_object_is_in_editmode(), blender::ui::But, blender::ui::BUT_DISABLED, blender::ui::BUT_DRAG_LOCK, blender::ui::BUT_UNDO, blender::ui::ButToggle, blender::Object::data, blender::IDOverrideLibrary::flag, blender::ui::icon_from_object_mode(), blender::Object::id, blender::TreeStoreElem::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY_REAL, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::LIBOVERRIDE_FLAG_SYSTEM_DEFINED, blender::Object::mode, blender::ui::NoneOrStatus, blender::ed::outliner::TreeViewContext::ob_edit, blender::OB_MODE_OBJECT, blender::OB_MODE_PARTICLE_EDIT, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::TreeViewContext::obact, outliner_draw_mode_column_toggle(), outliner_mode_toggle_fn(), blender::ID::override_library, blender::psys_get_current(), TIP_, TREESTORE, blender::TSE_SOME_ID, blender::Object::type, blender::TreeStoreElem::type, UI_SCALE_FAC, UI_UNIT_X, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_mode_column(), and outliner_draw_mode_column_toggle().
|
static |
Definition at line 2135 of file outliner_draw.cc.
References blender::BKE_lib_override_library_is_system_defined(), blender::ui::But, blender::ui::BUT_DRAG_LOCK, blender::wm::ExecDefault, blender::ed::outliner::TreeElementID::get_ID(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, outliner_but_identity_cmp_context_id_fn(), outliner_draw_overrides_restrictbuts(), outliner_is_element_in_view(), blender::RNA_id_pointer_create(), tree_element_cast(), TREESTORE, TSELEM_OPEN, UI_UNIT_X, UI_UNIT_Y, blender::ARegion::v2d, and blender::x.
Referenced by draw_outliner(), and outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 2031 of file outliner_draw.cc.
References blender::ui::BUT_REDALERT, blender::blender::StringRefBase::is_empty(), blender::ed::outliner::TreeElementOverridesProperty::is_rna_path_valid, blender::ui::Label, OL_RNA_COL_SIZEX, outliner_draw_overrides_rna_buts(), outliner_is_element_in_view(), blender::ed::outliner::TreeElementOverridesProperty::override_rna_prop, blender::ed::outliner::TreeElementOverridesProperty::override_rna_ptr, blender::PROP_ENUM, blender::ed::outliner::TreeElementOverridesProperty::rna_path, blender::RNA_property_type(), blender::round_fl_to_int(), tree_element_cast(), TREESTORE, TSELEM_OPEN, blender::U, UI_SCALE_FAC, UI_UNIT_Y, blender::ARegion::v2d, and blender::x.
Referenced by draw_outliner(), and outliner_draw_overrides_rna_buts().
|
static |
Definition at line 1174 of file outliner_draw.cc.
References blender::ed::outliner::RestrictProperties::base_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::base_hide_viewport, blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::BLI_assert(), blender::BONE_HIDDEN_A, blender::ed::outliner::RestrictProperties::bone_hide_viewport, blender::BONE_UNSELECTABLE, blender::ui::BUT_DRAG_LOCK, blender::ui::BUT_ICON_REVERSE, blender::ui::BUT_INACTIVE, blender::ed::outliner::RestrictProperties::collection_hide_render, blender::ed::outliner::RestrictPropertiesActive::collection_hide_render, blender::ed::outliner::RestrictProperties::collection_hide_select, blender::ed::outliner::RestrictPropertiesActive::collection_hide_select, blender::ed::outliner::RestrictProperties::collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::collection_hide_viewport, blender::ed::outliner::RestrictProperties::constraint_enable, blender::ed::outliner::RestrictPropertiesActive::constraint_enable, blender::View2D::cur, blender::Object::data, ELEM, blender::bGPDlayer::flag, blender::Bone::flag, blender::EditBone::flag, blender::SpaceOutliner::flag, blender::GP_LAYER_HIDE, blender::GP_LAYER_LOCKED, blender::ui::IconToggle, blender::ui::IconToggleN, blender::bArmature::id, blender::Object::id, blender::Scene::id, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::RestrictProperties::initialized, layer, blender::ed::outliner::RestrictProperties::layer_collection_exclude, blender::ed::outliner::RestrictProperties::layer_collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::layer_collection_hide_viewport, blender::ed::outliner::RestrictProperties::layer_collection_holdout, blender::ed::outliner::RestrictPropertiesActive::layer_collection_holdout, blender::ed::outliner::RestrictProperties::layer_collection_indirect_only, blender::ed::outliner::RestrictPropertiesActive::layer_collection_indirect_only, blender::ed::outliner::RestrictProperties::modifier_show_render, blender::ed::outliner::RestrictPropertiesActive::modifier_show_render, blender::ed::outliner::RestrictProperties::modifier_show_viewport, blender::ed::outliner::RestrictPropertiesActive::modifier_show_viewport, node, blender::OB_GREASE_PENCIL, OB_TYPE_IS_GEOMETRY, blender::ed::outliner::RestrictProperties::object_hide_render, blender::ed::outliner::RestrictPropertiesActive::object_hide_render, blender::ed::outliner::RestrictProperties::object_hide_select, blender::ed::outliner::RestrictPropertiesActive::object_hide_select, blender::ed::outliner::RestrictProperties::object_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::object_hide_viewport, blender::ed::outliner::RestrictProperties::object_holdout, blender::ed::outliner::RestrictPropertiesActive::object_holdout, blender::ed::outliner::RestrictProperties::object_indirect_only, blender::ed::outliner::RestrictPropertiesActive::object_indirect_only, outliner__base_set_flag_recursive_fn(), outliner__object_set_flag_recursive_fn(), outliner_collection_from_tree_element(), outliner_draw_restrictbuts(), outliner_is_collection_tree_element(), outliner_restrict_properties_collection_set(), outliner_right_columns_width(), blender::SpaceOutliner::outlinevis, restrictbutton_bone_select_fn(), restrictbutton_bone_visibility_fn(), restrictbutton_ebone_select_fn(), restrictbutton_ebone_visibility_fn(), restrictbutton_gp_layer_flag_fn(), restrictbutton_r_lay_fn(), blender::RNA_id_pointer_create(), blender::RNA_pointer_create_discrete(), blender::RNA_property_boolean_get(), blender::RNA_struct_type_find_property(), scenes__collection_set_flag_recursive_fn(), blender::SpaceOutliner::show_restrict_flags, blender::SO_RESTRICT_ENABLE, blender::SO_RESTRICT_HIDE, blender::SO_RESTRICT_HOLDOUT, blender::SO_RESTRICT_INDIRECT_ONLY, blender::SO_RESTRICT_RENDER, blender::SO_RESTRICT_SELECT, blender::SO_RESTRICT_VIEWPORT, blender::SO_SCENES, blender::SO_USERS_COLUMN, blender::SO_VIEW_LAYER, TE_CHILD_NOT_IN_COLLECTION, TIP_, tree_element_cast(), TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_MODIFIER, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SOME_ID, TSELEM_OPEN, blender::Object::type, blender::TreeStoreElem::type, UI_UNIT_X, UI_UNIT_Y, blender::ARegion::v2d, V2D_SCROLL_WIDTH, view_layer__collection_set_flag_recursive_fn(), view_layer__layer_collection_set_flag_recursive_fn(), blender::VIEW_LAYER_RENDER, blender::rctf::xmax, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by draw_outliner(), and outliner_draw_restrictbuts().
|
static |
Definition at line 2211 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::ui::BUT_DISABLED, blender::ed::outliner::TreeElement::index, OL_RNA_COL_SIZEX, outliner_draw_rnabuts(), outliner_is_element_in_view(), blender::PROP_ENUM, blender::PROP_POINTER, blender::RNA_property_type(), tree_element_cast(), TREESTORE, TSELEM_OPEN, UI_UNIT_Y, blender::ARegion::v2d, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner(), and outliner_draw_rnabuts().
|
static |
Definition at line 2191 of file outliner_draw.cc.
References blender::View2D::cur, blender::GPU_line_width(), blender::GPU_PRIM_LINES, blender::GPU_SHADER_3D_UNIFORM_COLOR, blender::GPU_vertformat_attr_add(), blender::immBegin(), blender::immBindBuiltinProgram(), blender::immEnd(), blender::immUnbindProgram(), blender::immUniformThemeColorShadeAlpha(), blender::immVertex2f(), blender::immVertexFormat(), outliner_draw_separator(), blender::TH_BACK, blender::ARegion::v2d, blender::x, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by draw_outliner(), and outliner_draw_separator().
|
static |
Definition at line 3546 of file outliner_draw.cc.
References blender::View2D::cur, blender::GPU_PRIM_LINES, blender::GPU_SHADER_3D_UNIFORM_COLOR, blender::GPU_vertformat_attr_add(), blender::immBegin(), blender::immBindBuiltinProgram(), blender::immEnd(), blender::immRectf(), blender::immThemeColorShadeAlpha(), blender::immUnbindProgram(), blender::immVertex2f(), blender::immVertexFormat(), outliner_draw_struct_marks(), blender::TH_BACK, TREESTORE, blender::TSE_RNA_STRUCT, TSELEM_OPEN, blender::TreeStoreElem::type, UI_UNIT_Y, blender::ARegion::v2d, and blender::rctf::xmax.
Referenced by outliner_draw_struct_marks(), and outliner_draw_tree().
|
static |
Definition at line 3693 of file outliner_draw.cc.
References blender::BLI_rcti_size_x(), CLAMP_MIN, blender::SpaceOutliner::filter, blender::ed::outliner::TreeElement::flag, blender::GPU_blend(), blender::GPU_BLEND_ALPHA, blender::GPU_scissor(), blender::GPU_scissor_get(), blender::View2D::mask, OL_Y_OFFSET, outliner_draw_hierarchy_lines(), outliner_draw_highlights(), outliner_draw_struct_marks(), outliner_draw_tree(), outliner_draw_tree_element(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::runtime, blender::SO_DATA_API, blender::SO_FILTER_NO_COLLECTION, blender::SO_FILTER_NO_VIEW_LAYERS, blender::SO_VIEW_LAYER, TE_DRAGGING, blender::View2D::tot, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::U, UI_FSTYLE_WIDGET, UI_UNIT_X, UI_UNIT_Y, UNPACK4, blender::ARegion::v2d, blender::ARegion::winy, and blender::rctf::ymax.
Referenced by draw_outliner(), and outliner_draw_tree().
|
static |
Definition at line 3162 of file outliner_draw.cc.
References blender::BASE_SELECTED, blender::BKE_image_has_packedfile(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeViewContext::bmain, blender::View2D::cur, blender::ed::outliner::TreeElement::directdata, ELEM, element_should_draw_faded(), blender::Collection::exporters, blender::Base::flag, blender::ed::outliner::TreeElement::flag, blender::TreeStoreElem::flag, blender::ui::fontstyle_draw_simple(), blender::ui::fontstyle_string_width(), blender::ui::theme::get_color_3ubv(), blender::ui::theme::get_color_4fv(), blender::ui::theme::get_color_4ubv(), blender::ui::theme::get_color_blend_3ubv(), blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::GPU_blend(), blender::GPU_BLEND_ALPHA, blender::GPU_BLEND_NONE, blender::GS(), blender::ui::icon_draw_alpha(), blender::ui::icon_from_library(), blender::TreeStoreElem::id, blender::ID_IM, blender::ID_OB, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, blender::Collection::importer, is_object_data_in_editmode(), blender::ed::outliner::TreeElement::name, blender::ID::name, blender::ed::outliner::TreeViewContext::obact, OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, outliner_draw_active_indicator(), outliner_draw_iconrow(), outliner_draw_tree_element(), outliner_icon_background_colors(), outliner_set_subtree_coords(), blender::RNA_struct_is_ID(), blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::TreeElement::subtree, TE_ACTIVE, TE_DRAGGING, TE_PRETEND_HAS_CHILDREN, blender::TH_ACTIVE_OBJECT, blender::TH_BACK, blender::TH_EDITED_OBJECT, blender::TH_SELECTED_OBJECT, blender::TH_TEXT, blender::TH_TEXT_HI, tree_element_active_state_get(), tree_element_cast(), tree_element_type_active_state_get(), TREESTORE, blender::TSE_HIGHLIGHTED_ICON, blender::TSE_ID_BASE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_NODE_TREE, blender::TSE_R_LAYER, blender::TSE_RNA_ARRAY_ELEM, blender::TSE_RNA_PROPERTY, blender::TSE_SOME_ID, blender::TSE_TEXTBUT, blender::TSE_VIEW_COLLECTION_BASE, tselem_draw_icon(), TSELEM_OPEN, blender::PointerRNA::type, blender::TreeStoreElem::type, UI_UNIT_X, UI_UNIT_Y, blender::ARegion::v2d, blender::ed::outliner::TreeViewContext::view_layer, blender::ed::outliner::TreeElement::xend, blender::rctf::xmax, blender::ed::outliner::TreeElement::xs, blender::rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_tree(), and outliner_draw_tree_element().
|
static |
Definition at line 1944 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::BLI_str_format_integer_unit(), blender::ui::But, blender::ui::BUT_DRAG_LOCK, blender::ui::button_disable(), blender::View2D::cur, ELEM, blender::ui::theme::get_color_4ubv(), blender::GS(), blender::ed::outliner::UserTooltip_Store::has_fake_user, blender::ui::IconToggle, blender::TreeStoreElem::id, ID_FAKE_USERS, blender::ID_FLAG_FAKEUSER, ID_IS_LINKED, blender::ID_OB, blender::ID_TAG_EXTRAUSER, blender::ed::outliner::UserTooltip_Store::is_linked, blender::MEM_delete_void(), blender::MEM_new_uninitialized(), OL_TOG_USER_BUTS_USERS, outliner_draw_userbuts(), outliner_is_element_in_view(), blender::SpaceOutliner::outlinevis, blender::ed::outliner::UserTooltip_Store::real_users, blender::RNA_id_pointer_create(), blender::SO_SCENES, blender::SO_VIEW_LAYER, blender::TH_REDALERT, TIP_, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SOME_ID, blender::TreeStoreElem::type, UI_UNIT_X, UI_UNIT_Y, user_tooltip_func(), blender::ARegion::v2d, V2D_SCROLL_WIDTH, blender::rctf::xmax, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner(), and outliner_draw_userbuts().
|
static |
Definition at line 2547 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::blender::StringRefBase::is_empty(), outliner_draw_get_warning_tree_element(), outliner_draw_warning_column(), outliner_draw_warning_tree_element(), and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner(), and outliner_draw_warning_column().
|
static |
Definition at line 2520 of file outliner_draw.cc.
References blender::ui::BUT_UNDO, blender::ui::IconToggle, blender::ui::NoneOrStatus, outliner_draw_warning_tree_element(), blender::SpaceOutliner::outlinevis, blender::SO_SCENES, UI_UNIT_X, and UI_UNIT_Y.
Referenced by outliner_draw_warning_column(), and outliner_draw_warning_tree_element().
|
static |
Definition at line 2208 of file outliner_edit.cc.
References C, blender::CTX_wm_space_outliner(), do_outliner_drivers_editop(), DRIVERS_EDITMODE_ADD, NC_ANIMATION, ND_FCURVES_ORDER, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_drivers_addsel_exec(), blender::wmOperator::reports, and blender::WM_event_add_notifier().
Referenced by outliner_drivers_addsel_exec(), and OUTLINER_OT_drivers_add_selected().
|
static |
Definition at line 2247 of file outliner_edit.cc.
References C, blender::CTX_wm_space_outliner(), do_outliner_drivers_editop(), DRIVERS_EDITMODE_REMOVE, ND_KEYS, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_drivers_deletesel_exec(), blender::wmOperator::reports, and blender::WM_event_add_notifier().
Referenced by outliner_drivers_deletesel_exec(), and OUTLINER_OT_drivers_delete_selected().
|
static |
Definition at line 95 of file outliner_dragdrop.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::wmEvent::mval, outliner_drop_find(), outliner_dropzone_find(), blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_drop_find(), outliner_ID_drop_find(), parent_clear_poll(), parent_drop_invoke(), and parent_drop_poll().
|
static |
Definition at line 241 of file outliner_dragdrop.cc.
References C, blender::COLLECTION_IS_MASTER, blender::Collection::flag, blender::TreeStoreElem::flag, is_collection_element(), is_object_element(), outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_collection_find(), outliner_drop_insert_find(), TE_INSERT_INTO, TREESTORE, and blender::TSE_SELECTED.
Referenced by collection_drop_init(), and outliner_drop_insert_collection_find().
|
static |
Definition at line 117 of file outliner_dragdrop.cc.
References BLI_assert_unreachable, C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), outliner_drop_insert_find(), outliner_find_item_at_y(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, TSELEM_OPEN, UI_UNIT_Y, blender::ARegion::v2d, blender::ui::view2d_region_to_view(), blender::ARegion::winrct, blender::rcti::xmin, blender::rcti::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by datastack_drop_init(), outliner_drop_insert_collection_find(), and outliner_drop_insert_find().
| void blender::ed::outliner::outliner_dropboxes | ( | ) |
Region drop-box definition.
Definition at line 1917 of file outliner_dragdrop.cc.
References collection_drop_poll(), collection_drop_tooltip(), datastack_drop_poll(), datastack_drop_tooltip(), material_drop_poll(), outliner_dropboxes(), parent_clear_poll(), parent_drop_poll(), blender::RGN_TYPE_WINDOW, scene_drop_poll(), blender::SPACE_OUTLINER, blender::WM_dropbox_add(), and blender::WM_dropboxmap_find().
Referenced by blender::ED_spacetype_outliner(), and outliner_dropboxes().
|
static |
Definition at line 59 of file outliner_dragdrop.cc.
References outliner_dropzone_element(), blender::ed::outliner::TreeElement::subtree, TREESTORE, blender::TSE_CLOSED, UI_UNIT_X, UI_UNIT_Y, blender::ed::outliner::TreeElement::xend, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_dropzone_element(), and outliner_dropzone_find().
|
static |
Definition at line 82 of file outliner_dragdrop.cc.
References outliner_dropzone_element(), outliner_dropzone_find(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by outliner_drop_find(), and outliner_dropzone_find().
Definition at line 455 of file space_outliner.cc.
References outliner_duplicate(), blender::SpaceOutliner::runtime, blender::SpaceOutliner::sync_select_dirty, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::SpaceOutliner::treestore, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by blender::ED_spacetype_outliner(), and outliner_duplicate().
|
static |
Definition at line 2178 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::next, outliner_element_find_successor_in_parents(), and blender::ed::outliner::TreeElement::parent.
Referenced by outliner_element_find_successor_in_parents(), and outliner_find_next_element().
|
static |
Definition at line 1051 of file outliner_tree.cc.
References blender::ID_OB, blender::ed::outliner::TreeElement::idcode, outliner_element_is_collection_or_object(), outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::parent, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_element_is_collection_or_object(), and outliner_extract_children_from_subtree().
|
static |
Definition at line 877 of file outliner_tree.cc.
References blender::BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, blender::BASE_SELECTABLE, blender::BASE_SELECTED, blender::BKE_view_layer_active_base_get(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::BLI_assert(), blender::Object::data, blender::ed::outliner::TreeElement::directdata, blender::Base::flag, blender::TreeStoreElem::id, blender::ID_KE, blender::ID_MA, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::OB_ARMATURE, blender::OB_CAMERA, blender::OB_EMPTY, blender::OB_GREASE_PENCIL, blender::OB_LAMP, blender::OB_MESH, blender::Base::object, outliner_element_visible_get(), blender::ed::outliner::TreeElement::parent, SO_FILTER_ANY, blender::SO_FILTER_NO_ARMATURE_BONE_COLLECTION, blender::SO_FILTER_NO_CHILDREN, blender::SO_FILTER_NO_GREASE_PENCIL_EFFECTS, blender::SO_FILTER_NO_OB_ANIMATION, blender::SO_FILTER_NO_OB_ARMATURE, blender::SO_FILTER_NO_OB_CAMERA, blender::SO_FILTER_NO_OB_CONSTRAINTS, blender::SO_FILTER_NO_OB_CONTENT, blender::SO_FILTER_NO_OB_DATA, blender::SO_FILTER_NO_OB_DEFGROUP, blender::SO_FILTER_NO_OB_EMPTY, blender::SO_FILTER_NO_OB_GREASE_PENCIL, blender::SO_FILTER_NO_OB_LAMP, blender::SO_FILTER_NO_OB_MATERIAL, blender::SO_FILTER_NO_OB_MESH, blender::SO_FILTER_NO_OB_MODIFIERS, blender::SO_FILTER_NO_OB_OTHERS, blender::SO_FILTER_NO_OB_SHAPE_KEYS, blender::SO_FILTER_NO_POSE_BONES, SO_FILTER_OB_STATE, blender::SO_FILTER_OB_STATE_ACTIVE, blender::SO_FILTER_OB_STATE_INVERSE, blender::SO_FILTER_OB_STATE_SELECTABLE, blender::SO_FILTER_OB_STATE_SELECTED, blender::SO_FILTER_OB_STATE_VISIBLE, SO_FILTER_OB_TYPE, TREESTORE, blender::TSE_ANIM_DATA, blender::TSE_BONE_COLLECTION_BASE, blender::TSE_CONSTRAINT_BASE, blender::TSE_DEFGROUP_BASE, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_MODIFIER_BASE, blender::TSE_POSE_BASE, blender::TSE_SOME_ID, blender::Object::type, and blender::TreeStoreElem::type.
Referenced by outliner_element_visible_get(), and outliner_filter_subtree().
|
static |
Definition at line 836 of file outliner_tree.cc.
References blender::ED_outliner_support_searching(), blender::SpaceOutliner::filter, blender::SpaceOutliner::filter_state, outliner_exclude_filter_get(), blender::SpaceOutliner::search_string, blender::SO_FILTER_NO_OBJECT, blender::SO_FILTER_OB_ACTIVE, blender::SO_FILTER_OB_ALL, blender::SO_FILTER_OB_HIDDEN, blender::SO_FILTER_OB_SELECTABLE, blender::SO_FILTER_OB_SELECTED, SO_FILTER_OB_STATE, blender::SO_FILTER_OB_STATE_ACTIVE, blender::SO_FILTER_OB_STATE_SELECTABLE, blender::SO_FILTER_OB_STATE_SELECTED, blender::SO_FILTER_OB_STATE_VISIBLE, SO_FILTER_OB_TYPE, blender::SO_FILTER_OB_VISIBLE, blender::SO_FILTER_SEARCH, and SUPPORT_FILTER_OUTLINER.
Referenced by outliner_exclude_filter_get(), outliner_filter_tree(), and outliner_requires_rebuild_on_select_or_active_change().
|
static |
Definition at line 1067 of file outliner_tree.cc.
References blender::BLI_insertlinkafter(), blender::BLI_remlink(), blender::element, outliner_element_is_collection_or_object(), outliner_extract_children_from_subtree(), outliner_free_tree_element(), blender::ed::outliner::TreeElement::parent, and blender::ed::outliner::TreeElement::prev.
Referenced by outliner_extract_children_from_subtree(), and outliner_filter_subtree().
|
static |
Definition at line 1035 of file outliner_tree.cc.
References blender::ed::outliner::TreeElement::name, outliner_filter_has_name(), and blender::SO_FIND_CASE_SENSITIVE.
Referenced by outliner_filter_has_name(), and outliner_filter_subtree().
|
static |
Definition at line 1092 of file outliner_tree.cc.
References blender::TreeStoreElem::flag, blender::ed::outliner::TreeElement::next, outliner_element_visible_get(), outliner_extract_children_from_subtree(), outliner_filter_has_name(), outliner_filter_subtree(), outliner_free_tree_element(), blender::SpaceOutliner::search_flags, blender::SO_FILTER_SEARCH, blender::ed::outliner::TreeElement::subtree, TREESTORE, blender::TSE_SEARCHMATCH, and TSELEM_OPEN.
Referenced by outliner_filter_subtree(), and outliner_filter_tree().
|
static |
Definition at line 1159 of file outliner_tree.cc.
References blender::BLI_strncpy_ensure_pad(), outliner_exclude_filter_get(), outliner_filter_subtree(), outliner_filter_tree(), blender::SpaceOutliner::runtime, blender::SpaceOutliner::search_flags, blender::SpaceOutliner::search_string, blender::SO_FIND_COMPLETE, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by outliner_build_tree(), and outliner_filter_tree().
| TreeElement * blender::ed::outliner::outliner_find_editbone | ( | ListBaseT< TreeElement > * | lb, |
| const EditBone * | ebone ) |
Definition at line 260 of file outliner_utils.cc.
References ELEM, outliner_find_editbone(), TREESTORE, blender::TSE_EBONE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_find_editbone(), and outliner_show_active_get_element().
| TreeElement * blender::ed::outliner::outliner_find_element_with_flag | ( | const ListBaseT< TreeElement > * | lb, |
| short | flag ) |
Find first tree element in tree with matching tree-store flag.
Definition at line 402 of file outliner_utils.cc.
References outliner_find_element_with_flag(), and TREESTORE.
Referenced by collection_new_exec(), do_outliner_range_select(), find_walk_select_start_element(), get_target_element(), outliner_find_element_with_flag(), outliner_item_rename_find_active(), and outliner_main_region_context().
|
static |
Find the first element that passes a test starting from a reference vertical coordinate
If the element that is in the position is not what we are looking for, keep looking for its children, siblings, and eventually, aunts, cousins, distant families, ... etc.
Basically we keep going up and down the outliner tree from that point forward, until we find what we are looking for. If we are past the visible range and we can't find a valid element we return nullptr.
Definition at line 760 of file outliner_tree.cc.
References blender::SpaceOutliner::filter, blender::ed::outliner::TreeElement::next, outliner_find_first_desired_element_at_y(), outliner_find_first_desired_element_at_y_recursive(), outliner_find_item_at_y(), blender::SpaceOutliner::outlinevis, blender::ed::outliner::TreeElement::parent, blender::SpaceOutliner::runtime, blender::SO_FILTER_NO_COLLECTION, blender::SO_VIEW_LAYER, test_collection_callback(), test_object_callback(), blender::ed::outliner::SpaceOutliner_Runtime::tree, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_find_first_desired_element_at_y(), and outliner_store_scrolling_position().
|
static |
See if TreeElement or any of its children pass the callback_test.
Definition at line 727 of file outliner_tree.cc.
References outliner_find_first_desired_element_at_y_recursive(), blender::ed::outliner::TreeElement::store_elem, blender::ed::outliner::TreeElement::subtree, and TSELEM_OPEN.
Referenced by outliner_find_first_desired_element_at_y(), and outliner_find_first_desired_element_at_y_recursive().
|
static |
Definition at line 599 of file outliner_collections.cc.
References blender::data, outliner_find_first_selected_collection(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_R_LAYER, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by outliner_active_collection(), and outliner_find_first_selected_collection().
|
static |
Definition at line 489 of file outliner_collections.cc.
References blender::data, blender::ed::outliner::TreeElement::directdata, outliner_find_first_selected_layer_collection(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_R_LAYER, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by outliner_active_layer_collection(), and outliner_find_first_selected_layer_collection().
| TreeElement * blender::ed::outliner::outliner_find_id | ( | SpaceOutliner * | space_outliner, |
| ListBaseT< TreeElement > * | lb, | ||
| const ID * | id, | ||
| TreeElementFlag | exclude_flags ) |
Find tree-store that refers to given ID.
Definition at line 208 of file outliner_utils.cc.
References blender::PointerRNA::data, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::TreeStoreElem::id, outliner_find_id(), blender::RNA_struct_is_ID(), tree_element_cast(), TREESTORE, blender::TSE_RNA_STRUCT, blender::TSE_SOME_ID, blender::PointerRNA::type, and blender::TreeStoreElem::type.
Referenced by outliner_find_id(), outliner_show_active_get_element(), and parent_drop_set_parents().
| TreeElement * blender::ed::outliner::outliner_find_item_at_x_in_row | ( | const SpaceOutliner * | space_outliner, |
| TreeElement * | parent_te, | ||
| float | view_co_x, | ||
| bool * | r_is_merged_icon, | ||
| bool * | r_is_over_icon ) |
Collapsed items can show their children as click-able icons. This function tries to find such an icon that represents the child item at x-coordinate view_co_x (view-space).
Definition at line 155 of file outliner_utils.cc.
References outliner_find_item_at_x_in_row(), outliner_find_item_at_x_in_row_recursive(), outliner_item_is_co_over_icon(), TREESTORE, blender::TSE_R_LAYER, TSELEM_OPEN, and blender::TreeStoreElem::type.
Referenced by outliner_find_item_at_x_in_row(), outliner_highlight_update_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 124 of file outliner_utils.cc.
References blender::ed::outliner::TreeElement::flag, blender::ed::outliner::TreeElement::next, outliner_find_item_at_x_in_row_recursive(), blender::ed::outliner::TreeElement::subtree, TE_ICONROW, TE_ICONROW_MERGED, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_find_item_at_x_in_row(), and outliner_find_item_at_x_in_row_recursive().
| TreeElement * blender::ed::outliner::outliner_find_item_at_y | ( | const SpaceOutliner * | space_outliner, |
| const ListBaseT< TreeElement > * | tree, | ||
| float | view_co_y ) |
Try to find an item under y-coordinate view_co_y (view-space).
Definition at line 89 of file outliner_utils.cc.
References blender::ed::outliner::TreeElement::next, outliner_find_item_at_y(), TREESTORE, TSELEM_OPEN, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by blender::ED_outliner_give_base_under_cursor(), blender::ED_outliner_give_rna_under_cursor(), outliner_box_select_invoke(), outliner_drop_insert_find(), outliner_find_first_desired_element_at_y(), outliner_find_item_at_y(), outliner_highlight_update_invoke(), outliner_item_do_activate_from_cursor(), outliner_item_drag_element_find(), outliner_item_openclose_invoke(), outliner_item_openclose_modal(), outliner_item_rename_find_hovered(), and outliner_operation_invoke().
|
static |
Definition at line 2193 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::next, outliner_element_find_successor_in_parents(), outliner_find_next_element(), blender::ed::outliner::TreeElement::subtree, TREESTORE, and TSELEM_OPEN.
Referenced by do_outliner_select_walk(), and outliner_find_next_element().
| bPoseChannel * blender::ed::outliner::outliner_find_parent_bone | ( | TreeElement * | te, |
| TreeElement ** | r_bone_te ) |
Definition at line 1280 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, outliner_find_parent_bone(), blender::ed::outliner::TreeElement::parent, TREESTORE, blender::TSE_POSE_CHANNEL, and blender::TreeStoreElem::type.
Referenced by outliner_find_parent_bone(), outliner_item_drag_drop_invoke(), and outliner_set_properties_tab().
| TreeElement * blender::ed::outliner::outliner_find_parent_element | ( | ListBaseT< TreeElement > * | lb, |
| TreeElement * | parent_te, | ||
| const TreeElement * | child_te ) |
Find parent element of te.
Definition at line 191 of file outliner_utils.cc.
References outliner_find_parent_element().
Referenced by collection_drop_init(), collection_drop_invoke(), and outliner_find_parent_element().
| TreeElement * blender::ed::outliner::outliner_find_posechannel | ( | ListBaseT< TreeElement > * | lb, |
| const bPoseChannel * | pchan ) |
Definition at line 242 of file outliner_utils.cc.
References ELEM, outliner_find_posechannel(), TREESTORE, blender::TSE_POSE_BASE, blender::TSE_POSE_CHANNEL, and blender::TreeStoreElem::type.
Referenced by outliner_find_posechannel(), and outliner_show_active_get_element().
|
static |
Definition at line 2164 of file outliner_select.cc.
References outliner_find_previous_element(), outliner_find_rightmost_visible_child(), blender::ed::outliner::TreeElement::parent, and blender::ed::outliner::TreeElement::prev.
Referenced by do_outliner_select_walk(), and outliner_find_previous_element().
|
static |
Definition at line 2149 of file outliner_select.cc.
References outliner_find_rightmost_visible_child(), blender::ed::outliner::TreeElement::subtree, TREESTORE, and TSELEM_OPEN.
Referenced by outliner_find_previous_element(), and outliner_find_rightmost_visible_child().
| TreeElement * blender::ed::outliner::outliner_find_tree_element | ( | ListBaseT< TreeElement > * | lb, |
| const TreeStoreElem * | store_elem ) |
Find specific item from the trees-tore.
Definition at line 176 of file outliner_utils.cc.
References outliner_find_tree_element().
Referenced by datastack_drop_reorder(), namebutton_fn(), outliner_find_tree_element(), outliner_mode_toggle_fn(), and outliner_restore_scrolling_position().
| bool blender::ed::outliner::outliner_flag_flip | ( | ListBaseT< TreeElement > & | lb, |
| const eTreeStoreElem_Flag | flag ) |
Definition at line 1389 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), blender::TreeStoreElem::flag, outliner_flag_flip(), and TREESTORE.
| bool blender::ed::outliner::outliner_flag_flip | ( | SpaceOutliner & | space_outliner, |
| const eTreeStoreElem_Flag | flag ) |
Definition at line 1384 of file outliner_edit.cc.
References outliner_flag_flip(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by outliner_flag_flip(), outliner_flag_flip(), and outliner_select_all_exec().
| int blender::ed::outliner::outliner_flag_is_any_test | ( | ListBaseT< TreeElement > * | lb, |
| eTreeStoreElem_Flag | flag, | ||
| const int | curlevel ) |
Definition at line 1337 of file outliner_edit.cc.
References blender::TreeStoreElem::flag, outliner_flag_is_any_test(), and TREESTORE.
Referenced by outliner_flag_is_any_test(), outliner_item_openclose_invoke(), outliner_one_level_exec(), outliner_select_all_exec(), and outliner_toggle_expanded_exec().
| bool blender::ed::outliner::outliner_flag_set | ( | ListBaseT< TreeElement > & | lb, |
| const eTreeStoreElem_Flag | flag, | ||
| const short | set ) |
Definition at line 1362 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), blender::TreeStoreElem::flag, outliner_flag_set(), and TREESTORE.
| bool blender::ed::outliner::outliner_flag_set | ( | SpaceOutliner & | space_outliner, |
| eTreeStoreElem_Flag | flag, | ||
| short | set ) |
Set or unset flag for all outliner elements in lb and sub-trees.
Definition at line 1355 of file outliner_edit.cc.
References outliner_flag_set(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by collection_drop_poll(), datastack_drop_poll(), do_outliner_range_select(), outliner_box_select_exec(), outliner_deactivate(), outliner_flag_set(), outliner_flag_set(), outliner_highlight_update_invoke(), outliner_item_do_activate_from_cursor(), outliner_item_drag_drop_invoke(), outliner_item_openclose(), outliner_item_select(), outliner_select_all_exec(), outliner_toggle_expanded_exec(), and parent_drop_poll().
|
static |
Definition at line 514 of file space_outliner.cc.
References BKE_LIB_FOREACHID_PROCESS_ID, blender::BKE_lib_query_foreachid_process_flags_get(), blender::BLI_mempool_iternew(), blender::BLI_mempool_iterstep(), blender::data, blender::ID_FLAG_EMBEDDED_DATA, blender::IDWALK_CB_EMBEDDED_NOT_OWNING, blender::IDWALK_CB_NOP, blender::IDWALK_CB_WRITEFILE_IGNORE, blender::IDWALK_NO_ORIG_POINTERS_ACCESS, blender::IDWALK_READONLY, outliner_foreach_id(), blender::SO_TREESTORE_REBUILD, blender::SpaceOutliner::storeflag, blender::SpaceOutliner::treestore, and TSE_IS_REAL_ID.
Referenced by blender::ED_spacetype_outliner(), and outliner_foreach_id().
|
static |
Definition at line 440 of file space_outliner.cc.
References blender::BLI_mempool_destroy(), outliner_free(), outliner_free_tree(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::SpaceOutliner::treestore.
Referenced by blender::ED_spacetype_outliner(), and outliner_free().
| void blender::ed::outliner::outliner_free_tree | ( | ListBaseT< TreeElement > * | tree | ) |
Definition at line 157 of file outliner_tree.cc.
References blender::element, outliner_free_tree(), and outliner_free_tree_element().
Referenced by outliner_build_tree(), outliner_cleanup_tree(), outliner_free(), outliner_free_tree(), and outliner_free_tree_element().
| void blender::ed::outliner::outliner_free_tree_element | ( | TreeElement * | element, |
| ListBaseT< TreeElement > * | parent_subtree ) |
Free element and its sub-tree and remove its link in parent_subtree.
| parent_subtree | Sub-tree of the parent element, so the list containing element. |
Definition at line 170 of file outliner_tree.cc.
References blender::BLI_assert(), blender::BLI_findindex(), blender::BLI_remlink(), blender::element, outliner_free_tree(), outliner_free_tree_element(), and TE_FREE_NAME.
Referenced by blender::ed::outliner::TreeDisplayOverrideLibraryHierarchies::build_tree(), outliner_extract_children_from_subtree(), outliner_filter_subtree(), outliner_free_tree(), and outliner_free_tree_element().
|
static |
Definition at line 277 of file outliner_dragdrop.cc.
References blender::BLI_findindex(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::TreeElement::index, blender::ed::outliner::TreeElement::next, outliner_get_insert_index(), blender::ed::outliner::TreeElement::prev, TE_INSERT_AFTER, and TE_INSERT_BEFORE.
Referenced by datastack_drop_reorder(), and outliner_get_insert_index().
| bool blender::ed::outliner::outliner_has_element_warnings | ( | const SpaceOutliner & | space_outliner | ) |
Definition at line 27 of file outliner_query.cc.
References outliner_has_element_warnings(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by draw_outliner(), and outliner_has_element_warnings().
|
static |
Definition at line 371 of file space_outliner.cc.
References C, blender::ED_region_header(), and outliner_header_region_draw().
Referenced by blender::ED_spacetype_outliner(), and outliner_header_region_draw().
|
static |
Definition at line 376 of file space_outliner.cc.
References outliner_header_region_free().
Referenced by blender::ED_spacetype_outliner(), and outliner_header_region_free().
|
static |
Definition at line 366 of file space_outliner.cc.
References blender::ED_region_header_init(), and outliner_header_region_init().
Referenced by blender::ED_spacetype_outliner(), and outliner_header_region_init().
|
static |
Definition at line 378 of file space_outliner.cc.
References blender::wmNotifier::action, blender::wmNotifier::category, blender::wmNotifier::data, blender::ED_region_tag_redraw(), NA_ACTIVATED, NC_SCENE, NC_SPACE, ND_KEYINGSET, ND_LAYER, ND_SPACE_OUTLINER, blender::wmRegionListenerParams::notifier, NS_LAYER_COLLECTION, outliner_header_region_listener(), blender::wmRegionListenerParams::region, and blender::wmNotifier::subtype.
Referenced by blender::ED_spacetype_outliner(), and outliner_header_region_listener().
|
static |
Definition at line 1494 of file outliner_collections.cc.
References blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::LayerCollection::collection, blender::COLLECTION_IS_MASTER, blender::data, blender::ed::outliner::TreeElement::directdata, blender::Collection::flag, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, outliner_hide_collect_data_to_edit(), TRAVERSE_CONTINUE, TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_hide_collect_data_to_edit(), and outliner_hide_exec().
|
static |
Definition at line 1528 of file outliner_collections.cc.
References blender::BASE_HIDDEN, blender::BKE_layer_collection_set_visible(), blender::BKE_view_layer_need_resync_tag(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_space_outliner(), blender::data, blender::DEG_id_tag_update(), blender::Base::flag, blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_hide_collect_data_to_edit(), outliner_hide_exec(), outliner_tree_traverse(), blender::wmOperator::ptr, blender::RNA_boolean_get(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::WM_main_add_notifier().
Referenced by outliner_hide_exec(), and OUTLINER_OT_hide().
|
static |
Definition at line 110 of file outliner_edit.cc.
References C, blender::CTX_wm_manager(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_region_tag_redraw_no_rebuild(), blender::ED_screen_area_active(), blender::TreeStoreElem::flag, blender::wmEvent::mval, blender::OPERATOR_PASS_THROUGH, outliner_find_item_at_x_in_row(), outliner_find_item_at_y(), outliner_flag_set(), outliner_highlight_update_invoke(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::store_elem, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_DRAG_ANY, blender::TSE_HIGHLIGHTED, blender::TSE_HIGHLIGHTED_ANY, blender::TSE_HIGHLIGHTED_ICON, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_highlight_update_invoke(), and OUTLINER_OT_highlight_update().
|
static |
Definition at line 2845 of file outliner_draw.cc.
References blender::copy_v3_v3(), blender::ui::theme::get_color_4fv(), outliner_icon_background_colors(), and blender::TH_TEXT.
Referenced by outliner_draw_iconrow_doit(), outliner_draw_tree_element(), and outliner_icon_background_colors().
|
static |
Definition at line 995 of file outliner_edit.cc.
References blender::BKE_report(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::CTX_wm_space_outliner(), FILE_MAX, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_copybuffer_filepath_get(), outliner_id_copy_exec(), outliner_id_copy_tag(), blender::wmOperator::reports, blender::RPT_INFO, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::bke::blendfile::PartialWriteContext::write_as_copypaste_buffer().
Referenced by outliner_id_copy_exec(), and OUTLINER_OT_id_copy().
|
static |
Definition at line 970 of file outliner_edit.cc.
References ELEM, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, outliner_id_copy_tag(), outliner_id_copy_tag_id(), TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SELECTED, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_id_copy_exec(), and outliner_id_copy_tag().
|
static |
Add an ID and all of its dependencies to the copy buffer, returns true on success.
Definition at line 927 of file outliner_edit.cc.
References blender::bke::blendfile::PartialWriteContext::ADD_DEPENDENCIES, blender::BKE_idtype_get_info_from_id(), blender::BKE_reportf(), blender::IDTypeInfo::flags, blender::bke::blendfile::PartialWriteContext::id_add(), ID_IS_LINKED, ID_IS_PACKED, blender::IDTYPE_FLAGS_NO_COPY, blender::IDTYPE_FLAGS_NO_LIBLINKING, blender::IDTypeInfo::name, outliner_id_copy_tag_id(), blender::RPT_INFO, blender::bke::blendfile::PartialWriteContext::SET_CLIPBOARD_MARK, and blender::bke::blendfile::PartialWriteContext::SET_FAKE_USER.
Referenced by outliner_id_copy_tag(), and outliner_id_copy_tag_id().
|
static |
Definition at line 711 of file outliner_edit.cc.
References blender::BKE_id_multi_tagged_delete(), blender::BKE_main_id_tag_all(), blender::BLI_assert(), C, blender::ed::outliner::SceneReplaceData::can_replace(), blender::CTX_data_main(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_scene_replace_active_for_deletion(), blender::ID_TAG_DOIT, blender::ed::outliner::SceneReplaceData::is_valid(), blender::wmEvent::mval, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_id_delete_invoke(), outliner_id_delete_tag(), blender::wmOperator::reports, blender::SpaceOutliner::runtime, blender::ed::outliner::SceneReplaceData::scene_to_activate, blender::ed::outliner::SceneReplaceData::scene_to_delete, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_id_delete_invoke(), and OUTLINER_OT_id_delete().
|
static |
Definition at line 681 of file outliner_edit.cc.
References C, blender::TreeStoreElem::id, id_delete_tag(), blender::ed::outliner::TreeElement::idcode, outliner_id_delete_tag(), blender::ed::outliner::TreeElement::subtree, TREESTORE, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_id_delete_invoke(), and outliner_id_delete_tag().
|
static |
Definition at line 105 of file outliner_dragdrop.cc.
References C, blender::TreeStoreElem::id, blender::ed::outliner::TreeElement::idcode, outliner_drop_find(), outliner_ID_drop_find(), TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by material_drop_invoke(), material_drop_poll(), outliner_ID_drop_find(), scene_drop_invoke(), and scene_drop_poll().
|
static |
Definition at line 3211 of file outliner_tools.cc.
References blender::BKE_id_multi_tagged_delete(), blender::BKE_main_ensure_invariants(), blender::BKE_main_id_tag_all(), blender::BKE_report(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_manager(), blender::CTX_wm_space_outliner(), blender::ED_outliner_select_sync_from_all_tag(), blender::ED_undo_push(), get_element_operation_type(), get_target_element(), blender::ID_AC, id_delete_tag_fn(), id_fake_user_clear_fn(), id_fake_user_set_fn(), blender::ID_GR, blender::ID_IM, id_local_fn(), blender::ID_MA, id_remap_fn(), id_select_linked_fn(), blender::ID_TAG_DOIT, blender::ID_TE, blender::ID_WO, blender::wm::InvokeDefault, 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, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_do_libdata_operation(), outliner_id_operation_exec(), OUTLINER_IDOP_COPY, OUTLINER_IDOP_DELETE, OUTLINER_IDOP_FAKE_ADD, OUTLINER_IDOP_FAKE_CLEAR, OUTLINER_IDOP_LOCAL, OUTLINER_IDOP_PACK, OUTLINER_IDOP_PASTE, OUTLINER_IDOP_REMAP, OUTLINER_IDOP_RENAME, OUTLINER_IDOP_SELECT_LINKED, OUTLINER_IDOP_SINGLE, OUTLINER_IDOP_UNLINK, blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RPT_WARNING, singleuser_action_fn(), singleuser_world_fn(), TREESTORE, unlink_action_fn(), unlink_collection_fn(), unlink_material_fn(), unlink_object_fn(), unlink_texture_fn(), unlink_world_fn(), blender::WM_event_add_notifier(), and blender::WM_operator_name_call().
Referenced by outliner_id_operation_exec(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 3150 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), ELEM, get_target_element(), outliner_id_operation_item_poll(), OUTLINER_IDOP_SINGLE, outliner_operation_tree_element_poll(), blender::SpaceOutliner::outlinevis, blender::SO_SCENES, blender::SO_VIEW_LAYER, TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_item_poll(), and outliner_id_operation_itemf().
|
static |
Definition at line 3179 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), blender::ED_operator_outliner_active(), get_target_element(), blender::TreeStoreElem::id, blender::ID_IM, blender::EnumPropertyItem::identifier, outliner_id_operation_item_poll(), outliner_id_operation_itemf(), OUTLINER_IDOP_PACK, prop_id_op_types, blender::RNA_enum_item_add(), blender::RNA_enum_item_end(), TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 1040 of file outliner_edit.cc.
References blender::BKE_copybuffer_paste(), blender::BKE_report(), blender::BKE_reportf(), C, blender::FILE_ACTIVE_COLLECTION, blender::FILE_AUTOSELECT, FILE_MAX, NC_WINDOW, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_copybuffer_filepath_get(), outliner_id_paste_exec(), blender::wmOperator::reports, blender::RPT_INFO, and blender::WM_event_add_notifier().
Referenced by outliner_id_paste_exec(), and OUTLINER_OT_id_paste().
|
static |
Definition at line 1081 of file outliner_edit.cc.
References blender::BKE_id_name(), blender::BKE_idtype_idcode_is_linkable(), blender::BKE_library_ID_is_indirectly_used(), blender::BKE_report(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::CTX_data_pointer_get_type(), blender::PointerRNA::data, blender::GS(), ID_IS_LINKED, blender::wm::InvokeDefault, blender::ID::name, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_RUNNING_MODAL, outliner_id_relocate_invoke(), blender::wmOperator::reports, blender::ret, blender::RNA_int_set(), blender::RPT_ERROR_INVALID_INPUT, blender::ID::session_uid, blender::WM_operator_name_call_ptr(), blender::WM_operator_properties_create_ptr(), blender::WM_operator_properties_free(), and blender::WM_operatortype_find().
Referenced by outliner_id_relocate_invoke(), and OUTLINER_OT_id_linked_relocate().
|
static |
Definition at line 469 of file space_outliner.cc.
References blender::bke::id::IDRemapper::apply(), blender::BLI_mempool_iternew(), blender::BLI_mempool_iterstep(), blender::ED_area_tag_redraw(), blender::TreeStoreElem::id, blender::ID_REMAP_APPLY_DEFAULT, blender::ID_REMAP_RESULT_SOURCE_NOT_MAPPABLE, blender::ID_REMAP_RESULT_SOURCE_REMAPPED, blender::ID_REMAP_RESULT_SOURCE_UNASSIGNED, blender::ID_REMAP_RESULT_SOURCE_UNAVAILABLE, outliner_id_remap(), blender::SpaceOutliner::runtime, blender::SO_TREESTORE_REBUILD, blender::SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, and blender::SpaceOutliner::treestore.
Referenced by blender::ED_spacetype_outliner(), and outliner_id_remap().
|
static |
Definition at line 770 of file outliner_edit.cc.
References blender::BKE_libblock_find_session_uid(), blender::BKE_libblock_remap(), blender::BKE_main_lib_objects_recalc_all(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::CTX_wm_space_outliner(), blender::DEG_relations_tag_update(), blender::GPU_materials_free(), blender::GS(), ID_IS_EDITABLE, blender::ID_REMAP_SKIP_INDIRECT_USAGE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID::name, NC_WINDOW, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_id_remap_exec(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RNA_int_get(), blender::RPT_ERROR_INVALID_INPUT, blender::RPT_WARNING, and blender::WM_event_add_notifier().
Referenced by outliner_id_remap_exec(), and OUTLINER_OT_id_remap().
|
static |
Definition at line 821 of file outliner_edit.cc.
References C, blender::GS(), blender::TreeStoreElem::id, blender::ID::name, outliner_id_remap_find_tree_element(), blender::wmOperator::ptr, blender::RNA_enum_set(), blender::RNA_int_set(), blender::ID::session_uid, TREESTORE, blender::TSE_SOME_ID, blender::TreeStoreElem::type, UI_UNIT_Y, and y.
Referenced by outliner_id_remap_find_tree_element(), and outliner_id_remap_invoke().
|
static |
Definition at line 844 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), IFACE_, blender::wmEvent::mval, outliner_id_remap_find_tree_element(), outliner_id_remap_invoke(), blender::wmOperator::ptr, blender::RNA_property_is_set(), blender::RNA_struct_find_property(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, blender::ui::view2d_region_to_view(), and blender::WM_operator_props_dialog_popup().
Referenced by outliner_id_remap_invoke(), and OUTLINER_OT_id_remap().
|
static |
Definition at line 859 of file outliner_edit.cc.
References C, blender::wmOperator::layout, outliner_id_remap_ui(), blender::wmOperator::ptr, blender::RNA_enum_get(), blender::ui::template_ID_session_uid(), and blender::ui::Layout::use_property_split_set().
Referenced by outliner_id_remap_ui(), and OUTLINER_OT_id_remap().
| const char * blender::ed::outliner::outliner_idcode_to_plural | ( | short | idcode | ) |
Definition at line 31 of file editors/space_outliner/tree/common.cc.
References blender::BKE_idtype_idcode_to_name_plural(), outliner_idcode_to_plural(), blender::RNA_property_ui_name(), and blender::RNA_struct_type_find_property().
Referenced by blender::ed::outliner::TreeDisplayIDOrphans::build_tree(), and outliner_idcode_to_plural().
|
static |
Definition at line 453 of file space_outliner.cc.
References outliner_init().
Referenced by blender::ED_spacetype_outliner(), and outliner_init().
|
static |
Definition at line 1845 of file outliner_select.cc.
References blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::Object::mode, blender::OB_MODE_OBJECT, outliner_is_co_within_active_mode_column(), and outliner_is_co_within_mode_column().
Referenced by outliner_box_select_invoke(), outliner_is_co_within_active_mode_column(), and outliner_item_do_activate_from_cursor().
| bool blender::ed::outliner::outliner_is_co_within_mode_column | ( | SpaceOutliner * | space_outliner, |
| const float | view_mval[2] ) |
Definition at line 1836 of file outliner_select.cc.
References outliner_is_co_within_mode_column(), outliner_shows_mode_column(), and UI_UNIT_X.
Referenced by outliner_is_co_within_active_mode_column(), outliner_is_co_within_mode_column(), and outliner_item_drag_drop_invoke().
|
static |
Definition at line 1829 of file outliner_select.cc.
References blender::View2D::cur, outliner_is_co_within_restrict_columns(), outliner_right_columns_width(), blender::ARegion::v2d, and blender::rctf::xmax.
Referenced by outliner_is_co_within_restrict_columns(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 203 of file outliner_dragdrop.cc.
References blender::GS(), blender::Collection::id, blender::ID_GR, is_collection_element(), blender::ID::name, outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_is_collection_dragged_into_itself(), and blender::ed::outliner::TreeElement::parent.
Referenced by collection_drop_init(), and outliner_is_collection_dragged_into_itself().
| bool blender::ed::outliner::outliner_is_collection_tree_element | ( | const TreeElement * | te | ) |
Definition at line 57 of file outliner_collections.cc.
References ELEM, blender::ID_GR, blender::ed::outliner::TreeElement::idcode, outliner_is_collection_tree_element(), TREESTORE, blender::TSE_LAYER_COLLECTION, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_SOME_ID, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by collection_drop_tooltip(), do_item_rename(), is_collection_element(), merged_element_search_fn_recursive(), outliner_collect_objects_to_delete(), outliner_collect_selected_collections(), outliner_collect_selected_objects(), outliner_collect_selected_objects_and_collections(), outliner_collect_selected_parent_collections(), outliner_draw_restrictbuts(), outliner_element_is_collection_or_object(), outliner_is_collection_tree_element(), outliner_item_drag_drop_invoke(), outliner_sort_custom(), outliner_sync_selection_to_outliner(), test_collection_callback(), treesort_custom(), and tselem_draw_icon().
| bool blender::ed::outliner::outliner_is_element_in_view | ( | const TreeElement * | te, |
| const View2D * | v2d ) |
Check if the element is displayed within the view bounds. Doesn't check if all parents are open/uncollapsed.
Definition at line 432 of file outliner_utils.cc.
References blender::View2D::cur, outliner_is_element_in_view(), UI_UNIT_Y, blender::rctf::ymax, blender::rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_overrides_restrictbuts(), outliner_draw_overrides_rna_buts(), outliner_draw_rnabuts(), outliner_draw_userbuts(), and outliner_is_element_in_view().
| bool blender::ed::outliner::outliner_is_element_visible | ( | const TreeElement * | te | ) |
Find if element is visible in the outliner tree, i.e. if all of its parents are expanded. Doesn't check if the item is in view-bounds, for that use outliner_is_element_in_view().
Definition at line 416 of file outliner_utils.cc.
References blender::TreeStoreElem::flag, outliner_is_element_visible(), blender::ed::outliner::TreeElement::parent, TREESTORE, and blender::TSE_CLOSED.
Referenced by do_outliner_range_select(), find_walk_select_start_element(), and outliner_is_element_visible().
|
static |
Definition at line 1722 of file outliner_dragdrop.cc.
References ELEM, outliner_is_scene_collection_tree_element(), TREESTORE, blender::TSE_SCENE_COLLECTION_BASE, and blender::TSE_VIEW_COLLECTION_BASE.
Referenced by outliner_collect_selected_objects_and_collections(), and outliner_is_scene_collection_tree_element().
|
static |
Definition at line 1991 of file outliner_select.cc.
References C, blender::CTX_wm_region(), outliner_item_activate_invoke(), outliner_item_do_activate_from_cursor(), blender::wmOperator::ptr, blender::RNA_boolean_get(), and blender::WM_event_drag_start_mval().
Referenced by outliner_item_activate_invoke(), and OUTLINER_OT_item_activate().
|
static |
Action to run when clicking in the outliner,
May expend/collapse branches or activate items.
Definition at line 1864 of file outliner_select.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), do_outliner_range_select(), do_outliner_select_recursive(), blender::ED_outliner_select_sync_from_outliner(), blender::ED_region_tag_redraw(), blender::ED_region_tag_redraw_no_rebuild(), blender::TreeStoreElem::flag, merged_element_search_menu_invoke(), OL_ITEM_ACTIVATE, OL_ITEM_DESELECT, OL_ITEM_EXTEND, OL_ITEM_SELECT, OL_ITEM_SELECT_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_PASS_THROUGH, outliner_collection_get_for_recursive(), outliner_find_item_at_x_in_row(), outliner_find_item_at_y(), outliner_flag_set(), outliner_is_co_within_active_mode_column(), outliner_is_co_within_restrict_columns(), outliner_item_do_activate_from_cursor(), outliner_item_is_co_over_name_icons(), outliner_item_is_co_within_close_toggle(), outliner_item_select(), outliner_set_properties_tab(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::TSE_ACTIVE, blender::TSE_SELECTED, blender::TSE_VIEW_COLLECTION_BASE, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_item_activate_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 1765 of file outliner_dragdrop.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::data, blender::LinkData::data, datastack_drop_data_init(), blender::ed::outliner::TreeElement::directdata, blender::ED_outliner_select_sync_from_outliner(), ELEM, blender::ed::outliner::TreeElement::flag, blender::TreeStoreElem::flag, blender::wmDragID::from_parent, blender::GS(), blender::Collection::id, blender::TreeStoreElem::id, blender::wmDragID::id, blender::ID_GR, blender::ID_OB, blender::wmDrag::ids, blender::wm::InvokeDefault, blender::Scene::master_collection, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_PASS_THROUGH, outliner_collect_selected_objects_and_collections(), outliner_collection_from_tree_element(), OUTLINER_DRAG_SCOLL_OUTSIDE_PAD, outliner_find_parent_bone(), outliner_flag_set(), outliner_is_co_within_mode_column(), outliner_is_collection_tree_element(), outliner_item_drag_drop_invoke(), outliner_item_drag_element_find(), outliner_item_is_co_within_close_toggle(), outliner_tree_traverse(), blender::ed::outliner::TreeElement::parent, blender::RNA_float_set(), blender::SpaceOutliner::runtime, blender::ed::outliner::IDsSelectedData::selected_array, TE_CHILD_NOT_IN_COLLECTION, blender::ed::outliner::SpaceOutliner_Runtime::tree, tree_element_get_icon(), TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_GPENCIL_EFFECT, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_MODIFIER, blender::TSE_MODIFIER_BASE, blender::TSE_SELECTED, blender::TreeStoreElem::type, blender::ARegion::v2d, blender::ui::view2d_region_to_view(), blender::WM_drag_add_local_ID(), blender::WM_drag_data_create(), blender::WM_DRAG_DATASTACK, blender::WM_DRAG_ID, blender::WM_DRAG_NOP, blender::WM_event_drag_start_mval(), blender::WM_event_start_prepared_drag(), blender::WM_operator_name_call_ptr(), blender::WM_operator_properties_create_ptr(), blender::WM_operator_properties_free(), and blender::WM_operatortype_find().
Referenced by outliner_item_drag_drop_invoke(), and OUTLINER_OT_item_drag_drop().
|
static |
Definition at line 1752 of file outliner_dragdrop.cc.
References outliner_find_item_at_y(), outliner_item_drag_element_find(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, blender::ui::view2d_region_to_view_y(), and blender::WM_event_drag_start_mval().
Referenced by outliner_item_drag_drop_invoke(), and outliner_item_drag_element_find().
| bool blender::ed::outliner::outliner_item_is_co_over_icon | ( | const TreeElement * | te, |
| float | view_co_x ) |
Definition at line 447 of file outliner_utils.cc.
References outliner_item_is_co_over_icon(), UI_UNIT_X, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_find_item_at_x_in_row(), and outliner_item_is_co_over_icon().
| bool blender::ed::outliner::outliner_item_is_co_over_name | ( | const TreeElement * | te, |
| float | view_co_x ) |
Find if x coordinate is over element name.
Definition at line 452 of file outliner_utils.cc.
References outliner_item_is_co_over_name(), UI_UNIT_X, blender::ed::outliner::TreeElement::xend, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_item_is_co_over_name(), and outliner_item_rename_find_hovered().
| bool blender::ed::outliner::outliner_item_is_co_over_name_icons | ( | const TreeElement * | te, |
| float | view_co_x ) |
Find if x coordinate is over an icon or name.
Definition at line 437 of file outliner_utils.cc.
References outliner_item_is_co_over_name_icons(), TREESTORE, blender::TSE_VIEW_COLLECTION_BASE, UI_UNIT_X, blender::ed::outliner::TreeElement::xend, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_box_select_invoke(), outliner_item_do_activate_from_cursor(), and outliner_item_is_co_over_name_icons().
| bool blender::ed::outliner::outliner_item_is_co_within_close_toggle | ( | const TreeElement * | te, |
| float | view_co_x ) |
Find if x coordinate is over element disclosure toggle.
Definition at line 457 of file outliner_utils.cc.
References outliner_item_is_co_within_close_toggle(), UI_UNIT_X, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_item_do_activate_from_cursor(), outliner_item_drag_drop_invoke(), outliner_item_is_co_within_close_toggle(), and outliner_item_openclose_invoke().
| void blender::ed::outliner::outliner_item_mode_toggle | ( | bContext * | C, |
| const TreeViewContext & | tvc, | ||
| TreeElement * | te, | ||
| bool | do_extend ) |
Toggle the item's interaction mode if supported.
Definition at line 187 of file outliner_select.cc.
References blender::BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeViewContext::bmain, C, do_outliner_item_editmode_toggle(), do_outliner_item_mode_toggle_generic(), do_outliner_item_posemode_toggle(), blender::Base::flag, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::Object::mode, blender::OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, blender::OB_GREASE_PENCIL, blender::ed::outliner::TreeViewContext::ob_pose, OB_TYPE_SUPPORT_EDITMODE, blender::ed::outliner::TreeViewContext::obact, outliner_item_mode_toggle(), blender::ed::outliner::TreeViewContext::scene, TREESTORE, blender::TSE_SOME_ID, blender::Object::type, blender::TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by outliner_item_mode_toggle(), and outliner_mode_toggle_fn().
| void blender::ed::outliner::outliner_item_openclose | ( | TreeElement * | te, |
| bool | open, | ||
| bool | toggle_all ) |
Open or close a tree element, optionally toggling all children recursively.
Definition at line 183 of file outliner_edit.cc.
References blender::ed::outliner::TreeElement::flag, blender::TreeStoreElem::flag, outliner_flag_set(), outliner_item_openclose(), blender::ed::outliner::TreeElement::subtree, TE_PRETEND_HAS_CHILDREN, TREESTORE, blender::TSE_CLOSED, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by outliner_item_openclose(), outliner_item_openclose_invoke(), outliner_item_openclose_modal(), outliner_walk_left(), and outliner_walk_right().
|
static |
Definition at line 257 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::wmOperator::customdata, blender::TreeStoreElem::flag, blender::KM_PRESS_DRAG, blender::LEFTMOUSE, blender::MEM_new_zeroed(), blender::ed::outliner::OpenCloseData::open, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_PASS_THROUGH, blender::OPERATOR_RUNNING_MODAL, outliner_find_item_at_y(), outliner_flag_is_any_test(), outliner_item_is_co_within_close_toggle(), outliner_item_openclose(), outliner_item_openclose_invoke(), outliner_tag_redraw_avoid_rebuild_on_open_change(), blender::ed::outliner::OpenCloseData::prev_tselem, blender::wmOperator::ptr, blender::RNA_boolean_get(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::TSE_CLOSED, blender::wmEvent::type, blender::ARegion::v2d, blender::wmEvent::val, blender::ui::view2d_region_to_view(), blender::WM_event_add_modal_handler(), blender::WM_event_drag_start_mval(), blender::ed::outliner::OpenCloseData::x_location, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_item_openclose_invoke(), and OUTLINER_OT_item_openclose().
|
static |
Definition at line 214 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::wmOperator::customdata, blender::data, blender::KM_RELEASE, blender::MOUSEMOVE, blender::wmEvent::mval, blender::OPERATOR_FINISHED, blender::OPERATOR_RUNNING_MODAL, outliner_find_item_at_y(), outliner_item_openclose(), outliner_item_openclose_modal(), outliner_tag_redraw_avoid_rebuild_on_open_change(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::wmEvent::type, blender::ARegion::v2d, blender::wmEvent::val, blender::ui::view2d_region_to_view(), and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_item_openclose_modal(), and OUTLINER_OT_item_openclose().
|
static |
Definition at line 405 of file outliner_edit.cc.
References blender::BKE_report(), outliner_find_element_with_flag(), outliner_item_rename_find_active(), blender::RPT_WARNING, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_ACTIVE.
Referenced by outliner_item_rename_find_active(), and outliner_item_rename_invoke().
|
static |
Definition at line 419 of file outliner_edit.cc.
References blender::wmEvent::mval, outliner_find_item_at_y(), outliner_item_is_co_over_name(), outliner_item_rename_find_hovered(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_item_rename_find_hovered(), and outliner_item_rename_invoke().
|
static |
Definition at line 435 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::View2D::cur, do_item_rename(), blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::OPERATOR_PASS_THROUGH, outliner_item_rename_find_active(), outliner_item_rename_find_hovered(), outliner_item_rename_invoke(), outliner_scroll_view(), outliner_show_active(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_boolean_get(), TREESTORE, UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::ymax, blender::rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_item_rename_invoke(), and OUTLINER_OT_item_rename().
| void blender::ed::outliner::outliner_item_select | ( | bContext * | C, |
| SpaceOutliner * | space_outliner, | ||
| TreeElement * | te, | ||
| short | select_flag ) |
Select the item using the set flags.
Definition at line 1627 of file outliner_select.cc.
References activate(), C, do_outliner_item_activate_tree_element(), blender::SpaceOutliner::flag, blender::TreeStoreElem::flag, OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_RECURSIVE, OL_ITEM_SELECT, OL_ITEM_SELECT_DATA, outliner_flag_set(), outliner_item_select(), outliner_viewcontext_init(), blender::SO_SYNC_SELECT, TREESTORE, blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by do_outliner_operation_event(), do_outliner_range_select(), merged_element_search_exec_fn(), object_select_hierarchy_fn(), outliner_box_select(), outliner_item_do_activate_from_cursor(), outliner_item_select(), and outliner_walk_select_invoke().
|
static |
Definition at line 2394 of file outliner_edit.cc.
References blender::BKE_report(), C, blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), do_outliner_keyingset_editop(), KEYINGSET_EDITMODE_ADD, NC_SCENE, ND_KEYINGSET, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_keyingset_additems_exec(), blender::wmOperator::reports, blender::RPT_ERROR, verify_active_keyingset(), and blender::WM_event_add_notifier().
Referenced by outliner_keyingset_additems_exec(), and OUTLINER_OT_keyingset_add_selected().
|
static |
Definition at line 2439 of file outliner_edit.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), do_outliner_keyingset_editop(), KEYINGSET_EDITMODE_REMOVE, NC_SCENE, ND_KEYINGSET, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_keyingset_removeitems_exec(), verify_active_keyingset(), and blender::WM_event_add_notifier().
Referenced by outliner_keyingset_removeitems_exec(), and OUTLINER_OT_keyingset_remove_selected().
| void blender::ed::outliner::outliner_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 108 of file outliner_ops.cc.
References outliner_keymap(), blender::RGN_TYPE_WINDOW, blender::SPACE_OUTLINER, and blender::WM_keymap_ensure().
Referenced by blender::ED_spacetype_outliner(), and outliner_keymap().
|
static |
Create either a RNA_LayerCollection or a RNA_Collection pointer.
Definition at line 342 of file outliner_draw.cc.
References blender::Collection::id, blender::Scene::id, outliner_layer_or_collection_pointer_create(), blender::RNA_id_pointer_create(), and blender::RNA_pointer_create_discrete().
Referenced by outliner_collection_is_isolated(), outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), outliner_collection_set_flag_recursive_fn(), and outliner_layer_or_collection_pointer_create().
|
static |
Definition at line 3439 of file outliner_tools.cc.
References blender::BKE_id_multi_tagged_delete(), blender::BKE_main_ensure_invariants(), blender::BKE_main_id_tag_all(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::ED_undo_push(), id_delete_tag_fn(), blender::ID_TAG_DOIT, lib_reload_fn(), lib_relocate_fn(), NA_EDITED, NC_ID, NC_SPACE, ND_SPACE_OUTLINER, OL_LIB_DELETE, OL_LIB_RELOAD, OL_LIB_RELOCATE, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_do_libdata_operation(), outliner_lib_operation_exec(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), and blender::WM_event_add_notifier().
Referenced by outliner_lib_operation_exec(), and OUTLINER_OT_lib_operation().
|
static |
Definition at line 1266 of file outliner_edit.cc.
References blender::BLI_assert(), C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::wmEvent::mval, blender::OPERATOR_CANCELLED, outliner_lib_reload_invoke(), outliner_lib_relocate_invoke_do(), blender::wmOperator::reports, blender::ret, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_lib_reload_invoke(), and OUTLINER_OT_lib_reload().
|
static |
Definition at line 1214 of file outliner_edit.cc.
References blender::BLI_assert(), C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::wmEvent::mval, blender::OPERATOR_CANCELLED, outliner_lib_relocate_invoke(), outliner_lib_relocate_invoke_do(), blender::wmOperator::reports, blender::ret, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_lib_relocate_invoke(), and OUTLINER_OT_lib_relocate().
|
static |
Definition at line 1182 of file outliner_edit.cc.
References blender::BKE_reportf(), C, blender::TreeStoreElem::id, blender::ID_LI, blender::ed::outliner::TreeElement::idcode, lib_relocate(), blender::OPERATOR_CANCELLED, outliner_lib_relocate_invoke_do(), blender::ret, blender::RPT_ERROR_INVALID_INPUT, blender::ed::outliner::TreeElement::subtree, TREESTORE, UI_UNIT_Y, blender::WM_operatortype_find(), and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_lib_reload_invoke(), outliner_lib_relocate_invoke(), and outliner_lib_relocate_invoke_do().
|
static |
Definition at line 1913 of file outliner_tools.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::ed::outliner::OutlinerLibOverrideData::do_fully_editable, blender::ed::outliner::OutlinerLibOverrideData::do_hierarchy, blender::ed::outliner::OutlinerLibOverrideData::do_resync_hierarchy_enforce, blender::ED_undo_push(), id_override_library_clear_single_process(), id_override_library_create_hierarchy_process(), id_override_library_delete_hierarchy_process(), id_override_library_resync_hierarchy_process(), NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, blender::OPERATOR_CANCELLED, blender::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, outliner_liboverride_operation_exec(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), and blender::WM_event_add_notifier().
Referenced by outliner_liboverride_operation_exec(), OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1905 of file outliner_tools.cc.
References C, outliner_liboverride_operation_poll(), and outliner_operation_tree_element_poll().
Referenced by outliner_liboverride_operation_poll(), OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 2177 of file outliner_tools.cc.
References blender::BKE_lib_override_library_property_delete(), blender::BKE_lib_override_library_property_operation_delete(), blender::BKE_reportf(), blender::BLI_assert(), blender::BLI_listbase_is_empty(), C, ELEM, blender::bke::library::LibraryRuntime::filepath_abs, blender::TreeStoreElem::id, ID_IS_OVERRIDE_LIBRARY_REAL, blender::ID::lib, blender::LIBOVERRIDE_OP_INSERT_AFTER, blender::LIBOVERRIDE_OP_INSERT_BEFORE, blender::ID::name, blender::IDOverrideLibraryProperty::operations, outliner_liboverride_property_remove_do(), blender::ID::override_library, blender::IDOverrideLibrary::reference, blender::RNA_id_pointer_create(), blender::IDOverrideLibraryProperty::rna_path, blender::RNA_path_resolve_property(), blender::RNA_property_copy(), blender::RNA_property_update(), blender::RPT_ERROR, blender::RPT_WARNING, blender::Library::runtime, and blender::IDOverrideLibraryPropertyOperation::subitem_reference_index.
Referenced by outliner_liboverride_property_remove_do(), and outliner_liboverride_property_remove_exec().
|
static |
Definition at line 2281 of file outliner_tools.cc.
References BLI_assert_unreachable, C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), NC_SPACE, NC_WINDOW, NC_WM, ND_LIB_OVERRIDE_CHANGED, ND_SPACE_VIEW3D, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_do_liboverride_property_selection_set(), outliner_liboverride_property_remove_do(), outliner_liboverride_property_remove_exec(), blender::wmOperator::reports, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, tree_element_cast(), blender::TSE_LIBRARY_OVERRIDE, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_LIBRARY_OVERRIDE_OPERATION, and blender::WM_event_add_notifier().
Referenced by outliner_liboverride_property_remove_exec(), and OUTLINER_OT_liboverride_property_remove().
|
static |
Definition at line 2159 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), ELEM, get_target_element(), outliner_liboverride_property_remove_poll(), outliner_operation_tree_element_poll(), blender::SpaceOutliner::outlinevis, blender::SO_OVERRIDES_LIBRARY, TREESTORE, blender::TSE_GENERIC_LABEL, blender::TSE_LIBRARY_OVERRIDE, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_LIBRARY_OVERRIDE_OPERATION, and blender::TreeStoreElem::type.
Referenced by outliner_liboverride_property_remove_poll(), and OUTLINER_OT_liboverride_property_remove().
| int blender::ed::outliner::outliner_main_region_context | ( | const bContext * | C, |
| const char * | member, | ||
| bContextDataResult * | result ) |
Definition at line 36 of file outliner_context.cc.
References C, blender::CTX_data_dir(), blender::CTX_data_dir_set(), blender::CTX_data_equals(), blender::CTX_data_id_pointer_set(), blender::CTX_RESULT_MEMBER_NOT_FOUND, blender::CTX_RESULT_NO_DATA, blender::CTX_RESULT_OK, blender::CTX_wm_space_outliner(), blender::TreeStoreElem::id, outliner_context_dir, outliner_context_selected_ids(), outliner_find_element_with_flag(), outliner_main_region_context(), blender::result, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::TSE_ACTIVE, and TSE_IS_REAL_ID.
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_context().
|
static |
Definition at line 91 of file space_outliner.cc.
References blender::BLI_rctf_compare(), C, blender::CTX_wm_area(), blender::View2D::cur, draw_outliner(), blender::ED_region_draw_overflow_indication(), FLT_EPSILON, blender::ui::theme::frame_buffer_clear(), outliner_main_region_draw(), blender::TH_BACK, blender::ARegion::v2d, blender::ui::view2d_scrollers_draw(), and blender::ui::view2d_view_restore().
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_draw().
|
static |
Definition at line 120 of file space_outliner.cc.
References outliner_main_region_free().
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_free().
|
static |
Definition at line 62 of file space_outliner.cc.
References blender::View2D::align, blender::ARegion::flag, blender::bke::ARegionRuntime::handlers, blender::View2D::keeptot, blender::View2D::keepzoom, blender::View2D::maxzoom, blender::View2D::minzoom, outliner_main_region_init(), blender::RGN_FLAG_INDICATE_OVERFLOW, blender::RGN_TYPE_WINDOW, blender::ARegion::runtime, blender::View2D::scroll, blender::SPACE_OUTLINER, blender::ARegion::v2d, blender::V2D_ALIGN_NO_NEG_X, blender::V2D_ALIGN_NO_POS_Y, blender::ui::V2D_COMMONVIEW_LIST, blender::V2D_KEEPASPECT, blender::V2D_KEEPTOT_STRICT, blender::V2D_LIMITZOOM, blender::V2D_LOCKZOOM_X, blender::V2D_LOCKZOOM_Y, blender::V2D_SCROLL_BOTTOM, blender::V2D_SCROLL_HORIZONTAL_HIDE, blender::V2D_SCROLL_LEFT, blender::V2D_SCROLL_RIGHT, blender::V2D_SCROLL_TOP, blender::V2D_SCROLL_VERTICAL_HIDE, blender::ARegion::winx, blender::ARegion::winy, blender::WM_dropboxmap_find(), blender::WM_event_add_dropbox_handler(), blender::WM_event_add_keymap_handler_v2d_mask(), and blender::WM_keymap_ensure().
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_init().
|
static |
Definition at line 122 of file space_outliner.cc.
References blender::wmNotifier::action, blender::wmRegionListenerParams::area, blender::wmNotifier::category, blender::wmNotifier::data, blender::ED_region_tag_redraw(), blender::ED_region_tag_redraw_no_rebuild(), ELEM, blender::SpaceOutliner::lib_override_view_mode, NA_ACTIVATED, NA_ADDED, NA_EDITED, NA_REMOVED, NA_RENAME, NA_SELECTED, NC_ANIMATION, NC_ASSET, NC_BRUSH, NC_GEOM, NC_GPENCIL, NC_GROUP, NC_ID, NC_IMAGE, NC_LAMP, NC_MASK, NC_MATERIAL, NC_NODE, NC_OBJECT, NC_PAINTCURVE, NC_SCENE, NC_SCREEN, NC_SPACE, NC_TEXT, NC_WINDOW, NC_WM, ND_ANIMCHAN, ND_BONE_ACTIVE, ND_BONE_COLLECTION, ND_BONE_SELECT, ND_CONSTRAINT, ND_DATA, ND_DRAW, ND_FRAME, ND_KEYFRAME, ND_KEYINGSET, ND_LAYER, ND_LAYER_CONTENT, ND_LAYOUTDELETE, ND_LIB_OVERRIDE_CHANGED, ND_LIGHTING_DRAW, ND_MODE, ND_MODIFIER, ND_NLA, ND_NLA_ACTCHANGE, ND_NLA_ORDER, ND_OB_ACTIVE, ND_OB_RENDER, ND_OB_SELECT, ND_OB_SHADING, ND_OB_VISIBLE, ND_PARENT, ND_POSE, ND_RENDER_OPTIONS, ND_SCENEBROWSE, ND_SEQUENCER, ND_SHADING_LINKS, ND_SPACE_OUTLINER, ND_TRANSFORM, ND_VERTEX_GROUP, ND_WORLD, blender::wmRegionListenerParams::notifier, NS_LAYER_COLLECTION, outliner_main_region_listener(), outliner_requires_rebuild_on_select_or_active_change(), blender::SpaceOutliner::outlinevis, blender::wmRegionListenerParams::region, blender::SO_DATA_API, blender::SO_ID_ORPHANS, blender::SO_LIB_OVERRIDE_VIEW_PROPERTIES, blender::SO_LIBRARIES, blender::SO_OVERRIDES_LIBRARY, blender::ScrArea::spacedata, and blender::wmNotifier::subtype.
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_listener().
|
static |
Definition at line 346 of file space_outliner.cc.
References blender::wmRegionMessageSubscribeParams::area, blender::ED_region_do_msg_notify_tag_redraw(), ELEM, blender::wmRegionMessageSubscribeParams::message_bus, outliner_main_region_message_subscribe(), blender::SpaceOutliner::outlinevis, blender::wmMsgSubscribeValue::owner, blender::wmRegionMessageSubscribeParams::region, blender::SO_OVERRIDES_LIBRARY, blender::SO_SCENES, blender::SO_VIEW_LAYER, blender::ScrArea::spacedata, Window, and WM_msg_subscribe_rna_anon_prop.
Referenced by blender::ED_spacetype_outliner(), and outliner_main_region_message_subscribe().
| void blender::ed::outliner::outliner_make_object_parent_hierarchy | ( | ListBaseT< TreeElement > * | lb | ) |
Definition at line 40 of file editors/space_outliner/tree/common.cc.
References blender::BLI_addtail(), blender::BLI_remlink(), blender::Object::id, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ID::newid, blender::ed::outliner::TreeElement::next, outliner_make_object_parent_hierarchy(), blender::ed::outliner::TreeElement::parent, blender::Object::parent, blender::ed::outliner::TreeElement::subtree, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by blender::ed::outliner::TreeDisplayScenes::build_tree(), blender::ed::outliner::TreeElementSceneObjectsBase::expand(), and outliner_make_object_parent_hierarchy().
|
static |
Definition at line 2349 of file outliner_draw.cc.
References blender::BLI_assert(), C, blender::CTX_wm_space_outliner(), blender::CTX_wm_window(), blender::Object::data, blender::bke::WindowRuntime::eventstate, blender::GS(), blender::TreeStoreElem::id, blender::ID_OB, blender::KM_CTRL, blender::wmEvent::modifier, blender::ID::name, blender::ed::outliner::TreeViewContext::obact, outliner_find_tree_element(), outliner_item_mode_toggle(), outliner_mode_toggle_fn(), outliner_viewcontext_init(), blender::SpaceOutliner::runtime, blender::wmWindow::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by outliner_draw_mode_column_toggle(), and outliner_mode_toggle_fn().
|
static |
Definition at line 3783 of file outliner_tools.cc.
References blender::ed::outliner::ModifierFnArgs::C, C, blender::CTX_wm_space_outliner(), blender::ED_undo_push(), ELEM, modifier_fn(), OL_MODIFIER_OP_APPLY, OL_MODIFIER_OP_DELETE, blender::OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_data_operation(), outliner_modifier_operation_exec(), blender::wmOperator::ptr, blender::ed::outliner::ModifierFnArgs::reports, blender::wmOperator::reports, blender::RNA_enum_get(), and blender::TSE_MODIFIER.
Referenced by outliner_modifier_operation_exec(), and OUTLINER_OT_modifier_operation().
|
static |
Definition at line 989 of file outliner_tools.cc.
References blender::BKE_id_delete(), blender::BKE_library_ID_is_indirectly_used(), blender::BKE_object_is_in_editmode(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::ed::object::editmode_exit_ex(), blender::ed::object::EM_FREEDATA, blender::Object::id, blender::Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, blender::ID_TAG_INDIRECT, blender::Object::mode, blender::ID::name, blender::OB_MODE_EDIT, outliner_object_delete_fn(), blender::RPT_WARNING, and blender::ID::tag.
Referenced by outliner_delete_exec(), and outliner_object_delete_fn().
|
static |
Definition at line 2784 of file outliner_tools.cc.
References BLI_assert_unreachable, BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, blender::CTX_data_main(), blender::CTX_data_scene(), CTX_N_, blender::CTX_wm_space_outliner(), blender::CTX_wm_window(), blender::DEG_id_tag_update(), blender::ED_outliner_select_sync_from_object_tag(), blender::ED_undo_push(), get_target_element(), blender::Scene::id, blender::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, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_do_object_operation(), outliner_do_object_operation_ex(), outliner_object_operation_exec(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::SpaceOutliner::runtime, str, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::WM_event_add_notifier(), and blender::WM_window_set_active_scene().
Referenced by outliner_object_operation_exec(), and OUTLINER_OT_object_operation().
|
static |
Definition at line 260 of file outliner_draw.cc.
References blender::animrig::autokeyframe_property(), blender::BKE_main_collection_sync_remap(), blender::BKE_object_is_child_recursive(), blender::BKE_scene_frame_get(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_need_resync_tag(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_window(), blender::data, blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::bke::WindowRuntime::eventstate, blender::Object::id, blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, blender::ID_RECALC_SYNC_TO_EVAL, blender::KM_SHIFT, blender::wmEvent::modifier, blender::Base::object, blender::Main::objects, outliner_object_set_flag_recursive_fn(), blender::RNA_id_pointer_create(), blender::RNA_pointer_create_discrete(), blender::RNA_property_boolean_get(), blender::RNA_property_boolean_set(), blender::RNA_struct_type_find_property(), and blender::wmWindow::runtime.
Referenced by outliner__base_set_flag_recursive_fn(), outliner__object_set_flag_recursive_fn(), and outliner_object_set_flag_recursive_fn().
|
static |
Definition at line 1814 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_region_tag_redraw(), blender::OPERATOR_FINISHED, outliner_count_levels(), outliner_flag_is_any_test(), outliner_one_level_exec(), outliner_openclose_level(), blender::wmOperator::ptr, blender::RNA_boolean_get(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_CLOSED.
Referenced by outliner_one_level_exec(), and OUTLINER_OT_show_one_level().
|
static |
Return true when levels were opened.
Definition at line 1568 of file outliner_edit.cc.
References blender::TreeStoreElem::flag, outliner_open_back(), blender::ed::outliner::TreeElement::parent, TREESTORE, and blender::TSE_CLOSED.
Referenced by outliner_open_back(), and outliner_show_active().
|
static |
Definition at line 1794 of file outliner_edit.cc.
References blender::TreeStoreElem::flag, outliner_openclose_level(), TREESTORE, and blender::TSE_CLOSED.
Referenced by outliner_one_level_exec(), and outliner_openclose_level().
|
static |
Definition at line 4071 of file outliner_tools.cc.
References C, blender::ui::context_active_but_get(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), do_outliner_operation_event(), blender::wmEvent::mval, blender::OPERATOR_PASS_THROUGH, outliner_find_item_at_y(), outliner_operation_invoke(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ARegion::v2d, and blender::ui::view2d_region_to_view().
Referenced by outliner_operation_invoke(), and OUTLINER_OT_operation().
|
static |
Definition at line 210 of file outliner_tools.cc.
References C, blender::CTX_wm_space_outliner(), blender::ED_operator_outliner_active(), get_target_element(), and outliner_operation_tree_element_poll().
Referenced by outliner_id_operation_item_poll(), outliner_liboverride_operation_poll(), outliner_liboverride_property_remove_poll(), outliner_operation_tree_element_poll(), OUTLINER_OT_action_set(), OUTLINER_OT_animdata_operation(), OUTLINER_OT_id_operation(), and OUTLINER_OT_lib_operation().
|
static |
Definition at line 3973 of file outliner_tools.cc.
References C, blender::wmOperatorType::idname, blender::wm::InvokeRegionWin, blender::ui::Layout::menu_contents(), blender::ui::Layout::op_enum(), blender::ui::Layout::operator_context_set(), blender::OPERATOR_INTERFACE, outliner_operator_menu(), blender::ui::popup_menu_begin(), blender::wmOperatorType::prop, blender::RNA_property_identifier(), blender::ui::Layout::separator(), blender::WM_operator_poll(), blender::WM_operatortype_find(), and blender::WM_operatortype_name().
Referenced by do_outliner_operation_event(), and outliner_operator_menu().
| void blender::ed::outliner::outliner_operatortypes | ( | ) |
Definition at line 20 of file outliner_ops.cc.
References outliner_operatortypes(), OUTLINER_OT_action_set(), OUTLINER_OT_animdata_operation(), OUTLINER_OT_clear_filter(), OUTLINER_OT_collection_color_tag_set(), OUTLINER_OT_collection_disable(), OUTLINER_OT_collection_disable_render(), OUTLINER_OT_collection_drop(), OUTLINER_OT_collection_duplicate(), OUTLINER_OT_collection_duplicate_linked(), OUTLINER_OT_collection_enable(), OUTLINER_OT_collection_enable_render(), OUTLINER_OT_collection_exclude_clear(), OUTLINER_OT_collection_exclude_set(), OUTLINER_OT_collection_hide(), OUTLINER_OT_collection_hide_inside(), OUTLINER_OT_collection_hierarchy_delete(), OUTLINER_OT_collection_holdout_clear(), OUTLINER_OT_collection_holdout_set(), OUTLINER_OT_collection_indirect_only_clear(), OUTLINER_OT_collection_indirect_only_set(), OUTLINER_OT_collection_instance(), OUTLINER_OT_collection_isolate(), OUTLINER_OT_collection_link(), OUTLINER_OT_collection_new(), OUTLINER_OT_collection_objects_deselect(), OUTLINER_OT_collection_objects_select(), OUTLINER_OT_collection_show(), OUTLINER_OT_collection_show_inside(), OUTLINER_OT_constraint_operation(), OUTLINER_OT_data_operation(), OUTLINER_OT_datastack_drop(), OUTLINER_OT_delete(), OUTLINER_OT_drivers_add_selected(), OUTLINER_OT_drivers_delete_selected(), OUTLINER_OT_expanded_toggle(), OUTLINER_OT_hide(), OUTLINER_OT_highlight_update(), OUTLINER_OT_id_copy(), OUTLINER_OT_id_delete(), OUTLINER_OT_id_linked_relocate(), OUTLINER_OT_id_operation(), OUTLINER_OT_id_paste(), OUTLINER_OT_id_remap(), OUTLINER_OT_item_activate(), OUTLINER_OT_item_drag_drop(), OUTLINER_OT_item_openclose(), OUTLINER_OT_item_rename(), OUTLINER_OT_keyingset_add_selected(), OUTLINER_OT_keyingset_remove_selected(), OUTLINER_OT_lib_operation(), OUTLINER_OT_lib_relocate(), OUTLINER_OT_liboverride_operation(), OUTLINER_OT_liboverride_property_remove(), OUTLINER_OT_liboverride_troubleshoot_operation(), OUTLINER_OT_material_drop(), OUTLINER_OT_modifier_operation(), OUTLINER_OT_object_operation(), OUTLINER_OT_operation(), OUTLINER_OT_orphans_manage(), OUTLINER_OT_orphans_purge(), OUTLINER_OT_pack_data(), OUTLINER_OT_parent_clear(), OUTLINER_OT_parent_drop(), OUTLINER_OT_scene_drop(), OUTLINER_OT_scene_operation(), OUTLINER_OT_scroll_page(), OUTLINER_OT_select_all(), OUTLINER_OT_select_box(), OUTLINER_OT_select_walk(), OUTLINER_OT_show_active(), OUTLINER_OT_show_hierarchy(), OUTLINER_OT_show_one_level(), OUTLINER_OT_start_filter(), OUTLINER_OT_unhide_all(), and blender::WM_operatortype_append().
Referenced by blender::ED_spacetype_outliner(), and outliner_operatortypes().
|
static |
Definition at line 2770 of file outliner_edit.cc.
References C, blender::CTX_wm_space_outliner(), IFACE_, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_orphans_manage_invoke(), blender::SpaceOutliner::outlinevis, blender::SO_ID_ORPHANS, blender::SPACE_OUTLINER, and blender::WM_window_open_temp().
Referenced by outliner_orphans_manage_invoke(), and OUTLINER_OT_orphans_manage().
|
static |
Definition at line 2683 of file outliner_edit.cc.
References C, outliner_orphans_purge_cancel(), and outliner_orphans_purge_cleanup().
Referenced by outliner_orphans_purge_cancel(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2559 of file outliner_edit.cc.
References blender::BKE_lib_query_unused_ids_amounts(), C, blender::CTX_data_main(), blender::wmOperator::customdata, blender::data, outliner_orphans_purge_check(), blender::wmOperator::ptr, and blender::RNA_boolean_get().
Referenced by outliner_orphans_purge_check(), outliner_orphans_purge_invoke(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2544 of file outliner_edit.cc.
References blender::BKE_main_id_tag_all(), C, blender::CTX_data_main(), blender::wmOperator::customdata, blender::ID_TAG_DOIT, and outliner_orphans_purge_cleanup().
Referenced by outliner_orphans_purge_cancel(), outliner_orphans_purge_cleanup(), and outliner_orphans_purge_exec().
|
static |
Definition at line 2590 of file outliner_edit.cc.
References blender::ed::outliner::SceneReplaceData::active_scene_get(), blender::BKE_id_multi_tagged_delete(), blender::BKE_lib_query_unused_ids_tag(), blender::BKE_report(), blender::BKE_reportf(), blender::BKE_scene_find_replacement(), blender::BLI_assert(), C, blender::ed::outliner::SceneReplaceData::can_replace(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_area(), blender::CTX_wm_space_outliner(), blender::wmOperator::customdata, blender::data, blender::DEG_relations_tag_update(), blender::ED_scene_replace_active_for_deletion(), blender::Library::id, blender::Scene::id, blender::ID_TAG_DOIT, blender::INDEX_ID_NULL, blender::INDEX_ID_SCE, blender::ed::outliner::SceneReplaceData::is_valid(), blender::ID::lib, NA_REMOVED, blender::ID::name, NC_ID, NC_WINDOW, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_orphans_purge_cleanup(), outliner_orphans_purge_exec(), blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_boolean_get(), blender::RPT_ERROR, blender::RPT_INFO, blender::RPT_WARNING, blender::ed::outliner::SceneReplaceData::scene_to_activate, blender::ed::outliner::SceneReplaceData::scene_to_delete, blender::SPACE_OUTLINER, blender::ScrArea::spacetype, blender::ID::tag, blender::WM_event_add_notifier(), and blender::WM_main_add_notifier().
Referenced by outliner_orphans_purge_exec(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2574 of file outliner_edit.cc.
References C, blender::wmOperator::customdata, IFACE_, outliner_orphans_purge_check(), outliner_orphans_purge_invoke(), unused_message_popup_width_compute(), and blender::WM_operator_props_dialog_popup().
Referenced by outliner_orphans_purge_invoke(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2688 of file outliner_edit.cc.
References BLI_assert_unreachable, blender::ui::Layout::column(), blender::wmOperator::customdata, blender::data, blender::ui::Layout::label(), blender::wmOperator::layout, outliner_orphans_purge_ui(), blender::ui::Layout::prop(), blender::wmOperator::ptr, blender::ui::Layout::row(), blender::ui::Layout::separator(), UI_ITEM_NONE, and unused_message_gen().
Referenced by outliner_orphans_purge_ui(), and OUTLINER_OT_orphans_purge().
| void blender::ed::outliner::OUTLINER_OT_action_set | ( | wmOperatorType * | ot | ) |
Definition at line 3584 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_action_set_exec(), outliner_operation_tree_element_poll(), OUTLINER_OT_action_set(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, blender::PROP_ENUM_NO_TRANSLATE, blender::RNA_action_itemf(), blender::RNA_def_enum(), blender::RNA_def_enum_funcs(), blender::RNA_def_property_flag(), blender::rna_enum_dummy_NULL_items, blender::wmOperatorType::srna, and blender::WM_enum_search_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_action_set().
| void blender::ed::outliner::OUTLINER_OT_animdata_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3706 of file outliner_tools.cc.
References blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_animdata_operation_exec(), outliner_operation_tree_element_poll(), OUTLINER_OT_animdata_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_animdata_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_animdata_operation().
| void blender::ed::outliner::OUTLINER_OT_clear_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1531 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, outliner_clear_filter_exec(), OUTLINER_OT_clear_filter(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_clear_filter().
| void blender::ed::outliner::OUTLINER_OT_collection_color_tag_set | ( | wmOperatorType * | ot | ) |
Definition at line 1686 of file outliner_collections.cc.
References blender::COLLECTION_COLOR_NONE, blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::get_description, blender::wmOperatorType::get_name, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_collection_color_tag_set_get_description(), outliner_collection_color_tag_set_get_name(), outliner_color_tag_set_exec(), OUTLINER_OT_collection_color_tag_set(), blender::wmOperatorType::poll, blender::RNA_def_enum(), blender::rna_enum_collection_color_items, and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_color_tag_set().
| void blender::ed::outliner::OUTLINER_OT_collection_disable | ( | wmOperatorType * | ot | ) |
Definition at line 1433 of file outliner_collections.cc.
References collection_disable_poll(), collection_flag_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_disable(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_disable().
| void blender::ed::outliner::OUTLINER_OT_collection_disable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1463 of file outliner_collections.cc.
References collection_disable_render_poll(), collection_flag_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_disable_render(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_disable_render().
| void blender::ed::outliner::OUTLINER_OT_collection_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1699 of file outliner_dragdrop.cc.
References collection_drop_invoke(), blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_drop(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_drop().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 728 of file outliner_collections.cc.
References collection_duplicate_exec(), blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_duplicate(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_duplicate().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate_linked | ( | wmOperatorType * | ot | ) |
Definition at line 711 of file outliner_collections.cc.
References collection_duplicate_exec(), blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_duplicate_linked(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_duplicate_linked().
| void blender::ed::outliner::OUTLINER_OT_collection_enable | ( | wmOperatorType * | ot | ) |
Definition at line 1418 of file outliner_collections.cc.
References collection_enable_poll(), collection_flag_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_enable(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_enable().
| void blender::ed::outliner::OUTLINER_OT_collection_enable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1448 of file outliner_collections.cc.
References collection_enable_render_poll(), collection_flag_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_enable_render(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_enable_render().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1023 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_clear_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_exclude_clear(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_exclude_clear().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_set | ( | wmOperatorType * | ot | ) |
Definition at line 1008 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_set_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_exclude_set(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_exclude_set().
| void blender::ed::outliner::OUTLINER_OT_collection_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1248 of file outliner_collections.cc.
References collection_hide_poll(), collection_visibility_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_hide(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_hide().
| void blender::ed::outliner::OUTLINER_OT_collection_hide_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1278 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_hide_inside(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_hide_inside().
| void blender::ed::outliner::OUTLINER_OT_collection_hierarchy_delete | ( | wmOperatorType * | ot | ) |
Definition at line 463 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_hierarchy_delete_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_hierarchy_delete(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_hierarchy_delete().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1053 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_clear_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_holdout_clear(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_holdout_clear().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_set | ( | wmOperatorType * | ot | ) |
Definition at line 1038 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_set_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_holdout_set(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_holdout_set().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1085 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_clear_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_indirect_only_clear(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_indirect_only_clear().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_set | ( | wmOperatorType * | ot | ) |
Definition at line 1068 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_set_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_indirect_only_set(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_indirect_only_set().
| void blender::ed::outliner::OUTLINER_OT_collection_instance | ( | wmOperatorType * | ot | ) |
Definition at line 862 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_instance_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_instance(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_instance().
| void blender::ed::outliner::OUTLINER_OT_collection_isolate | ( | wmOperatorType * | ot | ) |
Definition at line 1162 of file outliner_collections.cc.
References collection_isolate_exec(), collection_isolate_invoke(), blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_isolate(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_isolate().
| void blender::ed::outliner::OUTLINER_OT_collection_link | ( | wmOperatorType * | ot | ) |
Definition at line 794 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_link_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_link(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_link().
| void blender::ed::outliner::OUTLINER_OT_collection_new | ( | wmOperatorType * | ot | ) |
Definition at line 293 of file outliner_collections.cc.
References collection_new_exec(), collection_new_poll(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_new(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_new().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 574 of file outliner_collections.cc.
References collection_objects_select_exec(), blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_objects_deselect(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_objects_deselect().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_select | ( | wmOperatorType * | ot | ) |
Definition at line 559 of file outliner_collections.cc.
References collection_objects_select_exec(), blender::wmOperatorType::description, blender::ED_outliner_collections_editor_poll(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_objects_select(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_objects_select().
| void blender::ed::outliner::OUTLINER_OT_collection_show | ( | wmOperatorType * | ot | ) |
Definition at line 1233 of file outliner_collections.cc.
References collection_show_poll(), collection_visibility_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_show(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_show().
| void blender::ed::outliner::OUTLINER_OT_collection_show_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1263 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_collection_show_inside(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_collection_show_inside().
| void blender::ed::outliner::OUTLINER_OT_constraint_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3751 of file outliner_tools.cc.
References blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_constraint_operation_exec(), OUTLINER_OT_constraint_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_constraint_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_constraint_operation().
| void blender::ed::outliner::OUTLINER_OT_data_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3950 of file outliner_tools.cc.
References blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_data_operation_poll(), OUTLINER_OT_data_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, blender::RNA_def_enum(), blender::RNA_def_enum_funcs(), blender::rna_enum_dummy_DEFAULT_items, blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_data_operation().
| void blender::ed::outliner::OUTLINER_OT_datastack_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1139 of file outliner_dragdrop.cc.
References datastack_drop_invoke(), blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_datastack_drop(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_datastack_drop().
| void blender::ed::outliner::OUTLINER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 3037 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_delete_exec(), OUTLINER_OT_delete(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_delete().
| void blender::ed::outliner::OUTLINER_OT_drivers_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2226 of file outliner_edit.cc.
References blender::wmOperatorType::description, ed_operator_outliner_datablocks_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_drivers_addsel_exec(), OUTLINER_OT_drivers_add_selected(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_drivers_add_selected().
| void blender::ed::outliner::OUTLINER_OT_drivers_delete_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2265 of file outliner_edit.cc.
References blender::wmOperatorType::description, ed_operator_outliner_datablocks_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_drivers_deletesel_exec(), OUTLINER_OT_drivers_delete_selected(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_drivers_delete_selected().
| void blender::ed::outliner::OUTLINER_OT_expanded_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1424 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_expanded_toggle(), outliner_toggle_expanded_exec(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_expanded_toggle().
| void blender::ed::outliner::OUTLINER_OT_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1563 of file outliner_collections.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_hide_exec(), OUTLINER_OT_hide(), outliner_view_layer_collections_editor_poll(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_hide().
| void blender::ed::outliner::OUTLINER_OT_highlight_update | ( | wmOperatorType * | ot | ) |
Definition at line 166 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_highlight_update_invoke(), OUTLINER_OT_highlight_update(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_highlight_update().
| void blender::ed::outliner::OUTLINER_OT_id_copy | ( | wmOperatorType * | ot | ) |
Definition at line 1019 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, outliner_id_copy_exec(), OUTLINER_OT_id_copy(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_copy().
| void blender::ed::outliner::OUTLINER_OT_id_delete | ( | wmOperatorType * | ot | ) |
Definition at line 751 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_id_delete_invoke(), OUTLINER_OT_id_delete(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_delete().
| void blender::ed::outliner::OUTLINER_OT_id_linked_relocate | ( | wmOperatorType * | ot | ) |
Definition at line 1121 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_id_relocate_invoke(), OUTLINER_OT_id_linked_relocate(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_linked_relocate().
| void blender::ed::outliner::OUTLINER_OT_id_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3396 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_id_operation_exec(), outliner_id_operation_itemf(), outliner_operation_tree_element_poll(), OUTLINER_OT_id_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_id_op_types, blender::RNA_def_enum(), blender::RNA_def_enum_funcs(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_operation().
| void blender::ed::outliner::OUTLINER_OT_id_paste | ( | wmOperatorType * | ot | ) |
Definition at line 1060 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_id_paste_exec(), OUTLINER_OT_id_paste(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_paste().
| void blender::ed::outliner::OUTLINER_OT_id_remap | ( | wmOperatorType * | ot | ) |
Definition at line 866 of file outliner_edit.cc.
References BLT_I18NCONTEXT_ID_ID, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::ID_OB, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_id_remap_exec(), outliner_id_remap_invoke(), outliner_id_remap_ui(), OUTLINER_OT_id_remap(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, blender::PROP_HIDDEN, blender::RNA_def_enum(), blender::RNA_def_int(), blender::RNA_def_property_flag(), blender::RNA_def_property_translation_context(), blender::rna_enum_id_type_items, blender::wmOperatorType::srna, and blender::wmOperatorType::ui.
Referenced by outliner_operatortypes(), and OUTLINER_OT_id_remap().
| void blender::ed::outliner::OUTLINER_OT_item_activate | ( | wmOperatorType * | ot | ) |
Definition at line 2007 of file outliner_select.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_item_activate_invoke(), OUTLINER_OT_item_activate(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_activate().
| void blender::ed::outliner::OUTLINER_OT_item_drag_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1899 of file outliner_dragdrop.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_item_drag_drop_invoke(), OUTLINER_OT_item_drag_drop(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_drag_drop().
| void blender::ed::outliner::OUTLINER_OT_item_openclose | ( | wmOperatorType * | ot | ) |
Definition at line 306 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::modal, blender::wmOperatorType::name, outliner_item_openclose_invoke(), outliner_item_openclose_modal(), OUTLINER_OT_item_openclose(), blender::wmOperatorType::poll, blender::RNA_def_boolean(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_openclose().
| void blender::ed::outliner::OUTLINER_OT_item_rename | ( | wmOperatorType * | ot | ) |
Definition at line 469 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, outliner_item_rename_invoke(), OUTLINER_OT_item_rename(), blender::wmOperatorType::poll, blender::PROP_HIDDEN, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_rename().
| void blender::ed::outliner::OUTLINER_OT_keyingset_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2418 of file outliner_edit.cc.
References blender::wmOperatorType::description, ed_operator_outliner_datablocks_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_keyingset_additems_exec(), OUTLINER_OT_keyingset_add_selected(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_keyingset_add_selected().
| void blender::ed::outliner::OUTLINER_OT_keyingset_remove_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2459 of file outliner_edit.cc.
References blender::wmOperatorType::description, ed_operator_outliner_datablocks_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_keyingset_removeitems_exec(), OUTLINER_OT_keyingset_remove_selected(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_keyingset_remove_selected().
| void blender::ed::outliner::OUTLINER_OT_lib_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3487 of file outliner_tools.cc.
References blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_lib_op_type_items, outliner_lib_operation_exec(), outliner_operation_tree_element_poll(), OUTLINER_OT_lib_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_lib_operation().
| void blender::ed::outliner::OUTLINER_OT_lib_reload | ( | wmOperatorType * | ot | ) |
Definition at line 1295 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_lib_reload_invoke(), OUTLINER_OT_lib_reload(), and blender::wmOperatorType::poll.
Referenced by OUTLINER_OT_lib_reload().
| void blender::ed::outliner::OUTLINER_OT_lib_relocate | ( | wmOperatorType * | ot | ) |
Definition at line 1237 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_lib_relocate_invoke(), OUTLINER_OT_lib_relocate(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_lib_relocate().
| void blender::ed::outliner::OUTLINER_OT_liboverride_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2081 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), OUTLINER_OT_liboverride_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_liboverride_operation().
| void blender::ed::outliner::OUTLINER_OT_liboverride_property_remove | ( | wmOperatorType * | ot | ) |
Definition at line 2343 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_liboverride_property_remove_exec(), outliner_liboverride_property_remove_poll(), OUTLINER_OT_liboverride_property_remove(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_liboverride_property_remove().
| void blender::ed::outliner::OUTLINER_OT_liboverride_troubleshoot_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2104 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), OUTLINER_OT_liboverride_troubleshoot_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_troubleshoot_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_liboverride_troubleshoot_operation().
| void blender::ed::outliner::OUTLINER_OT_material_drop | ( | wmOperatorType * | ot | ) |
Definition at line 711 of file outliner_dragdrop.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, material_drop_invoke(), blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_material_drop(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_material_drop().
| void blender::ed::outliner::OUTLINER_OT_modifier_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3803 of file outliner_tools.cc.
References blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_modifier_operation_exec(), OUTLINER_OT_modifier_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_modifier_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_modifier_operation().
| void blender::ed::outliner::OUTLINER_OT_object_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2876 of file outliner_tools.cc.
References blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_object_operation_exec(), OUTLINER_OT_object_operation(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_object_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_object_operation().
| void blender::ed::outliner::OUTLINER_OT_operation | ( | wmOperatorType * | ot | ) |
Definition at line 4097 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, outliner_operation_invoke(), OUTLINER_OT_operation(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_operation().
| void blender::ed::outliner::OUTLINER_OT_orphans_manage | ( | wmOperatorType * | ot | ) |
Definition at line 2782 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, outliner_orphans_manage_invoke(), and OUTLINER_OT_orphans_manage().
Referenced by outliner_operatortypes(), and OUTLINER_OT_orphans_manage().
| void blender::ed::outliner::OUTLINER_OT_orphans_purge | ( | wmOperatorType * | ot | ) |
Definition at line 2724 of file outliner_edit.cc.
References blender::wmOperatorType::cancel, blender::wmOperatorType::check, blender::wmOperatorType::description, ed_operator_outliner_id_orphans_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_UNDO, outliner_orphans_purge_cancel(), outliner_orphans_purge_check(), outliner_orphans_purge_exec(), outliner_orphans_purge_invoke(), outliner_orphans_purge_ui(), OUTLINER_OT_orphans_purge(), blender::wmOperatorType::poll, blender::RNA_def_boolean(), blender::wmOperatorType::srna, and blender::wmOperatorType::ui.
Referenced by outliner_operatortypes(), and OUTLINER_OT_orphans_purge().
| void blender::ed::outliner::OUTLINER_OT_pack_data | ( | wmOperatorType * | ot | ) |
Definition at line 3083 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_pack_data(), outliner_pack_data_exec(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_pack_data().
| void blender::ed::outliner::OUTLINER_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 583 of file outliner_dragdrop.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_parent_clear(), parent_clear_invoke(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_parent_clear().
| void blender::ed::outliner::OUTLINER_OT_parent_drop | ( | wmOperatorType * | ot | ) |
Definition at line 493 of file outliner_dragdrop.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_parent_drop(), parent_drop_invoke(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_parent_drop().
| void blender::ed::outliner::OUTLINER_OT_scene_drop | ( | wmOperatorType * | ot | ) |
Definition at line 654 of file outliner_dragdrop.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_scene_drop(), blender::wmOperatorType::poll, and scene_drop_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_scene_drop().
| void blender::ed::outliner::OUTLINER_OT_scene_operation | ( | wmOperatorType * | ot | ) |
Definition at line 772 of file outliner_tools.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, OUTLINER_OT_scene_operation(), outliner_scene_operation_exec(), blender::wmOperatorType::poll, blender::wmOperatorType::prop, prop_scene_op_types, blender::RNA_def_enum(), blender::wmOperatorType::srna, and blender::WM_menu_invoke().
Referenced by outliner_operatortypes(), and OUTLINER_OT_scene_operation().
| void blender::ed::outliner::OUTLINER_OT_scroll_page | ( | wmOperatorType * | ot | ) |
Definition at line 1769 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_scroll_page(), outliner_scroll_page_exec(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_scroll_page().
| void blender::ed::outliner::OUTLINER_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1477 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_select_all(), outliner_select_all_exec(), blender::wmOperatorType::poll, and blender::WM_operator_properties_select_all().
Referenced by outliner_operatortypes(), and OUTLINER_OT_select_all().
| void blender::ed::outliner::OUTLINER_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 2113 of file outliner_select.cc.
References blender::wmOperatorType::cancel, blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::modal, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, outliner_box_select_exec(), outliner_box_select_invoke(), OUTLINER_OT_select_box(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), blender::wmOperatorType::srna, blender::WM_gesture_box_cancel(), blender::WM_gesture_box_modal(), blender::WM_operator_properties_gesture_box(), and blender::WM_operator_properties_select_operation_simple().
Referenced by outliner_operatortypes(), and OUTLINER_OT_select_box().
| void blender::ed::outliner::OUTLINER_OT_select_walk | ( | wmOperatorType * | ot | ) |
Definition at line 2351 of file outliner_select.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_select_walk(), outliner_walk_select_invoke(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), blender::wmOperatorType::srna, and blender::WM_operator_properties_select_walk_direction().
Referenced by outliner_operatortypes(), and OUTLINER_OT_select_walk().
| void blender::ed::outliner::OUTLINER_OT_show_active | ( | wmOperatorType * | ot | ) |
Definition at line 1731 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_show_active(), outliner_show_active_exec(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_show_active().
| void blender::ed::outliner::OUTLINER_OT_show_hierarchy | ( | wmOperatorType * | ot | ) |
Definition at line 1936 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_show_hierarchy(), outliner_show_hierarchy_exec(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_show_hierarchy().
| void blender::ed::outliner::OUTLINER_OT_show_one_level | ( | wmOperatorType * | ot | ) |
Definition at line 1841 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_region_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, outliner_one_level_exec(), OUTLINER_OT_show_one_level(), blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_boolean(), blender::RNA_def_property_flag(), and blender::wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_show_one_level().
| void blender::ed::outliner::OUTLINER_OT_start_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1511 of file outliner_edit.cc.
References blender::wmOperatorType::description, blender::ED_operator_outliner_active(), blender::wmOperatorType::exec, blender::wmOperatorType::idname, blender::wmOperatorType::name, OUTLINER_OT_start_filter(), outliner_start_filter_exec(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_start_filter().
| void blender::ed::outliner::OUTLINER_OT_unhide_all | ( | wmOperatorType * | ot | ) |
Definition at line 1607 of file outliner_collections.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, OUTLINER_OT_unhide_all(), outliner_unhide_all_exec(), outliner_view_layer_collections_editor_poll(), and blender::wmOperatorType::poll.
Referenced by outliner_operatortypes(), and OUTLINER_OT_unhide_all().
|
static |
Definition at line 3059 of file outliner_tools.cc.
References blender::BKE_image_has_packedfile(), blender::BKE_image_packfile_ensure(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::ED_operator_get_ids_from_context_as_vec(), blender::ID_IM, NA_EDITED, NC_IMAGE, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_pack_data_exec(), blender::wmOperator::reports, blender::RPT_INFO, and blender::WM_event_add_notifier().
Referenced by OUTLINER_OT_pack_data(), and outliner_pack_data_exec().
| bool blender::ed::outliner::outliner_requires_rebuild_on_select_or_active_change | ( | const SpaceOutliner * | space_outliner | ) |
Definition at line 184 of file outliner_tree.cc.
References outliner_exclude_filter_get(), outliner_requires_rebuild_on_select_or_active_change(), blender::SO_FILTER_OB_STATE_ACTIVE, and blender::SO_FILTER_OB_STATE_SELECTED.
Referenced by outliner_main_region_listener(), and outliner_requires_rebuild_on_select_or_active_change().
|
static |
Bring the outliner scrolling back to where it was in relation to the original focus element Caller is expected to handle redrawing of ARegion.
Definition at line 688 of file outliner_tree.cc.
References blender::BLI_rctf_translate(), blender::View2D::cur, outliner_find_tree_element(), outliner_restore_scrolling_position(), outliner_set_coordinates(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ed::outliner::OutlinerTreeElementFocus::tselem, blender::ARegion::v2d, blender::rctf::ymax, blender::ed::outliner::OutlinerTreeElementFocus::ys, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_build_tree(), and outliner_restore_scrolling_position().
|
static |
Definition at line 1139 of file outliner_draw.cc.
References blender::COLLECTION_IS_MASTER, blender::ed::outliner::TreeElement::directdata, blender::Collection::flag, blender::Collection::id, blender::Scene::id, outliner_collection_from_tree_element(), outliner_restrict_properties_collection_set(), outliner_restrict_properties_enable_collection_set(), outliner_restrict_properties_enable_layer_collection_set(), blender::RNA_id_pointer_create(), blender::RNA_pointer_create_discrete(), TREESTORE, blender::TSE_LAYER_COLLECTION, and blender::TreeStoreElem::type.
Referenced by outliner_draw_restrictbuts(), and outliner_restrict_properties_collection_set().
|
static |
Definition at line 1048 of file outliner_draw.cc.
References blender::ed::outliner::RestrictPropertiesActive::base_hide_viewport, blender::ed::outliner::RestrictProperties::collection_hide_render, blender::ed::outliner::RestrictPropertiesActive::collection_hide_render, blender::ed::outliner::RestrictProperties::collection_hide_select, blender::ed::outliner::RestrictPropertiesActive::collection_hide_select, blender::ed::outliner::RestrictProperties::collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::constraint_enable, blender::ed::outliner::RestrictPropertiesActive::layer_collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::layer_collection_holdout, blender::ed::outliner::RestrictPropertiesActive::layer_collection_indirect_only, blender::ed::outliner::RestrictPropertiesActive::modifier_show_render, blender::ed::outliner::RestrictPropertiesActive::modifier_show_viewport, blender::ed::outliner::RestrictPropertiesActive::object_hide_render, blender::ed::outliner::RestrictPropertiesActive::object_hide_select, blender::ed::outliner::RestrictPropertiesActive::object_hide_viewport, outliner_restrict_properties_enable_collection_set(), and blender::RNA_property_boolean_get().
Referenced by outliner_restrict_properties_collection_set(), outliner_restrict_properties_enable_collection_set(), and outliner_restrict_properties_enable_layer_collection_set().
|
static |
Definition at line 1086 of file outliner_draw.cc.
References blender::ed::outliner::RestrictPropertiesActive::base_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::collection_hide_render, blender::ed::outliner::RestrictPropertiesActive::collection_hide_select, blender::ed::outliner::RestrictPropertiesActive::collection_hide_viewport, blender::ed::outliner::RestrictProperties::layer_collection_exclude, blender::ed::outliner::RestrictPropertiesActive::layer_collection_exclude, blender::ed::outliner::RestrictProperties::layer_collection_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::layer_collection_hide_viewport, blender::ed::outliner::RestrictProperties::layer_collection_holdout, blender::ed::outliner::RestrictPropertiesActive::layer_collection_holdout, blender::ed::outliner::RestrictProperties::layer_collection_indirect_only, blender::ed::outliner::RestrictPropertiesActive::layer_collection_indirect_only, blender::ed::outliner::RestrictPropertiesActive::object_hide_select, blender::ed::outliner::RestrictPropertiesActive::object_holdout, blender::ed::outliner::RestrictPropertiesActive::object_indirect_only, outliner_restrict_properties_enable_collection_set(), outliner_restrict_properties_enable_layer_collection_set(), and blender::RNA_property_boolean_get().
Referenced by outliner_restrict_properties_collection_set(), and outliner_restrict_properties_enable_layer_collection_set().
| float blender::ed::outliner::outliner_right_columns_width | ( | const SpaceOutliner * | space_outliner | ) |
Definition at line 348 of file outliner_utils.cc.
References ATTR_FALLTHROUGH, blender::SpaceOutliner::flag, blender::SpaceOutliner::lib_override_view_mode, OL_RNA_COL_SIZEX, outliner_right_columns_width(), blender::SpaceOutliner::outlinevis, blender::SpaceOutliner::show_restrict_flags, blender::SO_DATA_API, blender::SO_ID_ORPHANS, blender::SO_LIB_OVERRIDE_VIEW_HIERARCHIES, blender::SO_LIB_OVERRIDE_VIEW_PROPERTIES, blender::SO_LIBRARIES, blender::SO_OVERRIDES_LIBRARY, blender::SO_RESTRICT_ENABLE, blender::SO_RESTRICT_HIDE, blender::SO_RESTRICT_HOLDOUT, blender::SO_RESTRICT_INDIRECT_ONLY, blender::SO_RESTRICT_RENDER, blender::SO_RESTRICT_SELECT, blender::SO_RESTRICT_VIEWPORT, blender::SO_SCENES, blender::SO_SEQUENCE, blender::SO_USERS_COLUMN, blender::SO_VIEW_LAYER, UI_UNIT_X, and V2D_SCROLL_WIDTH.
Referenced by draw_outliner(), outliner_draw_restrictbuts(), outliner_is_co_within_restrict_columns(), and outliner_right_columns_width().
|
static |
Definition at line 751 of file outliner_tools.cc.
References BLI_assert_unreachable, C, blender::CTX_wm_space_outliner(), blender::ED_undo_push(), OL_SCENE_OP_DELETE, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_scene_operation(), outliner_scene_operation_exec(), blender::wmOperator::ptr, blender::RNA_enum_get(), and scene_fn().
Referenced by OUTLINER_OT_scene_operation(), and outliner_scene_operation_exec().
|
static |
Definition at line 1750 of file outliner_edit.cc.
References blender::BLI_rcti_size_y(), C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_region_tag_redraw_no_rebuild(), blender::View2D::mask, blender::OPERATOR_FINISHED, outliner_scroll_page_exec(), outliner_scroll_view(), blender::wmOperator::ptr, blender::RNA_boolean_get(), and blender::ARegion::v2d.
Referenced by OUTLINER_OT_scroll_page(), and outliner_scroll_page_exec().
| void blender::ed::outliner::outliner_scroll_to_active | ( | SpaceOutliner * | space_outliner, |
| ARegion * | region, | ||
| short | idcode ) |
Definition at line 1645 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), blender::if(), outliner_scroll_to_active(), outliner_set_coordinates(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_ACTIVE, and blender::ARegion::v2d.
Referenced by draw_outliner(), and outliner_scroll_to_active().
| void blender::ed::outliner::outliner_scroll_view | ( | SpaceOutliner * | space_outliner, |
| ARegion * | region, | ||
| int | delta_y ) |
Scroll view vertically while keeping within total bounds.
Definition at line 462 of file outliner_utils.cc.
References blender::View2D::cur, outliner_scroll_view(), outliner_tree_dimensions(), UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by outliner_item_rename_invoke(), outliner_scroll_page_exec(), outliner_scroll_view(), outliner_show_active_exec(), and outliner_walk_scroll().
| ID * blender::ed::outliner::outliner_search_back | ( | TreeElement * | te, |
| short | idcode ) |
Definition at line 293 of file outliner_utils.cc.
References blender::TreeStoreElem::id, outliner_search_back(), outliner_search_back_te(), and TREESTORE.
Referenced by constraint_fn(), modifier_fn(), outliner_do_object_operation_ex(), outliner_search_back(), parent_drop_allowed(), parent_drop_set_parents(), tree_element_active_camera_get(), tree_element_active_material_get(), tree_element_camera_activate(), tree_element_material_activate(), tree_element_object_activate(), and tree_element_shapekey_state_get().
| TreeElement * blender::ed::outliner::outliner_search_back_te | ( | TreeElement * | te, |
| short | idcode ) |
Definition at line 278 of file outliner_utils.cc.
References blender::ed::outliner::TreeElement::idcode, outliner_search_back_te(), blender::ed::outliner::TreeElement::parent, TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_search_back(), outliner_search_back_te(), outliner_set_properties_tab(), tree_element_object_activate(), and tree_elemment_shapekey_active_set().
|
static |
Definition at line 1444 of file outliner_edit.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::DEG_id_tag_update(), blender::ED_outliner_select_sync_from_outliner(), blender::ED_region_tag_redraw_no_rebuild(), blender::Scene::id, blender::ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, blender::OPERATOR_FINISHED, outliner_flag_flip(), outliner_flag_is_any_test(), outliner_flag_set(), outliner_select_all_exec(), blender::wmOperator::ptr, blender::RNA_enum_get(), blender::SpaceOutliner::runtime, blender::SEL_DESELECT, blender::SEL_INVERT, blender::SEL_SELECT, blender::SEL_TOGGLE, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::TSE_SELECTED, and blender::WM_event_add_notifier().
Referenced by OUTLINER_OT_select_all(), and outliner_select_all_exec().
|
static |
Definition at line 406 of file outliner_sync.cc.
References blender::BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, blender::EditBone::flag, blender::TreeStoreElem::flag, outliner_select_sync_from_edit_bone(), blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by outliner_select_sync_from_edit_bone(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 378 of file outliner_sync.cc.
References blender::BASE_SELECTED, blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeElement::directdata, blender::Base::flag, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, outliner_select_sync_from_object(), blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by outliner_select_sync_from_object(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 427 of file outliner_sync.cc.
References blender::ed::outliner::TreeElement::directdata, blender::bPoseChannel::flag, blender::TreeStoreElem::flag, outliner_select_sync_from_pose_bone(), blender::POSE_SELECTED, blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by outliner_select_sync_from_pose_bone(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 448 of file outliner_sync.cc.
References blender::TreeStoreElem::flag, blender::ed::outliner::TreeElementStrip::get_strip(), outliner_select_sync_from_strip(), blender::SEQ_SELECT, tree_element_cast(), TREESTORE, blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by outliner_select_sync_from_strip(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 200 of file outliner_sync.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BKE_view_layer_edit_object_get(), blender::BKE_view_layer_synced_ensure(), blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, EBONE_SELECTABLE, blender::ED_armature_ebone_select_set(), blender::EditBone::flag, blender::TreeStoreElem::flag, blender::bArmature::id, blender::TreeStoreElem::id, blender::ID_RECALC_SELECT, NC_OBJECT, ND_BONE_SELECT, outliner_select_sync_to_edit_bone(), blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by outliner_select_sync_to_edit_bone(), and outliner_sync_selection_from_outliner().
|
static |
Definition at line 180 of file outliner_sync.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::ed::object::base_select(), blender::BASE_SELECTABLE, blender::BKE_view_layer_base_find(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::ed::outliner::TreeElement::directdata, blender::Base::flag, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, outliner_select_sync_to_object(), and blender::TSE_SELECTED.
Referenced by outliner_select_sync_to_object(), and outliner_sync_selection_from_outliner().
|
static |
Definition at line 234 of file outliner_sync.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BKE_pose_ensure_bone_indices(), blender::animrig::bone_deselect(), blender::animrig::bone_is_selectable(), blender::animrig::bone_select(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Object::data, blender::DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, blender::bPoseChannel::flag, blender::TreeStoreElem::flag, blender::bArmature::id, blender::TreeStoreElem::id, blender::ID_RECALC_SELECT, NC_OBJECT, ND_BONE_SELECT, outliner_select_sync_to_pose_bone(), blender::TSE_SELECTED, and blender::WM_main_add_notifier().
Referenced by outliner_select_sync_to_pose_bone(), and outliner_sync_selection_from_outliner().
|
static |
Definition at line 262 of file outliner_sync.cc.
References blender::TreeStoreElem::flag, blender::ed::outliner::TreeElementStrip::get_strip(), outliner_select_sync_to_strip(), blender::seq::select_active_set(), blender::SEQ_SELECT, blender::WorkSpace::sequencer_scene, tree_element_cast(), TREESTORE, blender::TSE_ACTIVE, and blender::TSE_SELECTED.
Referenced by outliner_select_sync_to_strip(), and outliner_sync_selection_from_outliner().
| void blender::ed::outliner::outliner_set_coordinates | ( | const ARegion * | region, |
| SpaceOutliner * | space_outliner ) |
To retrieve coordinates with redrawing the entire tree.
Definition at line 1549 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), blender::ed::outliner::tree_iterator::all_open(), float, outliner_set_coordinates(), blender::SpaceOutliner::runtime, blender::View2D::tot, blender::ed::outliner::SpaceOutliner_Runtime::tree, UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_restore_scrolling_position(), outliner_scroll_to_active(), outliner_set_coordinates(), outliner_show_active(), and outliner_store_scrolling_position().
|
static |
Definition at line 1321 of file outliner_select.cc.
References blender::BCONTEXT_BONE, blender::BCONTEXT_BONE_CONSTRAINT, blender::BCONTEXT_COLLECTION, blender::BCONTEXT_CONSTRAINT, blender::BCONTEXT_DATA, blender::BCONTEXT_MATERIAL, blender::BCONTEXT_MODIFIER, blender::BCONTEXT_OBJECT, blender::BCONTEXT_PARTICLE, blender::BCONTEXT_PHYSICS, blender::BCONTEXT_SCENE, blender::BCONTEXT_SHADERFX, blender::BCONTEXT_VIEW_LAYER, blender::BCONTEXT_WORLD, blender::BKE_constraint_panel_expand(), blender::BKE_modifier_panel_expand(), blender::BKE_shaderfx_panel_expand(), C, blender::Object::data, blender::ed::outliner::TreeElement::directdata, blender::eModifierType_Cloth, blender::eModifierType_Collision, blender::eModifierType_DynamicPaint, blender::eModifierType_Fluid, blender::eModifierType_Fluidsim, blender::eModifierType_ParticleSystem, blender::eModifierType_Softbody, blender::bArmature::id, blender::Object::id, blender::TreeStoreElem::id, blender::ID_AR, blender::ID_CA, blender::ID_CU_LEGACY, blender::ID_CV, blender::ID_GD_LEGACY, blender::ID_GP, blender::ID_IM, blender::ID_LA, blender::ID_LP, blender::ID_LT, blender::ID_MA, blender::ID_MB, blender::ID_ME, blender::ID_OB, blender::ID_PT, blender::ID_SCE, blender::ID_SPK, blender::ID_VO, blender::ID_WO, blender::ed::outliner::TreeElement::idcode, outliner_find_parent_bone(), outliner_search_back_te(), outliner_set_properties_tab(), outliner_sync_to_properties_editors(), blender::psys_get_current(), blender::RNA_id_pointer_create(), blender::RNA_pointer_create_discrete(), TREESTORE, blender::TSE_BONE, blender::TSE_BONE_COLLECTION, blender::TSE_BONE_COLLECTION_BASE, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_DEFGROUP, blender::TSE_DEFGROUP_BASE, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GPENCIL_EFFECT, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_NODE_TREE, blender::TSE_LINKED_PSYS, blender::TSE_MODIFIER, blender::TSE_MODIFIER_BASE, blender::TSE_POSE_BASE, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SHAPE_KEY_BASE, blender::TSE_SHAPE_KEY_BLOCK, blender::TSE_SOME_ID, blender::ModifierData::type, and blender::TreeStoreElem::type.
Referenced by outliner_item_do_activate_from_cursor(), and outliner_set_properties_tab().
|
static |
Definition at line 3096 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all(), outliner_set_subtree_coords(), and blender::ed::outliner::TreeElement::subtree.
Referenced by outliner_draw_tree_element(), and outliner_set_subtree_coords().
|
static |
Definition at line 1627 of file outliner_edit.cc.
References outliner_open_back(), outliner_set_coordinates(), outliner_show_active(), blender::ed::outliner::TreeElement::subtree, and TREESTORE.
Referenced by outliner_item_rename_invoke(), outliner_show_active(), and outliner_show_active_exec().
|
static |
Definition at line 1692 of file outliner_edit.cc.
References blender::BLI_rcti_size_y(), C, blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::View2D::cur, blender::ED_region_tag_redraw_no_rebuild(), blender::View2D::mask, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_scroll_view(), outliner_show_active(), outliner_show_active_exec(), outliner_show_active_get_element(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, TREESTORE, blender::ARegion::v2d, blender::rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by OUTLINER_OT_show_active(), and outliner_show_active_exec().
|
static |
Definition at line 1586 of file outliner_edit.cc.
References blender::BKE_object_pose_armature_get(), blender::BKE_pose_channel_active(), blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_active_bone(), blender::CTX_data_main(), blender::Object::id, blender::Object::mode, blender::OB_ARMATURE, blender::OB_MODE_EDIT, blender::OB_MODE_POSE, outliner_find_editbone(), outliner_find_id(), outliner_find_posechannel(), outliner_show_active_get_element(), blender::SpaceOutliner::runtime, blender::ed::outliner::TreeElement::subtree, TE_CHILD_NOT_IN_COLLECTION, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::Object::type.
Referenced by outliner_show_active_exec(), and outliner_show_active_get_element().
|
static |
Definition at line 1922 of file outliner_edit.cc.
References C, blender::CTX_data_scene(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_region_tag_redraw(), blender::OPERATOR_FINISHED, outliner_show_hierarchy_exec(), and tree_element_show_hierarchy().
Referenced by OUTLINER_OT_show_hierarchy(), and outliner_show_hierarchy_exec().
| bool blender::ed::outliner::outliner_shows_mode_column | ( | const SpaceOutliner & | space_outliner | ) |
Iterate over the entire tree (including collapsed sub-elements), probing if any of the elements has a warning to be displayed.
Definition at line 20 of file outliner_query.cc.
References blender::SpaceOutliner::flag, outliner_shows_mode_column(), blender::SpaceOutliner::runtime, blender::SO_MODE_COLUMN, blender::ed::outliner::AbstractTreeDisplay::supports_mode_column(), and blender::ed::outliner::SpaceOutliner_Runtime::tree_display.
Referenced by draw_outliner(), outliner_is_co_within_mode_column(), and outliner_shows_mode_column().
|
static |
Definition at line 461 of file outliner_tree.cc.
References blender::BLI_addtail(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), ELEM, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::tTreeSort::idcode, blender::ed::outliner::tTreeSort::name, outliner_sort(), blender::ed::outliner::tTreeSort::te, treesort_alpha(), treesort_alpha_ob(), TREESTORE, blender::TSE_BONE, blender::TSE_BONE_COLLECTION_BASE, blender::TSE_DEFGROUP, blender::TSE_EBONE, blender::TSE_ID_BASE, blender::TSE_POSE_CHANNEL, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_build_tree(), and outliner_sort().
|
static |
Definition at line 664 of file outliner_tree.cc.
References map_all_objects_to_collection(), blender::Scene::master_collection, and outliner_sort_custom().
|
static |
Definition at line 547 of file outliner_tree.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), b, blender::BKE_collection_child_find(), blender::BLI_addtail(), blender::ed::outliner::OutlinerSortMaps::collection_and_object_to_cob_map, blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::element, blender::ed::outliner::tTreeSort::id, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::tTreeSort::idcode, blender::ed::outliner::tTreeSort::name, blender::ed::outliner::OutlinerSortMaps::object_to_any_cob_map, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), outliner_sort_custom(), blender::ed::outliner::TreeElement::parent, blender::CollectionObject::parented_sort_index, blender::CollectionChild::sort_index, blender::CollectionObject::sort_index, blender::ed::outliner::tTreeSort::te, treesort_custom(), and TREESTORE.
Referenced by outliner_build_tree(), outliner_sort_custom(), and outliner_sort_custom().
|
static |
Definition at line 587 of file space_outliner.cc.
References blender::BLI_mempool_iternew(), blender::BLI_mempool_iterstep(), blender::TreeStoreElem::id, outliner_space_blend_read_after_liblink(), blender::SO_TREESTORE_REBUILD, blender::SpaceOutliner::storeflag, blender::SpaceOutliner::treestore, and TSE_IS_REAL_ID.
Referenced by blender::ED_spacetype_outliner(), and outliner_space_blend_read_after_liblink().
|
static |
Definition at line 557 of file space_outliner.cc.
References blender::BLI_mempool_alloc(), blender::BLI_MEMPOOL_ALLOW_ITER, blender::BLI_mempool_create(), BLO_read_struct_array_no_us, BLO_read_struct_no_us, blender::TreeStore::data, outliner_space_blend_read_data(), blender::SpaceOutliner::runtime, blender::SO_TREESTORE_CLEANUP, blender::SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::SpaceOutliner::treestore, and blender::TreeStore::usedelem.
Referenced by blender::ED_spacetype_outliner(), and outliner_space_blend_read_data().
|
static |
Definition at line 676 of file space_outliner.cc.
References outliner_space_blend_write(), and write_space_outliner().
Referenced by blender::ED_spacetype_outliner(), and outliner_space_blend_write().
|
static |
Definition at line 1500 of file outliner_edit.cc.
References blender::BKE_area_find_region_type(), C, blender::CTX_wm_area(), blender::CTX_wm_space_outliner(), blender::ED_region_activate_rna_prop(), blender::OPERATOR_FINISHED, outliner_start_filter_exec(), and blender::RGN_TYPE_HEADER.
Referenced by OUTLINER_OT_start_filter(), and outliner_start_filter_exec().
|
static |
Definition at line 58 of file outliner_tree.cc.
References blender::BLI_mempool_alloc(), blender::BLI_MEMPOOL_ALLOW_ITER, blender::BLI_mempool_create(), blender::BLI_mempool_destroy(), blender::BLI_mempool_iternew(), blender::BLI_mempool_iterstep(), blender::BLI_mempool_len(), blender::TreeStoreElem::id, outliner_storage_cleanup(), blender::SpaceOutliner::runtime, blender::SO_TREESTORE_CLEANUP, blender::SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, blender::SpaceOutliner::treestore, and blender::TreeStoreElem::used.
Referenced by outliner_build_tree(), outliner_cleanup_tree(), and outliner_storage_cleanup().
|
static |
Store information of current outliner scrolling status to be restored later.
Finds the top-most collection visible in the outliner and populates the OutlinerTreeElementFocus struct to retrieve this element later to make sure it is in the same original position as before filtering.
Definition at line 816 of file outliner_tree.cc.
References blender::View2D::cur, outliner_find_first_desired_element_at_y(), outliner_set_coordinates(), outliner_store_scrolling_position(), TREESTORE, blender::ed::outliner::OutlinerTreeElementFocus::tselem, blender::ARegion::v2d, blender::rctf::ymax, blender::rctf::ymin, blender::ed::outliner::OutlinerTreeElementFocus::ys, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_build_tree(), and outliner_store_scrolling_position().
|
static |
Set which types of data to sync when syncing selection from the outliner based on object interaction mode and outliner display mode
Definition at line 127 of file outliner_sync.cc.
References C, blender::ed::outliner::SyncSelectTypes::edit_bone, blender::Object::mode, blender::OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, blender::OB_MODE_POSE, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::SyncSelectTypes::object, outliner_sync_select_from_outliner_set_types(), outliner_viewcontext_init(), blender::SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::seq_strip, blender::SO_SEQUENCE, and blender::Object::type.
Referenced by blender::ED_outliner_select_sync_from_outliner(), and outliner_sync_select_from_outliner_set_types().
|
static |
Current dirty flags and outliner display mode determine which type of syncing should occur. This is to ensure sync flag data is not lost on sync in the wrong display mode. Returns true if a sync is needed.
Definition at line 147 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectTypes::collection, blender::ed::outliner::SyncSelectTypes::edit_bone, blender::Object::mode, blender::OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, blender::OB_MODE_POSE, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::SyncSelectTypes::object, outliner_sync_select_to_outliner_set_types(), blender::SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::seq_strip, blender::SO_SEQUENCE, blender::SpaceOutliner::sync_select_dirty, blender::Object::type, blender::WM_OUTLINER_SYNC_SELECT_FROM_COLLECTION, blender::WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE, blender::WM_OUTLINER_SYNC_SELECT_FROM_OBJECT, blender::WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE, and blender::WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by outliner_sync_select_to_outliner_set_types(), and outliner_sync_selection().
| bool blender::ed::outliner::outliner_sync_selection | ( | const bContext * | C, |
| const TreeViewContext & | tvc, | ||
| SpaceOutliner * | space_outliner, | ||
| short & | idcode ) |
If outliner is dirty sync selection from view layer and sequencer.
Definition at line 570 of file outliner_sync.cc.
References blender::ed::outliner::TreeViewContext::bmain, C, blender::ed::outliner::SyncSelectTypes::collection, blender::ed::outliner::SyncSelectTypes::edit_bone, get_sync_select_active_data(), blender::ed::outliner::TreeViewContext::layer_collection, blender::ed::outliner::SyncSelectTypes::object, outliner_sync_select_to_outliner_set_types(), outliner_sync_selection(), outliner_sync_selection_to_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::SpaceOutliner::runtime, blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::SyncSelectTypes::seq_strip, blender::SpaceOutliner::sync_select_dirty, blender::ed::outliner::SpaceOutliner_Runtime::tree, blender::ed::outliner::TreeViewContext::view_layer, blender::WM_OUTLINER_SYNC_SELECT_FROM_COLLECTION, blender::WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE, blender::WM_OUTLINER_SYNC_SELECT_FROM_OBJECT, blender::WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE, and blender::WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by draw_outliner(), and outliner_sync_selection().
|
static |
Sync select and active flags from outliner to active view layer, bones, and sequencer.
Definition at line 286 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectTypes::edit_bone, blender::ed::outliner::SelectedItems::edit_bones, blender::ID_OB, blender::ed::outliner::SyncSelectTypes::object, blender::ed::outliner::SelectedItems::objects, outliner_select_sync_to_edit_bone(), outliner_select_sync_to_object(), outliner_select_sync_to_pose_bone(), outliner_select_sync_to_strip(), outliner_sync_selection_from_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SelectedItems::pose_bones, blender::ed::outliner::SyncSelectTypes::seq_strip, TREESTORE, blender::TSE_EBONE, blender::TSE_POSE_CHANNEL, blender::TSE_SOME_ID, blender::TSE_STRIP, and blender::TreeStoreElem::type.
Referenced by blender::ED_outliner_select_sync_from_outliner(), and outliner_sync_selection_from_outliner().
|
static |
Sync select and active flags from active view layer, bones, and sequences to the outliner.
Definition at line 482 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectTypes::collection, blender::LayerCollection::collection, blender::ed::outliner::SyncSelectActiveData::edit_bone, blender::ed::outliner::SyncSelectTypes::edit_bone, blender::TreeStoreElem::flag, blender::ID_OB, blender::ed::outliner::SyncSelectActiveData::object, blender::ed::outliner::SyncSelectTypes::object, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), outliner_select_sync_from_edit_bone(), outliner_select_sync_from_object(), outliner_select_sync_from_pose_bone(), outliner_select_sync_from_strip(), outliner_sync_selection_to_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectActiveData::pose_channel, blender::ed::outliner::SyncSelectTypes::seq_strip, blender::ed::outliner::SyncSelectActiveData::strip, TREESTORE, blender::TSE_ACTIVE, blender::TSE_EBONE, blender::TSE_POSE_CHANNEL, blender::TSE_SELECTED, blender::TSE_SOME_ID, blender::TSE_STRIP, and blender::TreeStoreElem::type.
Referenced by outliner_sync_selection(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 1303 of file outliner_select.cc.
References blender::bScreen::areabase, C, blender::CTX_wm_screen(), blender::ED_buttons_set_context(), blender::ED_buttons_should_sync_with_outliner(), outliner_sync_to_properties_editors(), blender::SPACE_PROPERTIES, blender::ScrArea::spacedata, and blender::ScrArea::spacetype.
Referenced by outliner_set_properties_tab(), and outliner_sync_to_properties_editors().
| void blender::ed::outliner::outliner_tag_redraw_avoid_rebuild_on_open_change | ( | const SpaceOutliner * | space_outliner, |
| ARegion * | region ) |
The outliner should generally use ED_region_tag_redraw_no_rebuild() to avoid unnecessary tree rebuilds. If elements are open or closed, we may still have to rebuild. Upon changing the open/closed state, call this to avoid rebuilds if possible.
Definition at line 485 of file outliner_utils.cc.
References blender::ED_region_tag_redraw(), blender::ED_region_tag_redraw_no_rebuild(), outliner_tag_redraw_avoid_rebuild_on_open_change(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree_display.
Referenced by outliner_item_openclose_invoke(), outliner_item_openclose_modal(), outliner_tag_redraw_avoid_rebuild_on_open_change(), and outliner_walk_select_invoke().
|
static |
Definition at line 1407 of file outliner_edit.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), blender::ED_region_tag_redraw(), blender::OPERATOR_FINISHED, outliner_flag_is_any_test(), outliner_flag_set(), outliner_toggle_expanded_exec(), blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::TSE_CLOSED.
Referenced by OUTLINER_OT_expanded_toggle(), and outliner_toggle_expanded_exec().
| void blender::ed::outliner::outliner_tree_dimensions | ( | SpaceOutliner * | space_outliner, |
| int * | r_width, | ||
| int * | r_height ) |
Definition at line 122 of file outliner_draw.cc.
References outliner_tree_dimensions(), outliner_tree_dimensions_impl(), blender::SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree.
Referenced by draw_outliner(), outliner_scroll_view(), and outliner_tree_dimensions().
|
static |
Definition at line 101 of file outliner_draw.cc.
References outliner_tree_dimensions_impl(), TREESTORE, TSELEM_OPEN, and UI_UNIT_Y.
Referenced by outliner_tree_dimensions(), and outliner_tree_dimensions_impl().
| bool blender::ed::outliner::outliner_tree_traverse | ( | const SpaceOutliner * | space_outliner, |
| ListBaseT< TreeElement > * | tree, | ||
| int | filter_te_flag, | ||
| int | filter_tselem_flag, | ||
| TreeTraversalFunc | func, | ||
| void * | customdata ) |
Iterate over all tree elements (pre-order traversal), executing func callback for each tree element matching the optional filters.
| filter_te_flag | If not 0, only TreeElements with this flag will be visited. |
| filter_tselem_flag | Same as filter_te_flag, but for the TreeStoreElem. |
| func | Custom callback to execute for each visited item. |
Definition at line 306 of file outliner_utils.cc.
References blender::TreeStoreElem::flag, outliner_tree_traverse(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, and TREESTORE.
Referenced by collection_duplicate_exec(), collection_flag_exec(), collection_instance_exec(), collection_isolate_exec(), collection_link_exec(), collection_objects_select_exec(), collection_view_layer_exec(), collection_visibility_exec(), collections_view_layer_poll(), blender::ED_outliner_selected_objects_get(), outliner_active_collection(), outliner_active_layer_collection(), outliner_collection_delete(), outliner_color_tag_set_exec(), outliner_delete_exec(), outliner_hide_exec(), outliner_item_drag_drop_invoke(), and outliner_tree_traverse().
| bool blender::ed::outliner::outliner_treesort_tiebreak | ( | bool | a_is_object, |
| const char * | a_name, | ||
| bool | b_is_object, | ||
| const char * | b_name ) |
Definition at line 41 of file outliner_utils.cc.
References blender::BLI_strcasecmp_natural(), and outliner_treesort_tiebreak().
Referenced by collection_drop_invoke(), outliner_treesort_tiebreak(), and treesort_alpha_ob().
|
static |
Definition at line 1582 of file outliner_collections.cc.
References blender::BASE_HIDDEN, blender::BKE_layer_collection_set_flag(), blender::BKE_view_layer_need_resync_tag(), blender::BKE_view_layer_object_bases_get(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::DEG_id_tag_update(), blender::Scene::id, blender::ID_RECALC_BASE_FLAGS, blender::LAYER_COLLECTION_HIDE, blender::LayerCollection::layer_collections, blender::ViewLayer::layer_collections, NC_SCENE, ND_LAYER_CONTENT, blender::OPERATOR_FINISHED, outliner_unhide_all_exec(), and blender::WM_main_add_notifier().
Referenced by OUTLINER_OT_unhide_all(), and outliner_unhide_all_exec().
|
static |
Definition at line 3830 of file outliner_draw.cc.
References OL_Y_OFFSET, outliner_update_viewable_area(), outliner_width(), blender::ARegion::v2d, V2D_SCROLL_HEIGHT, and blender::ui::view2d_totRect_set().
Referenced by draw_outliner(), and outliner_update_viewable_area().
|
static |
Definition at line 192 of file outliner_collections.cc.
References C, blender::CTX_wm_space_outliner(), outliner_view_layer_collections_editor_poll(), blender::SpaceOutliner::outlinevis, and blender::SO_VIEW_LAYER.
Referenced by OUTLINER_OT_hide(), OUTLINER_OT_unhide_all(), and outliner_view_layer_collections_editor_poll().
| void blender::ed::outliner::outliner_viewcontext_init | ( | const bContext * | C, |
| TreeViewContext * | tvc ) |
Definition at line 59 of file outliner_utils.cc.
References blender::BKE_object_pose_armature_get(), blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeViewContext::bmain, C, blender::CTX_data_layer_collection(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_workspace(), blender::ed::outliner::TreeViewContext::layer_collection, blender::Object::mode, blender::OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, blender::OB_MESH, blender::OB_MODE_WEIGHT_PAINT, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::TreeViewContext::obact, OBEDIT_FROM_OBACT, outliner_viewcontext_init(), blender::ed::outliner::TreeViewContext::scene, blender::Object::type, blender::ed::outliner::TreeViewContext::view_layer, and blender::ed::outliner::TreeViewContext::workspace.
Referenced by draw_outliner(), namebutton_fn(), outliner_item_select(), outliner_mode_toggle_fn(), outliner_sync_select_from_outliner_set_types(), and outliner_viewcontext_init().
|
static |
Definition at line 2210 of file outliner_select.cc.
References outliner_item_openclose(), outliner_walk_left(), blender::ed::outliner::TreeElement::parent, TREESTORE, and TSELEM_OPEN.
Referenced by do_outliner_select_walk(), and outliner_walk_left().
|
static |
Definition at line 2227 of file outliner_select.cc.
References outliner_item_openclose(), outliner_walk_right(), blender::ed::outliner::TreeElement::subtree, TREESTORE, and TSELEM_OPEN.
Referenced by do_outliner_select_walk(), and outliner_walk_right().
|
static |
Definition at line 2303 of file outliner_select.cc.
References blender::View2D::cur, outliner_scroll_view(), outliner_walk_scroll(), UI_UNIT_Y, blender::ARegion::v2d, blender::rctf::ymax, blender::rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_walk_scroll(), and outliner_walk_select_invoke().
|
static |
Definition at line 2318 of file outliner_select.cc.
References C, blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), do_outliner_select_walk(), blender::ED_outliner_select_sync_from_outliner(), find_walk_select_start_element(), OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_SELECT, blender::OPERATOR_FINISHED, outliner_item_select(), outliner_tag_redraw_avoid_rebuild_on_open_change(), outliner_walk_scroll(), outliner_walk_select_invoke(), blender::wmOperator::ptr, blender::RNA_boolean_get(), and blender::RNA_enum_get().
Referenced by OUTLINER_OT_select_walk(), and outliner_walk_select_invoke().
|
static |
Definition at line 3819 of file outliner_draw.cc.
References OL_RNA_COL_SIZEX, outliner_data_api_buttons_start_x(), outliner_width(), blender::SpaceOutliner::outlinevis, blender::SO_DATA_API, and UI_SCALE_FAC.
Referenced by outliner_update_viewable_area(), and outliner_width().
|
static |
Definition at line 555 of file outliner_dragdrop.cc.
References C, blender::ed::object::CLEAR_PARENT_ALL, blender::ed::object::CLEAR_PARENT_KEEP_TRANSFORM, blender::CTX_data_main(), blender::wmEvent::custom, blender::DEG_relations_tag_update(), blender::EVT_DATA_DRAGDROP, blender::GS(), blender::wmDragID::id, blender::ID_OB, blender::KM_ALT, blender::wmEvent::modifier, blender::ID::name, NC_OBJECT, ND_PARENT, ND_TRANSFORM, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::ed::object::parent_clear(), parent_clear_invoke(), and blender::WM_event_add_notifier().
Referenced by OUTLINER_OT_parent_clear(), and parent_clear_invoke().
|
static |
Definition at line 515 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), C, blender::CTX_wm_space_outliner(), ELEM, blender::GS(), blender::TreeStoreElem::id, blender::ID_GR, blender::ID_OB, blender::KM_SHIFT, blender::wmEvent::modifier, outliner_drop_find(), blender::Object::parent, parent_clear_poll(), TREESTORE, blender::TSE_CONSTRAINT_BASE, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_MODIFIER_BASE, blender::TreeStoreElem::type, and blender::WM_drag_get_local_ID().
Referenced by outliner_dropboxes(), and parent_clear_poll().
|
static |
Definition at line 307 of file outliner_dragdrop.cc.
References blender::BKE_object_is_child_recursive(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::TreeStoreElem::id, blender::ID_OB, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, outliner_search_back(), blender::Object::parent, parent_drop_allowed(), TREESTORE, blender::TSE_SOME_ID, blender::TreeStoreElem::type, and blender::Scene::view_layers.
Referenced by parent_drop_allowed(), and parent_drop_poll().
|
static |
Definition at line 461 of file outliner_dragdrop.cc.
References C, blender::wmEvent::custom, ELEM, blender::EVT_DATA_DRAGDROP, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::KM_ALT, blender::wmEvent::modifier, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_drop_find(), blender::ed::object::PAR_OBJECT, parent_drop_invoke(), parent_drop_set_parents(), blender::wmOperator::reports, TREESTORE, blender::TSE_SOME_ID, blender::TreeStoreElem::type, and blender::WM_drag_get_local_ID_from_event().
Referenced by OUTLINER_OT_parent_drop(), and parent_drop_invoke().
|
static |
Definition at line 366 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), C, blender::CTX_data_main(), blender::CTX_wm_region(), blender::CTX_wm_space_outliner(), drag_ids_are_all_objects(), blender::ED_region_tag_redraw_no_rebuild(), blender::ID_OB, blender::KM_CTRL, blender::KM_SHIFT, blender::wmEvent::modifier, outliner_drop_find(), outliner_flag_set(), parent_drop_allowed(), parent_drop_poll(), TREESTORE, blender::TSE_DRAG_ANY, blender::TSE_DRAG_INTO, and blender::WM_drag_get_local_ID().
Referenced by outliner_dropboxes(), and parent_drop_poll().
|
static |
Definition at line 406 of file outliner_dragdrop.cc.
References blender::BKE_id_is_editable(), blender::BKE_report(), C, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_space_outliner(), blender::DEG_relations_tag_update(), blender::GS(), blender::Object::id, blender::ID_OB, blender::ID_SCE, NC_OBJECT, ND_PARENT, ND_TRANSFORM, blender::wmDragID::next, outliner_find_id(), outliner_search_back(), parent_drop_set_parents(), blender::ed::object::parent_set(), blender::RPT_INFO, blender::SpaceOutliner::runtime, blender::ed::outliner::SpaceOutliner_Runtime::tree, and blender::WM_event_add_notifier().
Referenced by parent_drop_invoke(), and parent_drop_set_parents().
|
static |
Definition at line 2386 of file outliner_tools.cc.
References blender::animrig::bone_deselect(), blender::animrig::bone_select(), blender::ed::outliner::TreeElement::directdata, blender::bPoseChannel::drawflag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, blender::PCHAN_DRAW_HIDDEN, and pchan_fn().
Referenced by outliner_data_operation_exec(), and pchan_fn().
|
static |
Definition at line 1824 of file outliner_tools.cc.
References blender::IdAdtTemplate::adt, blender::FCurve::driver, blender::DRIVER_FLAG_INVALID, blender::AnimData::drivers, blender::FCURVE_DISABLED, blender::ChannelDriver::flag, blender::FCurve::flag, blender::TreeStoreElem::id, and refreshdrivers_animdata_fn().
Referenced by outliner_animdata_operation_exec(), and refreshdrivers_animdata_fn().
|
static |
Definition at line 203 of file outliner_draw.cc.
References blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::BONE_UNSELECTABLE, C, blender::CTX_wm_window(), blender::DEG_id_tag_update(), blender::Bone::flag, blender::bArmature::id, blender::ID_RECALC_SYNC_TO_EVAL, blender::KM_SHIFT, NC_OBJECT, ND_BONE_SELECT, restrictbutton_bone_select_fn(), restrictbutton_recursive_bone(), and blender::WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_bone_select_fn().
|
static |
Definition at line 187 of file outliner_draw.cc.
References C, blender::CTX_wm_window(), blender::bPoseChannel::drawflag, blender::KM_SHIFT, blender::PCHAN_DRAW_HIDDEN, blender::animrig::pose_bone_descendent_iterator(), and restrictbutton_bone_visibility_fn().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_bone_visibility_fn().
|
static |
Definition at line 220 of file outliner_draw.cc.
References blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::BONE_UNSELECTABLE, C, blender::CTX_wm_window(), blender::EditBone::flag, blender::KM_SHIFT, NC_OBJECT, ND_BONE_SELECT, restrictbutton_ebone_select_fn(), restrictbutton_recursive_ebone(), and blender::WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_ebone_select_fn().
|
static |
Definition at line 237 of file outliner_draw.cc.
References blender::BONE_HIDDEN_A, blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, C, blender::CTX_wm_window(), blender::EditBone::flag, blender::KM_SHIFT, NC_OBJECT, ND_BONE_SELECT, restrictbutton_ebone_visibility_fn(), restrictbutton_recursive_ebone(), and blender::WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_ebone_visibility_fn().
|
static |
Definition at line 252 of file outliner_draw.cc.
References C, blender::DEG_id_tag_update(), blender::ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, ND_DATA, restrictbutton_gp_layer_flag_fn(), and blender::WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_gp_layer_flag_fn().
|
static |
Definition at line 182 of file outliner_draw.cc.
References C, NC_SCENE, ND_RENDER_OPTIONS, restrictbutton_r_lay_fn(), and blender::WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts(), and restrictbutton_r_lay_fn().
|
static |
Definition at line 168 of file outliner_draw.cc.
References blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::Bone::childbase, blender::Bone::flag, and restrictbutton_recursive_bone().
Referenced by restrictbutton_bone_select_fn(), and restrictbutton_recursive_bone().
|
static |
Definition at line 150 of file outliner_draw.cc.
References blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::ED_armature_ebone_is_child_recursive(), blender::bArmature::edbo, blender::EditBone::flag, and restrictbutton_recursive_ebone().
Referenced by restrictbutton_ebone_select_fn(), restrictbutton_ebone_visibility_fn(), and restrictbutton_recursive_ebone().
|
static |
Definition at line 612 of file outliner_dragdrop.cc.
References blender::ed::object::BA_SELECT, blender::ed::object::base_select(), blender::BKE_collection_object_add(), blender::BKE_id_is_editable(), blender::BKE_scene_has_object(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_collection(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_region(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::ED_region_tag_redraw(), ELEM, blender::Scene::id, blender::ID_OB, blender::ID_RECALC_SELECT, blender::ID_SCE, blender::Scene::master_collection, NC_SCENE, ND_OB_SELECT, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, outliner_ID_drop_find(), scene_drop_invoke(), blender::Scene::view_layers, blender::WM_drag_get_local_ID_from_event(), and blender::WM_main_add_notifier().
Referenced by OUTLINER_OT_scene_drop(), and scene_drop_invoke().
|
static |
Definition at line 605 of file outliner_dragdrop.cc.
References C, blender::ID_OB, blender::ID_SCE, outliner_ID_drop_find(), scene_drop_poll(), and blender::WM_drag_get_local_ID().
Referenced by outliner_dropboxes(), and scene_drop_poll().
|
static |
Definition at line 732 of file outliner_tools.cc.
References C, blender::CTX_data_main(), blender::ED_scene_delete(), blender::TreeStoreElem::id, NA_REMOVED, NC_SCENE, OL_SCENE_OP_DELETE, scene_fn(), and blender::WM_event_add_notifier().
Referenced by outliner_scene_operation_exec(), and scene_fn().
|
static |
Collection properties called from the Scenes mode. Change the collection children but no objects.
Definition at line 727 of file outliner_draw.cc.
References C, outliner_collection_set_flag_recursive_fn(), and scenes__collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts(), and scenes__collection_set_flag_recursive_fn().
|
static |
Definition at line 2443 of file outliner_tools.cc.
References blender::BLI_findindex(), blender::seq::editing_get(), blender::ed::outliner::TreeElementStrip::get_strip(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, blender::seq::relations_invalidate_cache(), blender::ed::vse::select_strip_single(), blender::SEQ_MUTE, blender::SEQ_SELECT, sequence_fn(), and tree_element_cast().
Referenced by outliner_data_operation_exec(), and sequence_fn().
|
static |
Definition at line 1697 of file outliner_tools.cc.
References blender::IdAdtTemplate::adt, C, blender::IdAdtTemplate::id, blender::TreeStoreElem::id, blender::ID_AC, blender::id_single_user(), blender::ed::outliner::TreeElement::idcode, blender::RNA_pointer_create_discrete(), blender::RNA_struct_find_property(), and singleuser_action_fn().
Referenced by outliner_id_operation_exec(), and singleuser_action_fn().
|
static |
Definition at line 1723 of file outliner_tools.cc.
References C, blender::Scene::id, blender::TreeStoreElem::id, blender::id_single_user(), blender::RNA_id_pointer_create(), blender::RNA_struct_find_property(), and singleuser_world_fn().
Referenced by outliner_id_operation_exec(), and singleuser_world_fn().
|
static |
Definition at line 3415 of file outliner_draw.cc.
References blender::ID_OB, subtree_contains_object(), TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_draw_hierarchy_lines_recursive(), and subtree_contains_object().
|
static |
Helper function for #tree_element_shwo_hierarchy() - recursively checks whether subtrees have any objects.
Definition at line 1871 of file outliner_edit.cc.
References blender::ID_OB, subtree_has_objects(), TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by subtree_has_objects(), and tree_element_show_hierarchy().
|
static |
Definition at line 713 of file outliner_tree.cc.
References outliner_is_collection_tree_element(), and test_collection_callback().
Referenced by outliner_find_first_desired_element_at_y(), and test_collection_callback().
|
static |
Definition at line 718 of file outliner_tree.cc.
References blender::ID_OB, blender::ed::outliner::TreeElement::idcode, test_object_callback(), TREESTORE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
Referenced by outliner_find_first_desired_element_at_y(), and test_object_callback().
| void blender::ed::outliner::tree_element_activate | ( | bContext * | C, |
| const TreeViewContext & | tvc, | ||
| TreeElement * | te, | ||
| eOLSetState | set, | ||
| bool | handle_all_types ) |
Generic call for ID data check or make/check active in UI.
Definition at line 829 of file outliner_select.cc.
References blender::ed::outliner::TreeViewContext::bmain, C, blender::ID_CA, blender::ID_MA, blender::ID_OB, blender::ID_TXT, blender::ID_WO, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeViewContext::scene, tree_element_activate(), tree_element_camera_activate(), tree_element_material_activate(), tree_element_object_activate(), tree_element_text_activate(), tree_element_world_activate(), and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by namebutton_fn(), and tree_element_activate().
|
static |
Definition at line 1189 of file outliner_select.cc.
References blender::Scene::camera, blender::ID_OB, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, outliner_search_back(), and tree_element_active_camera_get().
Referenced by tree_element_active_camera_get(), and tree_element_active_state_get().
|
static |
Edit-bones only draw in edit-mode armature.
Definition at line 649 of file outliner_select.cc.
References blender::bArmature::act_edbone, C, blender::CTX_data_edit_object(), EBONE_SELECTABLE, blender::ED_armature_ebone_select_set(), NC_OBJECT, ND_BONE_ACTIVE, tree_element_active_ebone__sel(), and blender::WM_event_add_notifier().
Referenced by tree_element_active_ebone__sel(), and tree_element_ebone_activate().
|
static |
Definition at line 1127 of file outliner_select.cc.
References blender::Object::actcol, blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), blender::ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::index, blender::Object::matbits, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, outliner_search_back(), blender::ed::outliner::TreeElement::parent, and tree_element_active_material_get().
Referenced by tree_element_active_material_get(), and tree_element_active_state_get().
|
static |
Definition at line 1163 of file outliner_select.cc.
References blender::TreeStoreElem::id, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::ed::outliner::TreeViewContext::scene, and tree_element_active_scene_get().
Referenced by tree_element_active_scene_get(), and tree_element_active_state_get().
| eOLDrawState blender::ed::outliner::tree_element_active_state_get | ( | const TreeViewContext & | tvc, |
| const TreeElement * | te, | ||
| const TreeStoreElem * | tselem ) |
Definition at line 1197 of file outliner_select.cc.
References blender::ed::outliner::TreeViewContext::bmain, blender::ID_CA, blender::ID_MA, blender::ID_OB, blender::ID_SCE, blender::ID_WO, blender::ed::outliner::TreeElement::idcode, OL_DRAWSEL_NONE, blender::ed::outliner::TreeViewContext::scene, tree_element_active_camera_get(), tree_element_active_material_get(), tree_element_active_scene_get(), tree_element_active_state_get(), tree_element_active_world_get(), and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by outliner_draw_iconrow(), outliner_draw_tree_element(), and tree_element_active_state_get().
|
static |
Definition at line 1175 of file outliner_select.cc.
References blender::TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::ed::outliner::TreeElement::parent, tree_element_active_world_get(), and TREESTORE.
Referenced by tree_element_active_state_get(), and tree_element_active_world_get().
|
static |
Definition at line 604 of file outliner_select.cc.
References blender::bArmature::act_bone, blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), blender::animrig::bone_is_visible(), blender::BONE_ROOTSEL, blender::BONE_SELECTED, blender::BONE_TIPSEL, blender::BONE_UNSELECTABLE, blender::bArmature::bonebase, C, blender::ed::outliner::TreeElement::directdata, do_outliner_bone_select_recursive(), blender::Bone::flag, blender::TreeStoreElem::id, NC_OBJECT, ND_BONE_ACTIVE, OL_SETSEL_EXTEND, tree_element_bone_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_bone_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1053 of file outliner_select.cc.
References blender::bke::bArmature_Runtime::active_collection, blender::ed::outliner::TreeElement::directdata, blender::TreeStoreElem::id, OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, blender::bArmature::runtime, and tree_element_bone_collection_state_get().
Referenced by tree_element_bone_collection_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 965 of file outliner_select.cc.
References blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), blender::BONE_SELECTED, blender::Object::data, blender::ed::outliner::TreeElement::directdata, blender::Bone::flag, blender::TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_bone_state_get().
Referenced by tree_element_bone_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 538 of file outliner_select.cc.
References blender::ANIM_armature_bonecoll_active_set(), C, blender::ed::outliner::TreeElement::directdata, blender::TreeStoreElem::id, NC_OBJECT, ND_BONE_COLLECTION, tree_element_bonecollection_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_bonecollection_activate(), and tree_element_type_active_set().
|
static |
Definition at line 438 of file outliner_select.cc.
References C, blender::Scene::camera, blender::CTX_data_main(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::Scene::id, blender::ID_OB, blender::ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_SCENE, outliner_search_back(), tree_element_camera_activate(), blender::Main::wm, blender::WM_event_add_notifier(), and blender::WM_windows_scene_data_sync().
Referenced by tree_element_activate(), and tree_element_camera_activate().
| TreeElementT * blender::ed::outliner::tree_element_cast | ( | const TreeElement * | te | ) |
Helper to safely "cast" a TreeElement to its new C++ AbstractTreeElement, if possible.
Definition at line 711 of file outliner_intern.hh.
References blender::ed::outliner::TreeElement::abstract_element, and tree_element_cast().
Referenced by data_select_linked_fn(), do_outliner_drivers_editop(), do_outliner_keyingset_editop(), element_should_draw_faded(), blender::ed::outliner::TreeElementRNAStruct::expand(), blender::ed::outliner::TreeElementRNAArrayElement::get_property_rna(), grease_pencil_node_fn(), namebutton_fn(), outliner_draw_get_warning_tree_element(), outliner_draw_get_warning_tree_element_subtree(), outliner_draw_hierarchy_lines_recursive(), outliner_draw_iconrow(), outliner_draw_overrides_restrictbuts(), outliner_draw_overrides_rna_buts(), outliner_draw_restrictbuts(), outliner_draw_rnabuts(), outliner_draw_tree_element(), outliner_find_id(), outliner_liboverride_property_remove_exec(), outliner_select_sync_from_strip(), outliner_select_sync_to_strip(), sequence_fn(), tree_element_cast(), tree_element_get_icon(), tree_element_grease_pencil_node_activate(), tree_element_grease_pencil_node_state_get(), tree_element_strip_activate(), tree_element_strip_dup_state_get(), tree_element_strip_state_get(), tree_element_to_path(), and blender::ed::outliner::TreeElementIDAction::TreeElementIDAction().
|
static |
Definition at line 720 of file outliner_select.cc.
References C, blender::TreeStoreElem::id, NC_OBJECT, ND_CONSTRAINT, blender::ed::outliner::TreeElement::parent, tree_element_constraint_activate(), tree_element_posechannel_activate(), TREESTORE, blender::TSE_POSE_CHANNEL, blender::TreeStoreElem::type, and blender::WM_event_add_notifier().
Referenced by tree_element_constraint_activate(), and tree_element_type_active_set().
|
static |
Definition at line 477 of file outliner_select.cc.
References blender::BKE_object_defgroup_active_index_set(), blender::BLI_assert(), C, blender::DEG_id_tag_update(), blender::Object::id, blender::TreeStoreElem::id, blender::ID_RECALC_GEOMETRY, blender::ed::outliner::TreeElement::index, NC_OBJECT, ND_TRANSFORM, tree_element_defgroup_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_defgroup_activate(), and tree_element_type_active_set().
|
static |
Definition at line 949 of file outliner_select.cc.
References blender::BKE_object_defgroup_active_index_get(), blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), blender::TreeStoreElem::id, blender::ed::outliner::TreeElement::index, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_defgroup_state_get().
Referenced by tree_element_defgroup_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 660 of file outliner_select.cc.
References blender::BKE_view_layer_array_from_bases_in_mode_params(), blender::BONE_SELECTED, C, blender::CTX_data_main(), blender::ed::outliner::TreeElement::directdata, do_outliner_ebone_select_recursive(), blender::ED_armature_edit_deselect_all_multi_ex(), blender::EditBone::flag, blender::TreeStoreElem::id, blender::ObjectsInModeParams::no_dup_data, blender::OB_MODE_EDIT, blender::ObjectsInModeParams::object_mode, OL_SETSEL_EXTEND, OL_SETSEL_NORMAL, tree_element_active_ebone__sel(), and tree_element_ebone_activate().
Referenced by tree_element_ebone_activate(), and tree_element_type_active_set().
|
static |
Definition at line 983 of file outliner_select.cc.
References blender::BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, blender::EditBone::flag, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_ebone_state_get().
Referenced by tree_element_ebone_state_get(), and tree_element_type_active_state_get().
| void blender::ed::outliner::tree_element_expand | ( | const AbstractTreeElement & | tree_element, |
| SpaceOutliner & | space_outliner ) |
Definition at line 80 of file tree_element.cc.
Referenced by blender::ed::outliner::AbstractTreeDisplay::add_element_impl().
| TreeElementIcon blender::ed::outliner::tree_element_get_icon | ( | TreeStoreElem * | tselem, |
| TreeElement * | te ) |
Definition at line 2709 of file outliner_draw.cc.
References blender::ed::outliner::TreeElement::abstract_element, blender::COLLECTION_IS_MASTER, blender::data, blender::Collection::flag, blender::ed::outliner::TreeElementOverridesBase::id, blender::TreeStoreElem::id, outliner_collection_from_tree_element(), blender::ed::outliner::TreeElement::parent, tree_element_cast(), tree_element_get_icon(), tree_element_get_icon_from_id(), TREESTORE, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_GPENCIL_EFFECT, blender::TSE_GPENCIL_EFFECT_BASE, blender::TSE_LAYER_COLLECTION, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_MODIFIER, blender::TSE_MODIFIER_BASE, blender::TSE_SCENE_COLLECTION_BASE, blender::TSE_SOME_ID, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), outliner_item_drag_drop_invoke(), tree_element_get_icon(), and tselem_draw_icon().
Definition at line 2569 of file outliner_draw.cc.
References blender::ED_file_extension_icon(), blender::GS(), blender::ui::icon_from_object_type(), blender::ID_AC, blender::ID_AR, blender::ID_BR, blender::ID_CA, blender::ID_CU_LEGACY, blender::ID_CV, blender::ID_GD_LEGACY, blender::ID_GP, blender::ID_GR, blender::ID_IM, blender::ID_KE, blender::ID_LA, blender::ID_LI, blender::ID_LP, blender::ID_LS, blender::ID_LT, blender::ID_MA, blender::ID_MB, blender::ID_MC, blender::ID_ME, blender::ID_MSK, ID_NLA, blender::ID_NT, blender::ID_OB, blender::ID_PA, blender::ID_PAL, blender::ID_PC, blender::ID_PT, blender::ID_SCE, blender::ID_SCR, blender::ID_SO, blender::ID_SPK, blender::ID_TAG_MISSING, blender::ID_TE, blender::ID_TXT, blender::ID_VF, blender::ID_VO, blender::ID_WO, blender::ID_WS, blender::LA_AREA, blender::LA_LOCAL, blender::LA_SPOT, blender::LA_SUN, blender::LIBRARY_FLAG_IS_ARCHIVE, blender::LIGHTPROBE_TYPE_PLANE, blender::LIGHTPROBE_TYPE_SPHERE, blender::LIGHTPROBE_TYPE_VOLUME, blender::OB_FONT, blender::OB_SURF, blender::Curve::ob_type, tree_element_get_icon_from_id(), blender::TXT_ISMEM, blender::eevee::LightData::type, blender::bNodeTree::typeinfo, and blender::bke::bNodeTreeType::ui_icon.
Referenced by blender::ED_outliner_icon_from_id(), tree_element_get_icon(), and tree_element_get_icon_from_id().
|
static |
Definition at line 488 of file outliner_select.cc.
References blender::BKE_annotations_layer_active_set(), C, blender::DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, blender::bGPdata::id, blender::TreeStoreElem::id, blender::ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, tree_element_gplayer_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_gplayer_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1091 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, blender::GP_LAYER_ACTIVE, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_gplayer_state_get().
Referenced by tree_element_gplayer_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 502 of file outliner_select.cc.
References C, blender::CTX_wm_message_bus(), blender::DEG_id_tag_update(), blender::TreeStoreElem::id, blender::ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, node, tree_element_cast(), tree_element_grease_pencil_node_activate(), blender::WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by tree_element_grease_pencil_node_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1099 of file outliner_select.cc.
References blender::TreeStoreElem::id, node, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::ed::outliner::TreeElement::store_elem, tree_element_cast(), and tree_element_grease_pencil_node_state_get().
Referenced by tree_element_grease_pencil_node_state_get(), and tree_element_type_active_state_get().
| int blender::ed::outliner::tree_element_id_type_to_index | ( | TreeElement * | te | ) |
Return the index to use based on the TreeElement ID and object type
We use a continuum of indices until we get to the object data-blocks and we then make room for the object types.
Definition at line 2921 of file outliner_draw.cc.
References blender::BKE_idtype_idcode_to_index(), blender::TreeStoreElem::id, blender::ed::outliner::TreeElement::idcode, blender::INDEX_ID_GP, blender::INDEX_ID_GR, blender::INDEX_ID_OB, blender::OB_TYPE_MAX, tree_element_id_type_to_index(), TREESTORE, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_SOME_ID, blender::Object::type, and blender::TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), merged_element_search_update_fn(), outliner_draw_iconrow(), and tree_element_id_type_to_index().
|
static |
Definition at line 812 of file outliner_select.cc.
References blender::BKE_layer_collection_activate(), blender::BKE_view_layer_find_from_collection(), C, blender::CTX_data_scene(), blender::ed::outliner::TreeElement::directdata, NA_ACTIVATED, NC_SCENE, ND_LAYER, NS_LAYER_COLLECTION, tree_element_layer_collection_activate(), and blender::WM_main_add_notifier().
Referenced by tree_element_layer_collection_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1118 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_layer_collection_state_get().
Referenced by tree_element_layer_collection_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 801 of file outliner_select.cc.
References blender::BKE_layer_collection_activate(), C, blender::CTX_data_view_layer(), blender::ViewLayer::layer_collections, NA_ACTIVATED, NC_SCENE, ND_LAYER, NS_LAYER_COLLECTION, tree_element_master_collection_activate(), and blender::WM_main_add_notifier().
Referenced by tree_element_master_collection_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1109 of file outliner_select.cc.
References blender::ViewLayer::layer_collections, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_master_collection_state_get().
Referenced by tree_element_master_collection_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 406 of file outliner_select.cc.
References blender::Object::actcol, blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_synced_ensure(), C, blender::DEG_id_tag_update(), blender::ID_OB, blender::ID_RECALC_TRANSFORM, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::index, blender::Object::matbits, NC_MATERIAL, ND_SHADING_LINKS, outliner_search_back(), blender::ed::outliner::TreeElement::parent, tree_element_material_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_activate(), and tree_element_material_activate().
|
static |
Definition at line 699 of file outliner_select.cc.
References blender::BKE_object_modifier_set_active(), C, blender::ed::outliner::TreeElement::directdata, blender::TreeStoreElem::id, NC_OBJECT, ND_MODIFIER, OL_SETSEL_NORMAL, tree_element_modifier_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_modifier_activate(), and tree_element_type_active_set().
|
static |
Definition at line 992 of file outliner_select.cc.
References blender::BKE_object_active_modifier(), blender::ed::outliner::TreeElement::directdata, blender::TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_modifier_state_get().
Referenced by tree_element_modifier_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 289 of file outliner_select.cc.
References blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::ed::object::base_activate_with_mode_exit_if_needed(), blender::ed::object::base_select(), blender::BASE_SELECTED, blender::BKE_object_is_mode_compat(), blender::BKE_view_layer_active_object_get(), blender::BKE_view_layer_base_deselect_all(), blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), C, blender::CTX_data_ensure_evaluated_depsgraph(), blender::CTX_wm_window(), blender::DEG_id_tag_update(), do_outliner_object_select_recursive(), blender::Base::flag, blender::TreeStoreElem::flag, blender::Scene::id, blender::TreeStoreElem::id, blender::ID_OB, blender::ID_RECALC_SELECT, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, blender::Object::mode, blender::ed::object::mode_generic_exit(), NC_SCENE, ND_OB_SELECT, blender::OB_MODE_OBJECT, blender::Base::object, blender::ToolSettings::object_flag, OL_SETSEL_EXTEND, OL_SETSEL_NONE, outliner_search_back(), outliner_search_back_te(), blender::SCE_OBJECT_MODE_LOCK, blender::Scene::toolsettings, tree_element_object_activate(), TREESTORE, blender::TSE_SELECTED, blender::TSE_SOME_ID, blender::TreeStoreElem::type, blender::WM_event_add_notifier(), blender::WM_window_get_active_view_layer(), and blender::WM_window_set_active_scene().
Referenced by do_outliner_item_activate_tree_element(), tree_element_activate(), tree_element_object_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1001 of file outliner_select.cc.
References blender::TreeStoreElem::id, blender::ed::outliner::TreeViewContext::obact, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_object_state_get().
Referenced by tree_element_object_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 1007 of file outliner_select.cc.
References blender::BKE_view_layer_base_find(), blender::BKE_view_layer_synced_ensure(), blender::TreeStoreElem::id, blender::Object::mode, blender::OB_MODE_POSE, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_pose_state_get().
Referenced by tree_element_pose_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 548 of file outliner_select.cc.
References blender::bArmature::act_bone, blender::BKE_object_pose_armature_get(), blender::BKE_object_pose_array_get_unique(), blender::animrig::bone_deselect(), blender::animrig::bone_is_visible(), blender::animrig::bone_select(), C, blender::bPose::chanbase, blender::CTX_data_main(), blender::Object::data, blender::DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, do_outliner_bone_select_recursive(), ELEM, blender::bPoseChannel::flag, blender::bArmature::id, blender::TreeStoreElem::id, blender::ID_RECALC_SELECT, NC_OBJECT, ND_BONE_ACTIVE, OL_SETSEL_EXTEND, blender::Object::pose, blender::POSE_SELECTED, tree_element_posechannel_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_constraint_activate(), tree_element_posechannel_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1028 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, blender::bPoseChannel::flag, blender::TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::Object::pose, blender::POSE_SELECTED, and tree_element_posechannel_state_get().
Referenced by tree_element_posechannel_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 713 of file outliner_select.cc.
References C, blender::TreeStoreElem::id, NA_EDITED, NC_OBJECT, ND_PARTICLE, tree_element_psys_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_psys_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1218 of file outliner_select.cc.
References blender::ID_OB, blender::ed::outliner::TreeElement::index, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, outliner_search_back(), and tree_element_shapekey_state_get().
Referenced by tree_element_shapekey_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 1886 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), ELEM, blender::TreeStoreElem::flag, blender::TreeStoreElem::id, blender::ID_OB, blender::ID_SCE, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::subtree, subtree_has_objects(), tree_element_show_hierarchy(), TREESTORE, blender::TSE_CLOSED, blender::TSE_LAYER_COLLECTION, blender::TSE_SCENE_OBJECTS_BASE, blender::TSE_SOME_ID, blender::TSE_VIEW_COLLECTION_BASE, and blender::TreeStoreElem::type.
Referenced by outliner_show_hierarchy_exec(), and tree_element_show_hierarchy().
|
static |
Definition at line 743 of file outliner_select.cc.
References blender::BLI_findindex(), C, blender::ed::vse::deselect_all_strips(), blender::seq::editing_get(), blender::ed::outliner::TreeElementStrip::get_strip(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OL_SETSEL_EXTEND, blender::seq::select_active_set(), blender::SEQ_SELECT, blender::WorkSpace::sequencer_scene, tree_element_cast(), tree_element_strip_activate(), and blender::WM_event_add_notifier().
Referenced by tree_element_strip_activate(), and tree_element_type_active_set().
|
static |
Definition at line 774 of file outliner_select.cc.
References blender::animrig::Strip::data(), blender::seq::editing_get(), blender::WorkSpace::sequencer_scene, STREQ, and tree_element_strip_dup_activate().
Referenced by tree_element_strip_dup_activate(), and tree_element_type_active_set().
|
static |
Definition at line 1081 of file outliner_select.cc.
References blender::ed::outliner::TreeElementStripDuplicate::get_strip(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::SEQ_SELECT, tree_element_cast(), and tree_element_strip_dup_state_get().
Referenced by tree_element_strip_dup_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 1065 of file outliner_select.cc.
References blender::seq::editing_get(), blender::ed::outliner::TreeElementStrip::get_strip(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::SEQ_SELECT, blender::WorkSpace::sequencer_scene, tree_element_cast(), and tree_element_strip_state_get().
Referenced by tree_element_strip_state_get(), and tree_element_type_active_state_get().
|
static |
Definition at line 823 of file outliner_select.cc.
References C, blender::ED_text_activate_in_screen(), blender::TreeStoreElem::id, blender::ed::outliner::TreeElement::store_elem, and tree_element_text_activate().
Referenced by tree_element_activate(), and tree_element_text_activate().
|
static |
Definition at line 1974 of file outliner_edit.cc.
References blender::BLI_addhead(), blender::LinkData::data, blender::PointerRNA::data, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElement::index, blender::KSP_FLAG_WHOLE_ARRAY, blender::MEM_new_zeroed(), blender::LinkData::next, blender::ed::outliner::TreeElement::parent, blender::PROP_COLLECTION, blender::PROP_POINTER, blender::RNA_path_append(), blender::RNA_property_array_check(), blender::RNA_property_type(), blender::RNA_struct_is_ID(), blender::RNA_struct_name_get_alloc(), blender::ed::outliner::TreeElement::subtree, tree_element_cast(), tree_element_to_path(), blender::TSE_RNA_ARRAY_ELEM, blender::TSE_RNA_STRUCT, blender::PointerRNA::type, and blender::TreeStoreElem::type.
Referenced by do_outliner_drivers_editop(), do_outliner_keyingset_editop(), and tree_element_to_path().
| void blender::ed::outliner::tree_element_type_active_set | ( | bContext * | C, |
| const TreeViewContext & | tvc, | ||
| TreeElement * | te, | ||
| TreeStoreElem * | tselem, | ||
| eOLSetState | set, | ||
| bool | recursive ) |
Generic call for non-id data to make active in UI
Definition at line 874 of file outliner_select.cc.
References blender::BLI_assert(), blender::ed::outliner::TreeViewContext::bmain, C, OL_SETSEL_NONE, blender::ed::outliner::TreeViewContext::scene, tree_element_bone_activate(), tree_element_bonecollection_activate(), tree_element_constraint_activate(), tree_element_defgroup_activate(), tree_element_ebone_activate(), tree_element_gplayer_activate(), tree_element_grease_pencil_node_activate(), tree_element_layer_collection_activate(), tree_element_master_collection_activate(), tree_element_modifier_activate(), tree_element_object_activate(), tree_element_posechannel_activate(), tree_element_psys_activate(), tree_element_strip_activate(), tree_element_strip_dup_activate(), tree_element_type_active_set(), tree_element_viewlayer_activate(), tree_elemment_shapekey_active_set(), blender::TSE_BONE, blender::TSE_BONE_COLLECTION, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_DEFGROUP, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_OB, blender::TSE_LINKED_PSYS, blender::TSE_MODIFIER, blender::TSE_POSE_BASE, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SHAPE_KEY_BLOCK, blender::TSE_STRIP, blender::TSE_STRIP_DUP, blender::TSE_VIEW_COLLECTION_BASE, blender::TreeStoreElem::type, blender::ed::outliner::TreeViewContext::view_layer, and blender::ed::outliner::TreeViewContext::workspace.
Referenced by tree_element_type_active_set().
| eOLDrawState blender::ed::outliner::tree_element_type_active_state_get | ( | const TreeViewContext & | tvc, |
| const TreeElement * | te, | ||
| const TreeStoreElem * | tselem ) |
Generic call for non-id data to check the active state in UI.
Definition at line 1230 of file outliner_select.cc.
References blender::ed::outliner::TreeViewContext::bmain, blender::ed::outliner::TreeViewContext::layer_collection, blender::ed::outliner::TreeViewContext::ob_pose, OL_DRAWSEL_NONE, blender::ed::outliner::TreeViewContext::scene, tree_element_bone_collection_state_get(), tree_element_bone_state_get(), tree_element_defgroup_state_get(), tree_element_ebone_state_get(), tree_element_gplayer_state_get(), tree_element_grease_pencil_node_state_get(), tree_element_layer_collection_state_get(), tree_element_master_collection_state_get(), tree_element_modifier_state_get(), tree_element_object_state_get(), tree_element_pose_state_get(), tree_element_posechannel_state_get(), tree_element_shapekey_state_get(), tree_element_strip_dup_state_get(), tree_element_strip_state_get(), tree_element_type_active_state_get(), tree_element_viewlayer_state_get(), blender::TSE_BONE, blender::TSE_BONE_COLLECTION, blender::TSE_CONSTRAINT, blender::TSE_CONSTRAINT_BASE, blender::TSE_DEFGROUP, blender::TSE_EBONE, blender::TSE_GP_LAYER, blender::TSE_GREASE_PENCIL_NODE, blender::TSE_LAYER_COLLECTION, blender::TSE_LINKED_NODE_TREE, blender::TSE_LINKED_OB, blender::TSE_LINKED_PSYS, blender::TSE_MODIFIER, blender::TSE_POSE_BASE, blender::TSE_POSE_CHANNEL, blender::TSE_R_LAYER, blender::TSE_SHAPE_KEY_BLOCK, blender::TSE_STRIP, blender::TSE_STRIP_DUP, blender::TSE_VIEW_COLLECTION_BASE, blender::TreeStoreElem::type, blender::ed::outliner::TreeViewContext::view_layer, and blender::ed::outliner::TreeViewContext::workspace.
Referenced by outliner_draw_iconrow(), outliner_draw_tree_element(), and tree_element_type_active_state_get().
|
static |
Definition at line 227 of file outliner_select.cc.
References blender::BLI_findindex(), C, blender::CTX_wm_window(), blender::ed::outliner::TreeElement::directdata, NC_SCREEN, ND_LAYER, blender::ed::outliner::TreeElement::store_elem, tree_element_viewlayer_activate(), blender::TSE_R_LAYER, blender::TreeStoreElem::type, blender::Scene::view_layers, blender::WM_event_add_notifier(), blender::WM_window_get_active_scene(), and blender::WM_window_set_active_view_layer().
Referenced by tree_element_type_active_set(), and tree_element_viewlayer_activate().
|
static |
Definition at line 1042 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and tree_element_viewlayer_state_get().
Referenced by tree_element_type_active_state_get(), and tree_element_viewlayer_state_get().
|
static |
Definition at line 459 of file outliner_select.cc.
References C, blender::CTX_data_main(), blender::CTX_wm_window(), blender::TreeStoreElem::id, blender::ed::outliner::TreeElement::parent, tree_element_world_activate(), TREESTORE, blender::TSE_SOME_ID, blender::TreeStoreElem::type, and blender::WM_window_set_active_scene().
Referenced by tree_element_activate(), and tree_element_world_activate().
|
static |
Definition at line 859 of file outliner_select.cc.
References C, blender::Object::id, blender::TreeStoreElem::id, blender::ID_OB, blender::ed::outliner::TreeElement::index, outliner_search_back_te(), blender::RNA_pointer_create_discrete(), blender::RNA_property_int_set(), blender::RNA_property_update(), blender::RNA_struct_find_property(), tree_elemment_shapekey_active_set(), and TREESTORE.
Referenced by tree_element_type_active_set(), and tree_elemment_shapekey_active_set().
Definition at line 334 of file outliner_tree.cc.
References blender::BLI_strcasecmp_natural(), blender::ed::outliner::tTreeSort::name, and treesort_alpha().
Referenced by outliner_sort(), and treesort_alpha().
Definition at line 341 of file outliner_tree.cc.
References blender::ID_OB, blender::ed::outliner::tTreeSort::idcode, blender::ed::outliner::tTreeSort::name, outliner_treesort_tiebreak(), treesort_alpha_ob(), and treesort_child_not_in_collection().
Referenced by outliner_sort(), treesort_alpha_ob(), and treesort_custom().
|
static |
Definition at line 323 of file outliner_tree.cc.
References blender::ed::outliner::TreeElement::flag, blender::ed::outliner::tTreeSort::te, TE_CHILD_NOT_IN_COLLECTION, and treesort_child_not_in_collection().
Referenced by treesort_alpha_ob(), and treesort_child_not_in_collection().
|
static |
Definition at line 394 of file outliner_tree.cc.
References get_sort_index(), blender::ID_OB, blender::ed::outliner::tTreeSort::idcode, outliner_is_collection_tree_element(), blender::ed::outliner::tTreeSort::te, treesort_alpha_ob(), and treesort_custom().
Referenced by outliner_sort_custom(), and treesort_custom().
|
static |
Definition at line 2763 of file outliner_draw.cc.
References bTheme::collection_color, blender::COLLECTION_COLOR_NONE, ThemeCollectionColor::color, blender::Collection::color_tag, blender::data, ThemeUI::icon_border_intensity, ICON_DEFAULT_HEIGHT, blender::ui::icon_get_theme_color(), ID_IS_LINKED, blender::ui::Label, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), blender::ui::theme::theme_get(), tree_element_get_icon(), tselem_draw_icon(), bTheme::tui, UI_INV_SCALE_FAC, UI_UNIT_X, UI_UNIT_Y, blender::x, and y.
Referenced by outliner_draw_iconrow_doit(), outliner_draw_tree_element(), and tselem_draw_icon().
|
static |
Definition at line 224 of file outliner_tools.cc.
References blender::BKE_animdata_set_action(), blender::BKE_reportf(), C, blender::CTX_wm_reports(), blender::TreeStoreElem::id, blender::ID::name, blender::RPT_WARNING, TSE_IS_REAL_ID, and unlink_action_fn().
Referenced by outliner_id_operation_exec(), and unlink_action_fn().
|
static |
Definition at line 381 of file outliner_tools.cc.
References blender::BKE_collection_child_remove(), blender::BKE_reportf(), C, blender::CTX_data_main(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::Collection::id, blender::Object::id, blender::Scene::id, blender::TreeStoreElem::id, blender::id_fake_user_set(), blender::ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_OB, blender::ID_RECALC_HIERARCHY, blender::ID_RECALC_SYNC_TO_EVAL, blender::ID_RECALC_TRANSFORM, blender::ID_SCE, blender::Object::instance_collection, blender::Scene::master_collection, blender::ID::name, blender::RPT_WARNING, TSE_IS_REAL_ID, and unlink_collection_fn().
Referenced by outliner_id_operation_exec(), and unlink_collection_fn().
|
static |
Definition at line 247 of file outliner_tools.cc.
References blender::BKE_reportf(), BLI_assert_unreachable, blender::TreeStoreElem::id, blender::ID_CU_LEGACY, blender::ID_CV, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_MA, blender::ID_MB, blender::ID_ME, blender::ID_OB, blender::ID_PT, blender::id_us_min(), blender::ID_VO, blender::ed::outliner::TreeElement::index, blender::Curve::mat, blender::MetaBall::mat, blender::Object::mat, blender::Volume::mat, blender::ID::name, blender::RPT_WARNING, blender::Curve::totcol, blender::MetaBall::totcol, blender::Object::totcol, blender::Volume::totcol, TSE_IS_REAL_ID, and unlink_material_fn().
Referenced by outliner_id_operation_exec(), and unlink_material_fn().
|
static |
Definition at line 437 of file outliner_tools.cc.
References blender::BKE_collection_has_object(), blender::BKE_collection_object_remove(), blender::BKE_reportf(), BLI_assert_unreachable, C, blender::CTX_data_main(), blender::CTX_wm_space_outliner(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::TreeStoreElem::flag, FOREACH_SCENE_COLLECTION_BEGIN, FOREACH_SCENE_COLLECTION_END, blender::Collection::id, blender::Object::id, blender::TreeStoreElem::id, blender::ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::ID_OB, blender::ID_RECALC_HIERARCHY, blender::ID_RECALC_SYNC_TO_EVAL, blender::ID_SCE, blender::Scene::master_collection, blender::ID::name, blender::ed::outliner::TreeElement::parent, blender::RPT_WARNING, blender::SO_SCENES, TREESTORE, blender::TSE_ACTIVE, TSE_IS_REAL_ID, blender::TSE_SELECTED, and unlink_object_fn().
Referenced by outliner_id_operation_exec(), and unlink_object_fn().
|
static |
Definition at line 342 of file outliner_tools.cc.
References blender::BKE_reportf(), blender::TreeStoreElem::id, blender::ID_LS, blender::id_us_min(), blender::ed::outliner::TreeElement::index, MAX_MTEX, blender::FreestyleLineStyle::mtex, blender::ID::name, blender::RPT_WARNING, blender::MTex::tex, TSE_IS_REAL_ID, and unlink_texture_fn().
Referenced by outliner_id_operation_exec(), and unlink_texture_fn().
|
static |
Definition at line 528 of file outliner_tools.cc.
References blender::BKE_reportf(), blender::TreeStoreElem::id, blender::id_us_min(), blender::ID::name, blender::RPT_WARNING, TSE_IS_REAL_ID, unlink_world_fn(), and blender::Scene::world.
Referenced by outliner_id_operation_exec(), and unlink_world_fn().
|
static |
Definition at line 1803 of file outliner_tools.cc.
References blender::BKE_animdata_set_action(), blender::TreeStoreElem::id, and unlinkact_animdata_fn().
Referenced by outliner_animdata_operation_exec(), and unlinkact_animdata_fn().
|
static |
Definition at line 2490 of file outliner_edit.cc.
References blender::BKE_idtype_idcode_to_name(), blender::BKE_idtype_idcode_to_name_plural(), blender::BKE_idtype_index_to_idcode(), IFACE_, INDEX_ID_MAX, blender::INDEX_ID_NULL, and unused_message_gen().
Referenced by outliner_orphans_purge_ui(), unused_message_gen(), and unused_message_popup_width_compute().
|
static |
Definition at line 2518 of file outliner_edit.cc.
References blender::BKE_lib_query_unused_ids_amounts(), BLF_DRAW_STR_DUMMY_MAX, blender::BLF_width(), C, blender::CTX_data_main(), blender::data, blender::ui::style_get_dpi(), uiFontStyle::uifont_id, unused_message_gen(), unused_message_popup_width_compute(), and uiStyle::widget.
Referenced by outliner_orphans_purge_invoke(), and unused_message_popup_width_compute().
|
static |
Definition at line 1922 of file outliner_draw.cc.
References blender::ed::outliner::UserTooltip_Store::has_fake_user, blender::ed::outliner::UserTooltip_Store::is_linked, blender::ed::outliner::UserTooltip_Store::real_users, TIP_, and user_tooltip_func().
Referenced by outliner_draw_userbuts(), and user_tooltip_func().
Definition at line 2299 of file outliner_edit.cc.
References blender::Scene::active_keyingset, blender::BKE_keyingset_add(), blender::BLI_findlink(), blender::INSERTKEY_NOFLAGS, blender::KEYINGSET_ABSOLUTE, blender::Scene::keyingsets, and verify_active_keyingset().
Referenced by outliner_keyingset_additems_exec(), outliner_keyingset_removeitems_exec(), and verify_active_keyingset().
|
static |
Collection properties called from the ViewLayer mode. Change the (non-excluded) collection children, and the objects nested to them all.
Definition at line 715 of file outliner_draw.cc.
References C, blender::LayerCollection::collection, outliner_collection_set_flag_recursive_fn(), and view_layer__collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts(), and view_layer__collection_set_flag_recursive_fn().
|
static |
Layer collection properties called from the ViewLayer mode. Change the (non-excluded) collection children, and the objects nested to them all.
Definition at line 702 of file outliner_draw.cc.
References C, outliner_collection_set_flag_recursive_fn(), and view_layer__layer_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts(), and view_layer__layer_collection_set_flag_recursive_fn().
|
static |
Definition at line 608 of file space_outliner.cc.
References blender::BLI_assert(), blender::BLI_mempool_as_arrayN(), blender::BLI_mempool_len(), blender::data, blender::TreeStore::data, blender::MEM_allocN_len, POINTER_OFFSET, blender::SO_TREESTORE_CLEANUP, blender::SO_TREESTORE_REBUILD, blender::TreeStore::totelem, blender::SpaceOutliner::treestore, blender::TreeStore::usedelem, write_space_outliner(), blender::BlendWriter::write_struct_array_at_address(), blender::BlendWriter::write_struct_at_address(), and blender::BlendWriter::write_struct_cast().
Referenced by outliner_space_blend_write(), and write_space_outliner().
|
static |
Definition at line 108 of file outliner_tools.cc.
Referenced by id_override_library_delete_hierarchy(), id_override_library_reset(), and id_override_library_resync().
|
static |
Definition at line 30 of file outliner_context.cc.
Referenced by outliner_main_region_context().
|
static |
Definition at line 3428 of file outliner_tools.cc.
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 3627 of file outliner_tools.cc.
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 3728 of file outliner_tools.cc.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 3123 of file outliner_tools.cc.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 582 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1860 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation().
|
static |
Definition at line 1881 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 3774 of file outliner_tools.cc.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 2771 of file outliner_tools.cc.
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 705 of file outliner_tools.cc.
Referenced by OUTLINER_OT_scene_operation().