|
Blender V4.5
|
Namespaces | |
| 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 | { 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 = {"ed.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) |
Library Overrides Operation Menu. | |
| enum | eOutlinerLibOverrideOpTypes { OUTLINER_LIBOVERRIDE_OP_INVALID = 0 , OUTLINER_LIBOVERRIDE_OP_CREATE_HIERARCHY , OUTLINER_LIBOVERRIDE_OP_RESET , OUTLINER_LIBOVERRIDE_OP_CLEAR_SINGLE , OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY , OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY_ENFORCE , OUTLINER_LIBOVERRIDE_OP_DELETE_HIERARCHY } |
| static const EnumPropertyItem | prop_liboverride_op_types [] |
| static const EnumPropertyItem | prop_liboverride_troubleshoot_op_types [] |
| void | OUTLINER_OT_liboverride_operation (wmOperatorType *ot) |
| void | OUTLINER_OT_liboverride_troubleshoot_operation (wmOperatorType *ot) |
| static bool | outliner_liboverride_operation_poll (bContext *C) |
| static wmOperatorStatus | outliner_liboverride_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 } |
| 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 182 of file outliner_dragdrop.cc.
| using blender::ed::outliner::List = ListBaseWrapper<T> |
Definition at line 27 of file tree_display_libraries.cc.
Definition at line 385 of file outliner_intern.hh.
| using blender::ed::outliner::OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
Definition at line 2598 of file outliner_tools.cc.
| using blender::ed::outliner::TreeTraversalFunc = TreeTraversalAction (*)(TreeElement *te, void *customdata) |
Definition at line 84 of file outliner_intern.hh.
| anonymous enum |
Definition at line 158 of file outliner_intern.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| OL_OP_SELECT | |
| OL_OP_DESELECT | |
| OL_OP_SELECT_HIERARCHY | |
| OL_OP_REMAP | |
| OL_OP_RENAME | |
Definition at line 2467 of file outliner_tools.cc.
| 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 2076 of file outliner_edit.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 1911 of file outliner_edit.cc.
| Enumerator | |
|---|---|
| DATA_STACK_DROP_REORDER | |
| DATA_STACK_DROP_COPY | |
| DATA_STACK_DROP_LINK | |
Definition at line 698 of file outliner_dragdrop.cc.
| Enumerator | |
|---|---|
| OL_DRAWSEL_NONE | |
| OL_DRAWSEL_NORMAL | |
| OL_DRAWSEL_ACTIVE | |
Definition at line 178 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| OL_SETSEL_NONE | |
| OL_SETSEL_NORMAL | |
| OL_SETSEL_EXTEND | |
Definition at line 184 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 3270 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_CONSTRAINTOP_ENABLE | |
| OL_CONSTRAINTOP_DISABLE | |
| OL_CONSTRAINTOP_DELETE | |
Definition at line 2078 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 2070 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 2084 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_SCENE_OP_DELETE | |
Definition at line 684 of file outliner_tools.cc.
Definition at line 2763 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 561 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_LIB_INVALID | |
| OL_LIB_DELETE | |
| OL_LIB_RELOCATE | |
| OL_LIB_RELOAD | |
Definition at line 3065 of file outliner_tools.cc.
Definition at line 1780 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| FOREACH_CONTINUE | |
| FOREACH_BREAK | |
Definition at line 188 of file tree_display_override_library_hierarchies.cc.
|
strong |
| Enumerator | |
|---|---|
| Noop | |
| Add | |
| None | |
Definition at line 220 of file tree_display.hh.
| Enumerator | |
|---|---|
| TE_INSERT_BEFORE | |
| TE_INSERT_AFTER | |
| TE_INSERT_INTO | |
Definition at line 69 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 253 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 75 of file outliner_intern.hh.
|
static |
Definition at line 3170 of file outliner_tools.cc.
References BKE_animdata_set_action(), TreeStoreElem::id, TSE_ANIM_DATA, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 315 of file outliner_dragdrop.cc.
References SpaceOutliner::filter, SpaceOutliner::outlinevis, SO_FILTER_NO_COLLECTION, SO_SCENES, and SO_VIEW_LAYER.
Referenced by parent_clear_poll(), and parent_drop_poll().
|
static |
Definition at line 2110 of file outliner_tools.cc.
References BONE_HIDDEN_P, BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, Bone::flag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1604 of file outliner_select.cc.
References BKE_collection_has_object_recursive(), can_select_recursive(), TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::store_elem, TSE_LAYER_COLLECTION, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by can_select_recursive(), do_outliner_range_select_recursive(), and do_outliner_select_recursive().
|
static |
Definition at line 111 of file outliner_tree.cc.
References BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), TreeStoreElem::flag, TreeStoreElem::id, TreeStoreElem::nr, SpaceOutliner::runtime, blender::ed::outliner::TreeElement::store_elem, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, SpaceOutliner::treestore, TSE_CLOSED, TreeStoreElem::type, and TreeStoreElem::used.
Referenced by blender::ed::outliner::AbstractTreeDisplay::add_element().
|
static |
Definition at line 1725 of file outliner_tools.cc.
References BKE_animdata_free(), DEG_id_tag_update(), TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 1744 of file outliner_tools.cc.
References IdAdtTemplate::adt, BKE_fcurves_free(), DEG_id_tag_update(), AnimData::drivers, TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 332 of file outliner_collections.cc.
References COLLECTION_IS_MASTER, data, 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_flag_exec(), collection_instance_exec(), collection_link_exec(), and outliner_collection_delete().
|
static |
Definition at line 1322 of file outliner_collections.cc.
References C, collection_flag_poll(), and COLLECTION_HIDE_VIEWPORT.
Referenced by OUTLINER_OT_collection_disable().
|
static |
Definition at line 1332 of file outliner_collections.cc.
References C, collection_flag_poll(), and COLLECTION_HIDE_RENDER.
Referenced by OUTLINER_OT_collection_disable_render().
|
static |
Definition at line 1132 of file outliner_dragdrop.cc.
References C, collection_parent_from_ID(), data, ELEM, ListBase::first, wmDragID::from_parent, GS, Collection::id, wmDragID::id, ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_OB, wmDrag::ids, ID::name, outliner_collection_from_tree_element(), outliner_drop_insert_collection_find(), TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, wmDrag::type, WM_DRAG_ID, and xy.
Referenced by collection_drop_invoke(), collection_drop_poll(), and collection_drop_tooltip().
|
static |
Definition at line 1295 of file outliner_dragdrop.cc.
References BKE_collection_is_empty(), BKE_collection_move(), BKE_collection_object_add(), BKE_collection_object_move(), BLI_listbase_reverse(), C, collection_drop_init(), collection_parent_from_ID(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), wmEvent::custom, data, DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, EVT_DATA_DRAGDROP, ListBase::first, GS, Collection::id, Object::id, ID_GR, ID_OB, ID_RECALC_GEOMETRY, ID_RECALC_HIERARCHY, ID_RECALC_SYNC_TO_EVAL, wmDrag::ids, KM_CTRL, LISTBASE_FOREACH, NC_SCENE, ND_LAYER, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_collection_from_tree_element(), outliner_find_parent_element(), TE_INSERT_AFTER, TE_INSERT_BEFORE, SpaceOutliner::tree, TREESTORE, TSE_CLOSED, WM_event_add_notifier(), and wmEvent::xy.
Referenced by OUTLINER_OT_collection_drop().
|
static |
Definition at line 1197 of file outliner_dragdrop.cc.
References C, collection_drop_init(), CTX_wm_region(), CTX_wm_space_outliner(), data, ED_region_tag_redraw_no_rebuild(), TreeStoreElem::flag, KM_SHIFT, wmEvent::modifier, outliner_flag_set(), TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TREESTORE, TSE_DRAG_AFTER, TSE_DRAG_ANY, TSE_DRAG_BEFORE, TSE_DRAG_INTO, TSE_HIGHLIGHTED_ANY, and wmEvent::xy.
Referenced by outliner_dropboxes().
|
static |
Definition at line 1233 of file outliner_dragdrop.cc.
References C, collection_drop_init(), CTX_wm_window(), data, wmWindow::eventstate, ListBase::first, GS, wmDragID::id, ID_OB, wmDrag::ids, KM_CTRL, KM_SHIFT, LISTBASE_FOREACH, ID::name, blender::ed::outliner::TreeElement::next, outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::prev, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TIP_, and xy.
Referenced by outliner_dropboxes().
|
static |
Definition at line 628 of file outliner_collections.cc.
References BKE_collection_child_find(), BKE_collection_duplicate(), BKE_id_owner_get(), BKE_report(), BKE_reportf(), BLI_assert, BLI_freelistN(), BLI_listbase_is_empty(), C, COLLECTION_IS_MASTER, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), Collection::flag, ID::flag, GS, Collection::id, Scene::id, ID_FLAG_EMBEDDED_DATA, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_SCE, wmOperator::idname, LIB_ID_DUPLICATE_IS_ROOT_ID, LISTBASE_FOREACH, Scene::master_collection, ID::name, NC_SCENE, ND_LAYER, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_collect_selected_parent_collections(), outliner_collection_from_tree_element(), outliner_tree_traverse(), blender::ed::outliner::TreeElement::parent, wmOperator::reports, RPT_ERROR, RPT_WARNING, blender::ed::outliner::IDsSelectedData::selected_array, SpaceOutliner::tree, TSE_SELECTED, U, USER_DUP_OBJECT, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_duplicate(), and OUTLINER_OT_collection_duplicate_linked().
|
static |
Definition at line 191 of file outliner_collections.cc.
References C, CTX_data_scene(), ED_outliner_collections_editor_poll(), ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by collection_new_poll(), OUTLINER_OT_collection_hierarchy_delete(), OUTLINER_OT_collection_instance(), and OUTLINER_OT_collection_link().
|
static |
Definition at line 1317 of file outliner_collections.cc.
References C, collection_flag_poll(), and COLLECTION_HIDE_VIEWPORT.
Referenced by OUTLINER_OT_collection_enable().
|
static |
Definition at line 1327 of file outliner_collections.cc.
References C, collection_flag_poll(), and COLLECTION_HIDE_RENDER.
Referenced by OUTLINER_OT_collection_enable_render().
|
static |
Definition at line 225 of file outliner_collections.cc.
References data, outliner_collection_from_tree_element(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, and TRAVERSE_SKIP_CHILDS.
Referenced by collection_new_exec().
|
static |
Definition at line 1337 of file outliner_collections.cc.
References BKE_id_is_editable(), BKE_view_layer_need_resync_tag(), C, clear(), LayerCollection::collection, collection_collect_data_to_edit(), COLLECTION_HIDE_RENDER, COLLECTION_HIDE_VIEWPORT, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), DEG_relations_tag_update(), Collection::flag, flag, LayerCollection::flag, Collection::id, Scene::id, ID_RECALC_BASE_FLAGS, wmOperator::idname, layer_collection_collect_data_to_edit(), LAYER_COLLECTION_HIDE, NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_tree_traverse(), SpaceOutliner::outlinevis, SO_VIEW_LAYER, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_disable(), OUTLINER_OT_collection_disable_render(), OUTLINER_OT_collection_enable(), and OUTLINER_OT_collection_enable_render().
|
static |
Definition at line 1291 of file outliner_collections.cc.
References C, clear(), ED_outliner_collections_editor_poll(), Collection::flag, flag, outliner_active_collection(), and outliner_collection_from_tree_element().
Referenced by collection_disable_poll(), collection_disable_render_poll(), collection_enable_poll(), and collection_enable_render_poll().
|
static |
Definition at line 1181 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_HIDE.
Referenced by OUTLINER_OT_collection_hide().
|
static |
Definition at line 434 of file outliner_collections.cc.
References active, BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_message_bus(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, ID_RECALC_SYNC_TO_EVAL, NC_SCENE, ND_LAYER, OPERATOR_FINISHED, outliner_collection_delete(), wmOperator::reports, WM_main_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by OUTLINER_OT_collection_hierarchy_delete().
|
static |
Definition at line 1186 of file outliner_collections.cc.
References C, ED_outliner_collections_editor_poll(), and outliner_active_layer_collection().
Referenced by OUTLINER_OT_collection_hide_inside(), and OUTLINER_OT_collection_show_inside().
|
static |
Definition at line 811 of file outliner_collections.cc.
References blender::ed::object::add_type(), BKE_collection_cycle_find(), BKE_layer_collection_activate_parent(), BKE_layer_collection_get_active(), C, LayerCollection::collection, collection_collect_data_to_edit(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), Scene::cursor, data, DEG_relations_tag_update(), Collection::id, id_us_plus(), Object::instance_collection, View3DCursor::location, ID::name, NC_SCENE, ND_LAYER, OB_DUPLICOLLECTION, OB_EMPTY, OPERATOR_FINISHED, outliner_tree_traverse(), Object::transflag, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_instance().
|
static |
Definition at line 1100 of file outliner_collections.cc.
References BKE_layer_collection_isolate_global(), BKE_view_layer_need_resync_tag(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_BASE_FLAGS, layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_collection_isolate_flag(), outliner_tree_traverse(), ptr, wmOperator::ptr, RNA_boolean_get(), RNA_pointer_create_discrete(), RNA_property_boolean_get(), RNA_struct_type_find_property(), SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by collection_isolate_invoke(), and OUTLINER_OT_collection_isolate().
|
static |
Definition at line 1144 of file outliner_collections.cc.
References C, collection_isolate_exec(), KM_SHIFT, wmEvent::modifier, wmOperator::ptr, RNA_property_boolean_set(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by OUTLINER_OT_collection_isolate().
|
static |
Definition at line 746 of file outliner_collections.cc.
References BKE_collection_child_add(), BKE_report(), C, LayerCollection::collection, collection_collect_data_to_edit(), COLLECTION_IS_MASTER, CTX_data_layer_collection(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), DEG_relations_tag_update(), Collection::flag, Collection::id, id_fake_user_clear(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SYNC_TO_EVAL, NC_SCENE, ND_LAYER, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_tree_traverse(), wmOperator::reports, RPT_ERROR, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_link().
|
static |
Definition at line 243 of file outliner_collections.cc.
References BKE_collection_add(), BKE_report(), C, collection_find_selected_to_add(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), DEG_relations_tag_update(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SYNC_TO_EVAL, Scene::master_collection, NC_SCENE, ND_LAYER, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_build_tree(), outliner_cleanup_tree(), outliner_tree_traverse(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_new().
|
static |
Definition at line 203 of file outliner_collections.cc.
References C, collection_edit_in_active_scene_poll(), and ED_operator_region_outliner_active().
Referenced by OUTLINER_OT_collection_new().
|
static |
Definition at line 520 of file outliner_collections.cc.
References BKE_layer_collection_objects_select(), BLI_freelistN(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, ED_outliner_select_sync_from_object_tag(), ListBase::first, Scene::id, ID_RECALC_SELECT, wmOperator::idname, LISTBASE_FOREACH, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_collect_selected_collections(), outliner_tree_traverse(), blender::ed::outliner::IDsSelectedData::selected_array, blender::ed::outliner::TreeElement::store_elem, STREQ, SpaceOutliner::tree, TSE_LAYER_COLLECTION, TSE_SELECTED, TreeStoreElem::type, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_objects_deselect(), and OUTLINER_OT_collection_objects_select().
|
static |
Definition at line 1114 of file outliner_dragdrop.cc.
References GS, ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_SCE, and ID::name.
Referenced by collection_drop_init(), and collection_drop_invoke().
|
static |
Definition at line 1176 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_HIDE.
Referenced by OUTLINER_OT_collection_show().
|
static |
Definition at line 967 of file outliner_collections.cc.
References BKE_layer_collection_set_flag(), BKE_view_layer_need_resync_tag(), C, clear(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), data, DEG_relations_tag_update(), flag, wmOperator::idname, layer_collection_collect_data_to_edit(), LAYER_COLLECTION_EXCLUDE, LAYER_COLLECTION_HOLDOUT, LAYER_COLLECTION_INDIRECT_ONLY, NC_SCENE, ND_LAYER, OPERATOR_FINISHED, outliner_tree_traverse(), SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by 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 1194 of file outliner_collections.cc.
References BKE_layer_collection_set_visible(), BKE_view_layer_need_resync_tag(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_BASE_FLAGS, wmOperator::idname, is_inside(), layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_tree_traverse(), SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_hide(), OUTLINER_OT_collection_hide_inside(), OUTLINER_OT_collection_show(), and OUTLINER_OT_collection_show_inside().
|
static |
Definition at line 942 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_EXCLUDE.
Referenced by OUTLINER_OT_collection_exclude_clear().
|
static |
Definition at line 937 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_EXCLUDE.
Referenced by OUTLINER_OT_collection_exclude_set().
|
static |
Definition at line 952 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_HOLDOUT.
Referenced by OUTLINER_OT_collection_holdout_clear().
|
static |
Definition at line 947 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_HOLDOUT.
Referenced by OUTLINER_OT_collection_holdout_set().
|
static |
Definition at line 962 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by OUTLINER_OT_collection_indirect_only_clear().
|
static |
Definition at line 957 of file outliner_collections.cc.
References C, collections_view_layer_poll(), and LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by OUTLINER_OT_collection_indirect_only_set().
|
static |
Definition at line 902 of file outliner_collections.cc.
References C, clear(), CTX_data_scene(), CTX_wm_space_outliner(), data, flag, LayerCollection::flag, layer_collection_collect_data_to_edit(), outliner_tree_traverse(), SpaceOutliner::outlinevis, result, SO_VIEW_LAYER, SpaceOutliner::tree, and 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(), and collections_indirect_only_set_poll().
|
static |
Definition at line 2239 of file outliner_tools.cc.
References BKE_constraint_remove_ex(), BKE_constraints_active_set(), C, CONSTRAINT_OFF, blender::ed::object::constraint_update(), Object::constraints, CTX_data_main(), blender::ed::outliner::TreeElement::directdata, bConstraint::flag, TreeStoreElem::flag, 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, TSE_POSE_CHANNEL, TSE_SELECTED, and WM_event_add_notifier().
Referenced by outliner_constraint_operation_exec().
|
static |
Definition at line 2218 of file outliner_tools.cc.
References C, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), OL_DOP_SELECT_LINKED, ptr, RNA_struct_is_ID(), blender::ed::object::select_linked_by_id(), and tree_element_cast().
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 832 of file outliner_dragdrop.cc.
References blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, TreeStoreElem::id, OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, TREESTORE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_poll().
|
static |
Definition at line 974 of file outliner_dragdrop.cc.
References C, blender::ed::object::constraint_copy_for_object(), blender::ed::object::constraint_copy_for_pose(), CTX_data_main(), CTX_data_scene(), CTX_wm_reports(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, TreeStoreElem::id, blender::ed::object::modifier_copy_to_object(), OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::object::shaderfx_copy(), TREESTORE, TSE_CONSTRAINT, TSE_GPENCIL_EFFECT, TSE_MODIFIER, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 716 of file outliner_dragdrop.cc.
References blender::ed::outliner::StackDropData::drag_directdata, blender::ed::outliner::StackDropData::drag_index, blender::ed::outliner::StackDropData::drag_tselem, wmDrag::flags, blender::ed::outliner::TreeElement::index, MEM_callocN(), blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, wmDrag::poin, and WM_DRAG_FREE_DATA.
Referenced by outliner_item_drag_drop_invoke().
|
static |
Definition at line 735 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), C, CTX_data_main(), DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_action, blender::ed::outliner::StackDropData::drop_te, ELEM, 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, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, TreeStoreElem::type, and wmEvent::xy.
Referenced by datastack_drop_poll().
|
static |
Definition at line 1059 of file outliner_dragdrop.cc.
References C, wmEvent::custom, DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, datastack_drop_copy(), datastack_drop_link(), datastack_drop_reorder(), blender::ed::outliner::StackDropData::drop_action, EVT_DATA_DRAGDROP, ListBase::first, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmDrag::poin, and wmOperator::reports.
Referenced by OUTLINER_OT_datastack_drop().
|
static |
Definition at line 932 of file outliner_dragdrop.cc.
References C, blender::ed::object::constraint_link(), bPoseChannel::constraints, Object::constraints, CTX_data_main(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, TreeStoreElem::id, blender::ed::object::modifier_link(), OB_GREASE_PENCIL, blender::ed::outliner::StackDropData::ob_parent, blender::ed::outliner::StackDropData::pchan_parent, blender::ed::object::shaderfx_link(), TREESTORE, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER_BASE, TSE_POSE_CHANNEL, Object::type, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 865 of file outliner_dragdrop.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), datastack_drop_are_types_valid(), datastack_drop_init(), blender::ed::outliner::StackDropData::drop_te, ED_region_tag_redraw_no_rebuild(), TreeStoreElem::flag, blender::ed::outliner::StackDropData::insert_type, outliner_flag_set(), wmDrag::poin, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, TREESTORE, TSE_DRAG_AFTER, TSE_DRAG_ANY, TSE_DRAG_BEFORE, TSE_DRAG_INTO, TSE_HIGHLIGHTED_ANY, wmDrag::type, and WM_DRAG_DATASTACK.
Referenced by outliner_dropboxes().
|
static |
Definition at line 1015 of file outliner_dragdrop.cc.
References C, blender::ed::object::constraint_move_to_index(), bPoseChannel::constraints, Object::constraints, CTX_wm_space_outliner(), 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(), Object::modifiers, blender::ed::outliner::StackDropData::ob_parent, outliner_find_tree_element(), outliner_get_insert_index(), blender::ed::outliner::StackDropData::pchan_parent, reports, RPT_WARNING, Object::shader_fx, blender::ed::object::shaderfx_move_to_index(), SpaceOutliner::tree, TSE_CONSTRAINT, TSE_GPENCIL_EFFECT, TSE_MODIFIER, and TreeStoreElem::type.
Referenced by datastack_drop_invoke().
|
static |
Definition at line 908 of file outliner_dragdrop.cc.
References DATA_STACK_DROP_COPY, DATA_STACK_DROP_LINK, DATA_STACK_DROP_REORDER, blender::ed::outliner::StackDropData::drop_action, blender::ed::outliner::StackDropData::pchan_parent, wmDrag::poin, and TIP_.
Referenced by outliner_dropboxes().
|
static |
Definition at line 318 of file outliner_edit.cc.
References BKE_report(), COLLECTION_IS_MASTER, ED_region_tag_redraw(), ELEM, Collection::flag, TreeStoreElem::flag, TreeStoreElem::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_LI, blender::ed::outliner::TreeElement::idcode, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), reports, RPT_INFO, TSE_ANIM_DATA, TSE_BONE_COLLECTION_BASE, TSE_CONSTRAINT_BASE, TSE_DEFGROUP_BASE, TSE_DRIVER_BASE, TSE_GENERIC_LABEL, TSE_GPENCIL_EFFECT_BASE, TSE_ID_BASE, TSE_IS_REAL_ID, TSE_LIBRARY_OVERRIDE_BASE, TSE_MODIFIER_BASE, TSE_NLA, TSE_POSE_BASE, TSE_R_LAYER_BASE, TSE_RNA_ARRAY_ELEM, TSE_RNA_PROPERTY, TSE_RNA_STRUCT, TSE_SCENE_COLLECTION_BASE, TSE_SCENE_OBJECTS_BASE, TSE_STRIP, TSE_STRIP_DATA, TSE_STRIP_DUP, TSE_TEXTBUT, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by item_rename_fn(), and outliner_item_rename_invoke().
|
static |
Definition at line 259 of file outliner_select.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, Bone::childbase, do_outliner_bone_select_recursive(), LISTBASE_FOREACH, PBONE_SELECTABLE, and select.
Referenced by do_outliner_bone_select_recursive(), tree_element_bone_activate(), and tree_element_posechannel_activate().
|
static |
Definition at line 1917 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), ANIM_add_driver(), ANIM_remove_driver(), CREATEDRIVER_WITH_DEFAULT_DVAR, DRIVER_TYPE_PYTHON, DRIVERS_EDITMODE_ADD, DRIVERS_EDITMODE_REMOVE, flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementRNACommon::get_property_rna(), KSP_FLAG_WHOLE_ARRAY, KSP_GROUP_KSNAME, MEM_freeN(), PointerRNA_NULL, ptr, reports, RNA_property_anim_editable(), RNA_property_array_length(), tree_element_cast(), tree_element_to_path(), TREESTORE, and TSE_SELECTED.
Referenced by outliner_drivers_addsel_exec(), and outliner_drivers_deletesel_exec().
|
static |
Definition at line 272 of file outliner_select.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, EBONE_SELECTABLE, ED_armature_ebone_is_child_recursive(), EditBone::flag, EditBone::next, and select.
Referenced by 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 1440 of file outliner_select.cc.
References blender::ed::outliner::tree_iterator::all(), C, ELEM, SpaceOutliner::flag, OL_SETSEL_EXTEND, OL_SETSEL_NORMAL, blender::ed::outliner::TreeViewContext::scene, SO_SYNC_SELECT, blender::ed::outliner::TreeElement::subtree, tree_element_object_activate(), TSE_EBONE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_SOME_ID, TSE_STRIP, TSE_STRIP_DATA, TSE_STRIP_DUP, TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by 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(), BKE_object_is_in_editmode(), C, CTX_data_main(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), 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, Scene::id, ID_RECALC_SELECT, NC_SCENE, ND_MODE, NS_MODE_OBJECT, Base::object, and WM_event_add_notifier().
Referenced by 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 BKE_view_layer_base_deselect_all(), BKE_view_layer_base_find(), BKE_view_layer_base_select_and_set_active(), BKE_view_layer_synced_ensure(), C, DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ED_undo_group_begin(), ED_undo_group_end(), ED_undo_push(), Scene::id, ID_RECALC_SELECT, Object::mode, blender::ed::object::mode_set(), OB_MODE_OBJECT, blender::ed::outliner::TreeViewContext::obact, blender::ed::outliner::TreeViewContext::scene, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by 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(), BKE_id_is_editable(), BKE_report(), C, CTX_data_main(), CTX_wm_reports(), DEG_id_tag_update(), ED_object_posemode_enter_ex(), ED_object_posemode_exit_ex(), ED_outliner_select_sync_from_object_tag(), ED_undo_push(), Object::id, Scene::id, ID_RECALC_SELECT, Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, NS_MODE_POSE, OB_MODE_POSE, Base::object, RPT_WARNING, and WM_event_add_notifier().
Referenced by outliner_item_mode_toggle().
|
static |
Definition at line 2108 of file outliner_edit.cc.
References KeyingSet::active_path, blender::ed::outliner::tree_iterator::all_open(), BKE_keyingset_add_path(), BKE_keyingset_find_path(), BKE_keyingset_free_path(), BLI_listbase_count(), flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementRNACommon::get_property_rna(), KEYINGSET_EDITMODE_ADD, KEYINGSET_EDITMODE_REMOVE, KSP_GROUP_KSNAME, MEM_freeN(), KeyingSet::paths, ptr, RNA_property_anim_editable(), tree_element_cast(), tree_element_to_path(), TREESTORE, and TSE_SELECTED.
Referenced by outliner_keyingset_additems_exec(), and outliner_keyingset_removeitems_exec().
|
static |
Select object tree
Definition at line 243 of file outliner_select.cc.
References blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, blender::ed::object::base_select(), BKE_object_is_child_recursive(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), LISTBASE_FOREACH, and select.
Referenced by tree_element_object_activate().
|
static |
Definition at line 3650 of file outliner_tools.cc.
References C, ED_outliner_select_sync_from_outliner(), ED_region_tag_redraw_no_rebuild(), ELEM, TreeStoreElem::flag, get_element_operation_type(), ID_GR, ID_LI, OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_item_select(), outliner_operator_menu(), TREESTORE, TSE_ANIM_DATA, TSE_CONSTRAINT, TSE_DRIVER_BASE, TSE_ID_BASE, TSE_LAYER_COLLECTION, TSE_MODIFIER, TSE_SCENE_COLLECTION_BASE, TSE_SELECTED, TSE_VIEW_COLLECTION_BASE, WM_menu_name_call(), and WM_OP_INVOKE_REGION_WIN.
Referenced by outliner_operation_invoke().
|
static |
Definition at line 1689 of file outliner_select.cc.
References active, C, do_outliner_range_select(), do_outliner_range_select_recursive(), do_outliner_select_recursive(), 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::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, TREESTORE, TSE_ACTIVE, and TSE_SELECTED.
Referenced by do_outliner_range_select(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 1648 of file outliner_select.cc.
References active, can_select_recursive(), do_outliner_range_select_recursive(), ELEM, TreeStoreElem::flag, LISTBASE_FOREACH, TREESTORE, TSE_CLOSED, TSE_LAYER_COLLECTION, TSE_SELECTED, and TreeStoreElem::type.
Referenced by do_outliner_range_select(), and do_outliner_range_select_recursive().
|
static |
Definition at line 1624 of file outliner_select.cc.
References can_select_recursive(), LayerCollection::collection, do_outliner_select_recursive(), TreeStoreElem::flag, LISTBASE_FOREACH, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, and TreeStoreElem::type.
Referenced by do_outliner_range_select(), do_outliner_select_recursive(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 2149 of file outliner_select.cc.
References do_outliner_select_walk(), TreeStoreElem::flag, outliner_find_next_element(), outliner_find_previous_element(), outliner_walk_left(), outliner_walk_right(), TREESTORE, TSE_SELECTED, UI_SELECT_WALK_DOWN, UI_SELECT_WALK_LEFT, UI_SELECT_WALK_RIGHT, and UI_SELECT_WALK_UP.
Referenced by do_outliner_select_walk(), and outliner_walk_select_invoke().
| 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 3997 of file outliner_draw.cc.
References C, CTX_data_main(), CTX_wm_region(), CTX_wm_space_outliner(), View2D::cur, draw_outliner(), ED_outliner_select_sync_flag_outliners(), ED_outliner_select_sync_is_dirty(), ELEM, blender::ui::Emboss, SpaceOutliner::flag, View2D::flag, 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_shows_mode_column(), outliner_sync_selection(), outliner_tree_dimensions(), outliner_update_viewable_area(), outliner_viewcontext_init(), SpaceOutliner::outlinevis, blender::ed::outliner::TreeViewContext::scene, SO_DATA_API, SO_ID_ORPHANS, SO_LIB_OVERRIDE_VIEW_HIERARCHIES, SO_LIB_OVERRIDE_VIEW_PROPERTIES, SO_LIBRARIES, SO_OVERRIDES_LIBRARY, SO_SYNC_SELECT, SpaceOutliner::tree, UI_block_begin(), UI_block_draw(), UI_block_emboss_set(), UI_block_end(), UI_block_flag_enable(), UI_BLOCK_NO_DRAW_OVERRIDDEN_STATE, UI_view2d_view_ortho(), ARegion::v2d, V2D_PIXELOFS_X, V2D_PIXELOFS_Y, blender::ed::outliner::TreeViewContext::view_layer, x, and rctf::xmax.
Referenced by draw_outliner(), and outliner_main_region_draw().
|
static |
Definition at line 2129 of file outliner_tools.cc.
References BONE_HIDDEN_A, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, blender::ed::outliner::TreeElement::directdata, EditBone::flag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Specialized poll callback for these operators to work in data-blocks view only.
Definition at line 1744 of file outliner_edit.cc.
References CTX_wm_area(), CTX_wm_space_outliner(), SpaceOutliner::outlinevis, SO_DATA_API, SPACE_OUTLINER, and ScrArea::spacetype.
Referenced by 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 2262 of file outliner_edit.cc.
References CTX_wm_area(), CTX_wm_space_outliner(), SpaceOutliner::outlinevis, SO_ID_ORPHANS, SPACE_OUTLINER, and ScrArea::spacetype.
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 3275 of file outliner_draw.cc.
References BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeElement::directdata, element_should_draw_faded(), Base::flag, blender::ed::outliner::TreeElement::flag, LayerCollection::flag, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, LAYER_COLLECTION_EXCLUDE, LAYER_COLLECTION_VISIBLE_VIEW_LAYER, blender::ed::outliner::TreeElement::parent, LayerCollection::runtime_flag, blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::TreeElement::store_elem, TE_CHILD_NOT_IN_COLLECTION, tree_element_cast(), TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_SOME_ID, 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().
|
static |
Definition at line 2184 of file outliner_select.cc.
References find_walk_select_start_element(), ListBase::first, outliner_find_element_with_flag(), outliner_is_element_visible(), blender::ed::outliner::TreeElement::parent, SpaceOutliner::tree, and 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 279 of file tree_display_override_library_hierarchies.cc.
References BLI_ghash_lookup(), FOREACH_BREAK, MainIDRelationsEntry::from_ids, GS, Object::id, ID_OB, IDWALK_CB_LOOPBACK, ID::name, MainIDRelationsEntryItem::next, Object::parent, MainIDRelations::relations_from_pointers, and MainIDRelationsEntry::to_ids.
|
static |
Definition at line 106 of file outliner_tools.cc.
References BLI_assert, ELEM, TreeStoreElem::flag, GS, TreeStoreElem::id, ID_AC, ID_AR, ID_BR, ID_CA, ID_CF, ID_CU_LEGACY, ID_CV, ID_GD_LEGACY, ID_GP, ID_GR, ID_IM, ID_IP, ID_KE, ID_LA, ID_LI, ID_LP, ID_LS, ID_LT, ID_MA, ID_MB, ID_MC, ID_ME, ID_MSK, ID_NLA, ID_NT, ID_OB, ID_PA, ID_PAL, ID_PC, ID_PT, ID_SCE, ID_SCR, ID_SO, ID_SPK, ID_TE, ID_TXT, ID_VF, ID_VO, ID_WM, ID_WO, ID_WS, ID::name, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by do_outliner_operation_event(), 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 467 of file tree_element_overrides.cc.
References PROP_COLLECTION, ptr, RNA_property_pointer_type(), RNA_property_type(), RNA_property_ui_icon(), and RNA_struct_ui_icon().
|
static |
Definition at line 498 of file outliner_sync.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_active_bone(), CTX_data_active_pose_bone(), CTX_data_scene(), CTX_data_view_layer(), blender::ed::outliner::SyncSelectActiveData::edit_bone, blender::ed::outliner::SyncSelectActiveData::object, blender::ed::outliner::SyncSelectActiveData::pose_channel, blender::seq::select_active_get(), and blender::ed::outliner::SyncSelectActiveData::strip.
Referenced by outliner_sync_selection().
|
static |
Definition at line 196 of file outliner_tools.cc.
References outliner_find_element_with_flag(), SpaceOutliner::tree, and TSE_ACTIVE.
Referenced by outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_data_operation_poll(), outliner_id_operation_exec(), outliner_id_operation_item_poll(), outliner_object_operation_exec(), and outliner_operation_tree_element_poll().
|
static |
Definition at line 2176 of file outliner_tools.cc.
References blender::ed::outliner::TreeElement::directdata, bGPDlayer::flag, GP_LAYER_HIDE, GP_LAYER_SELECT, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 2197 of file outliner_tools.cc.
References OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, and tree_element_cast().
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 478 of file outliner_edit.cc.
References BKE_library_ID_is_indirectly_used(), BKE_main_id_tag_idcode(), BKE_reportf(), BKE_workspace_id_tag_all_visible(), BLI_assert, CTX_data_main(), CTX_data_scene(), IDOverrideLibrary::flag, TreeStoreElem::id, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_LI, ID_REAL_USERS, ID_TAG_DOIT, ID_TAG_INDIRECT, ID_TAG_PRE_EXISTING, ID_WS, blender::ed::outliner::TreeElement::idcode, lib, LIBOVERRIDE_FLAG_NO_HIERARCHY, ID::name, NC_WINDOW, ID::override_library, reports, RPT_WARNING, ID::tag, TSE_LAYER_COLLECTION, TSE_SOME_ID, TreeStoreElem::type, UNUSED_VARS_NDEBUG, and WM_event_add_notifier().
Referenced by 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 541 of file outliner_edit.cc.
References id_delete_tag(), and reports.
Referenced by outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 1604 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_clear().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1592 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_set().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 338 of file tree_display_override_library_hierarchies.cc.
References BKE_lib_override_library_get(), IDOverrideLibrary::hierarchy_root, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_VIRTUAL, and ID::override_library.
|
static |
Definition at line 981 of file outliner_tools.cc.
References BKE_id_newptr_and_tag_clear(), BKE_lib_id_make_local(), BKE_lib_override_library_make_local(), C, CTX_data_main(), TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, ID_TAG_EXTERN, LIB_ID_MAKELOCAL_ASSET_DATA_CLEAR, and ID::tag.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1490 of file outliner_tools.cc.
References BKE_reportf(), BLI_assert, data, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID::name, reports, RPT_WARNING, and TSE_IS_REAL_ID.
|
static |
Definition at line 1432 of file outliner_tools.cc.
References ViewLayer::basact, BKE_id_delete(), BKE_lib_override_library_id_reset(), BKE_lib_override_library_is_hierarchy_leaf(), BKE_libblock_remap(), BKE_view_layer_active_object_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, DEG_id_tag_update(), GS, Scene::id, ID_OB, ID_RECALC_BASE_FLAGS, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, and ID_REMAP_SKIP_INDIRECT_USAGE.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1267 of file outliner_tools.cc.
References blender::ed::object::base_free_and_unlink(), BKE_lib_override_library_create(), BKE_lib_override_library_create_from_id(), BKE_main_id_newptr_and_tag_clear(), BKE_main_id_tag_all(), BLI_assert, BLI_assert_unreachable, data, IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, GS, IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_TAG_DOIT, LIBOVERRIDE_FLAG_SYSTEM_DEFINED, ID::override_library, IDOverrideLibrary::reference, ID::session_uid, and ID::tag.
Referenced by id_override_library_create_hierarchy_process().
|
static |
Definition at line 1077 of file outliner_tools.cc.
References BKE_idtype_idcode_is_linkable(), BKE_main_id_tag_all(), BKE_reportf(), BLI_assert, C, CTX_data_main(), data, ID::flag, IDOverrideLibrary::flag, TreeStoreElem::flag, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, GS, IDOverrideLibrary::hierarchy_root, Collection::id, Library::id, TreeStoreElem::id, ID_FLAG_EMBEDDED_DATA, ID_FLAG_EMBEDDED_DATA_LIB_OVERRIDE, ID_GR, ID_IS_LINKED, ID_IS_OVERRIDABLE_LIBRARY, ID_IS_OVERRIDABLE_LIBRARY_HIERARCHY, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, ID_IS_OVERRIDE_LIBRARY_VIRTUAL, ID_OB, ID_TAG_DOIT, Object::instance_collection, ID::lib, LIBOVERRIDE_FLAG_SYSTEM_DEFINED, ID::name, OB_ARMATURE, OB_EMPTY, ID::override_library, blender::ed::outliner::TreeElement::parent, IDOverrideLibrary::reference, reports, RPT_WARNING, ID::session_uid, blender::ed::outliner::TreeElement::store_elem, ID::tag, TSE_CLOSED, TSE_IS_REAL_ID, TSE_SELECTED, TSE_SOME_ID, Object::type, TreeStoreElem::type, and UNUSED_VARS_NDEBUG.
|
static |
Definition at line 1364 of file outliner_tools.cc.
References BKE_reportf(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, IDOverrideLibrary::flag, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDOverrideLibrary::hierarchy_root, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, id_override_library_create_hierarchy(), LIBOVERRIDE_FLAG_SYSTEM_DEFINED, ID::override_library, IDOverrideLibrary::reference, reports, RPT_WARNING, and ID::session_uid.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1562 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, data, IDOverrideLibrary::hierarchy_root, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, ID::override_library, and TSE_IS_REAL_ID.
|
static |
Definition at line 1581 of file outliner_tools.cc.
References BKE_lib_override_library_delete(), C, CTX_data_main(), and data.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1409 of file outliner_tools.cc.
References BKE_lib_override_library_id_hierarchy_reset(), BKE_lib_override_library_id_reset(), BLI_assert, C, CLOG_WARN, CTX_data_main(), data, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, and TSE_IS_REAL_ID.
|
static |
Definition at line 1520 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, data, IDOverrideLibrary::hierarchy_root, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, ID::override_library, and TSE_IS_REAL_ID.
|
static |
Definition at line 1538 of file outliner_tools.cc.
References BKE_lib_override_library_resync(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), data, NC_WINDOW, BlendFileReadReport::reports, reports, and WM_event_add_notifier().
Referenced by outliner_liboverride_operation_exec().
| void blender::ed::outliner::id_remap_fn | ( | bContext * | C, |
| TreeStoreElem * | tselem ) |
Definition at line 787 of file outliner_edit.cc.
References BLI_assert, GS, TreeStoreElem::id, ID::name, ot, RNA_enum_set(), RNA_enum_set_identifier(), WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
Referenced by outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 1616 of file outliner_tools.cc.
References C, TreeStoreElem::id, and blender::ed::object::select_linked_by_id().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 196 of file outliner_dragdrop.cc.
References outliner_is_collection_tree_element().
Referenced by outliner_drop_insert_collection_find().
|
static |
The active object is only needed for reference.
Definition at line 124 of file outliner_draw.cc.
References BKE_object_data_is_in_editmode(), Object::data, GS, Object::mode, ID::name, OB_DATA_SUPPORT_EDITMODE, and OB_MODE_EDIT.
Referenced by outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 201 of file outliner_dragdrop.cc.
References ID_OB, blender::ed::outliner::TreeElement::idcode, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by datastack_drop_init().
|
static |
Definition at line 207 of file outliner_dragdrop.cc.
References TREESTORE, TSE_POSE_CHANNEL, and TreeStoreElem::type.
Referenced by datastack_drop_init().
| void blender::ed::outliner::item_rename_fn | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 382 of file outliner_edit.cc.
References CTX_wm_region(), do_item_rename(), and reports.
Referenced by outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 89 of file tree_element_overrides.cc.
References BKE_lib_override_library_property_is_animated(), BKE_lib_override_rna_property_find(), data, ELEM, LIBOVERRIDE_OP_FLAG_IDPOINTER_MATCH_REFERENCE, PROP_COLLECTION, PROP_POINTER, RNA_id_pointer_create(), RNA_property_pointer_type(), and RNA_struct_is_ID().
Referenced by blender::ed::outliner::TreeElementOverridesBase::expand().
|
static |
Definition at line 878 of file outliner_collections.cc.
References LayerCollection::collection, COLLECTION_IS_MASTER, data, blender::ed::outliner::TreeElement::directdata, Collection::flag, TRAVERSE_CONTINUE, TREESTORE, TSE_LAYER_COLLECTION, and TreeStoreElem::type.
Referenced by collection_flag_exec(), collection_isolate_exec(), collection_view_layer_exec(), collection_visibility_exec(), and collections_view_layer_poll().
| void blender::ed::outliner::lib_reload_fn | ( | bContext * | C, |
| ReportList * | , | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 1154 of file outliner_edit.cc.
References lib_relocate(), ot, and WM_operatortype_find().
Referenced by outliner_lib_operation_exec().
|
static |
Definition at line 988 of file outliner_edit.cc.
References BLI_assert, BLI_path_cmp, BLI_path_split_dir_file(), FILE_MAX, FILE_MAXDIR, TreeStoreElem::id, ID_LI, blender::ed::outliner::TreeElement::idcode, lib, ID::name, ot, printf, ret, RNA_boolean_set(), RNA_string_set(), UNUSED_VARS_NDEBUG, WM_OP_EXEC_DEFAULT, WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), and WM_operator_properties_free().
Referenced by lib_reload_fn(), 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 1096 of file outliner_edit.cc.
References lib_relocate(), ot, and WM_operatortype_find().
Referenced by outliner_lib_operation_exec().
|
static |
Definition at line 642 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), C, CTX_data_main(), ELEM, Material::gp_style, Object::id, ID_MA, ID_OB, NC_MATERIAL, NC_OBJECT, NC_SPACE, ND_OB_SHADING, ND_SHADING_LINKS, ND_SPACE_VIEW3D, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_ID_drop_find(), Object::totcol, Object::type, WM_drag_get_local_ID_from_event(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_material_drop().
|
static |
Definition at line 633 of file outliner_dragdrop.cc.
References C, ELEM, Object::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_MA, ID_OB, outliner_ID_drop_find(), and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 833 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ED_outliner_select_sync_from_outliner(), element, OL_ITEM_ACTIVATE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by merged_element_search_menu().
|
static |
Definition at line 788 of file outliner_tools.cc.
References BLI_strcasestr(), blender::ed::outliner::TreeElementIcon::icon, LISTBASE_FOREACH, merged_element_search_fn_recursive(), str, STRNCPY(), tree, tree_element_get_icon(), tree_element_id_type_to_index(), TREESTORE, TreeStoreElem::type, UI_search_item_add(), and UI_search_items_find_index().
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 847 of file outliner_tools.cc.
References C, data, blender::ui::Emboss, merged_element_search_exec_fn(), merged_element_search_update_fn(), UI_block_begin(), UI_block_bounds_set_popup(), UI_block_flag_enable(), UI_BLOCK_LOOP, UI_BLOCK_MOVEMOUSE_QUIT, UI_BLOCK_SEARCH_MENU, UI_BLOCK_THEME_STYLE_POPUP, UI_block_theme_style_set(), UI_BTYPE_LABEL, UI_BUT_ACTIVATE_ON_INIT, UI_but_flag_enable(), UI_but_func_search_set(), UI_SEARCHBOX_BOUNDS, UI_searchbox_size_y(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), and uiDefSearchBut().
Referenced by 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 885 of file outliner_tools.cc.
References C, MEM_callocN(), MEM_freeN(), merged_element_search_menu(), blender::ed::outliner::MergedSearchData::parent_element, blender::ed::outliner::MergedSearchData::select_element, and UI_popup_block_invoke().
Referenced by outliner_item_do_activate_from_cursor().
|
static |
Definition at line 817 of file outliner_tools.cc.
References data, merged_element_search_fn_recursive(), 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().
|
static |
Definition at line 2284 of file outliner_tools.cc.
References C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), data, DEG_id_tag_update(), DEG_relations_tag_update(), depsgraph, blender::ed::outliner::TreeElement::directdata, eModifierMode_Realtime, eModifierMode_Render, TreeStoreElem::flag, Object::id, ID_OB, ID_RECALC_GEOMETRY, ModifierData::mode, blender::ed::object::modifier_apply(), blender::ed::object::MODIFIER_APPLY_DATA, 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, TSE_SELECTED, and WM_event_add_notifier().
Referenced by outliner_modifier_operation_exec().
|
static |
Definition at line 696 of file outliner_draw.cc.
References ANIM_armature_bonecoll_name_set(), BKE_gpencil_layer_active_set(), BKE_library_filepath_set(), BKE_main_blendfile_path(), BKE_object_defgroup_unique_name(), BKE_reportf(), BKE_view_layer_rename(), BLI_assert, BLI_exists(), BLI_path_abs(), BLI_strncpy(), BLI_uniquename(), bPoseChannel::bone, C, CTX_data_main(), CTX_wm_message_bus(), CTX_wm_reports(), CTX_wm_space_outliner(), Object::data, DEG_id_tag_update(), DEG_relations_tag_update(), blender::ed::outliner::TreeElement::directdata, ED_armature_bone_rename(), ED_id_rename(), ED_undo_push(), bArmature::edbo, ELEM, FILE_MAX, TreeStoreElem::flag, GS, bArmature::id, bGPdata::id, GreasePencil::id, Object::id, Scene::id, TreeStoreElem::id, ID_IM, ID_LI, ID_MA, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_SCE, ID_TAG_MISSING, ID_TE, blender::ed::outliner::TreeElement::idcode, bGPDlayer::info, bGPdata::layers, lib, NA_RENAME, NA_SELECTED, Bone::name, BoneCollection::name, bPoseChannel::name, EditBone::name, GreasePencilLayerTreeNode::name, ID::name, ViewLayer::name, NC_ANIMATION, NC_GPENCIL, NC_ID, NC_IMAGE, NC_MATERIAL, NC_OBJECT, NC_SCENE, NC_TEXTURE, ND_ANIMCHAN, ND_BONE_COLLECTION, ND_DATA, ND_MODIFIER, ND_POSE, OB_ARMATURE, offsetof, OL_SETSEL_NORMAL, outliner_find_tree_element(), outliner_viewcontext_init(), RPT_ERROR, RPT_INFO, STRNCPY(), SpaceOutliner::tree, tree_element_activate(), tree_element_cast(), SpaceOutliner::treestore, TSE_ACTION_SLOT, TSE_BONE, TSE_BONE_COLLECTION, TSE_DEFGROUP, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_MODIFIER, TSE_NLA_ACTION, TSE_NLA_TRACK, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_SOME_ID, TSE_TEXTBUT, Object::type, TreeStoreElem::type, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by outliner_buttons().
|
static |
Definition at line 2403 of file outliner_tools.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, C, CTX_data_edit_object(), CTX_data_main(), CTX_data_view_layer(), blender::ed::object::editmode_exit(), blender::ed::object::EM_FREEDATA, Object::id, ID_TAG_DOIT, Base::object, outliner_batch_delete_object_hierarchy_tag(), Object::parent, reports, and ID::tag.
Referenced by outliner_delete_exec().
|
static |
Definition at line 934 of file outliner_tools.cc.
References BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), Base::flag, and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 896 of file outliner_tools.cc.
References blender::ed::object::BA_SELECT, blender::ed::object::base_select(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 920 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), OL_ITEM_ACTIVATE, OL_ITEM_RECURSIVE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by outliner_object_operation_exec().
|
static |
Base properties.
Definition at line 333 of file outliner_draw.cc.
References C, and outliner_object_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Object properties.
Definition at line 323 of file outliner_draw.cc.
References C, and outliner_object_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 3191 of file outliner_tools.cc.
References blender::animrig::legacy::action_treat_as_legacy(), Main::actions, actionset_id_fn(), BKE_report(), BKE_reportf(), BLI_findlink(), C, CTX_data_main(), CTX_wm_space_outliner(), DEG_id_tag_update(), ED_undo_push(), get_element_operation_type(), get_target_element(), bAction::id, TreeStoreElem::id, ID_AC, ID_RECALC_ANIMATION, bAction::idroot, ID::name, NC_ANIMATION, ND_NLA_ACTCHANGE, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_id_set_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, RPT_WARNING, blender::ed::outliner::TreeElement::store_elem, TSE_ANIM_DATA, and WM_event_add_notifier().
Referenced by OUTLINER_OT_action_set().
|
static |
Definition at line 613 of file outliner_collections.cc.
References C, CTX_wm_space_outliner(), data, outliner_find_first_selected_collection(), outliner_tree_traverse(), SpaceOutliner::tree, and TSE_SELECTED.
Referenced by collection_flag_poll().
|
static |
Definition at line 505 of file outliner_collections.cc.
References C, CTX_wm_space_outliner(), data, outliner_find_first_selected_layer_collection(), outliner_tree_traverse(), SpaceOutliner::tree, and TSE_SELECTED.
Referenced by collection_inside_poll().
|
static |
Definition at line 82 of file tree_element_id_armature.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), Bone::childbase, LISTBASE_FOREACH, outliner_add_bone(), blender::ed::outliner::TreeElement::subtree, and TSE_BONE.
Referenced by outliner_add_bone().
| BLI_INLINE void blender::ed::outliner::outliner_add_collection_init | ( | TreeElement * | te, |
| Collection * | collection ) |
Definition at line 396 of file outliner_tree.cc.
References BKE_collection_ui_name_get(), BLI_INLINE, blender::ed::outliner::TreeElement::directdata, and blender::ed::outliner::TreeElement::name.
Referenced by outliner_add_collection_recursive().
| BLI_INLINE void blender::ed::outliner::outliner_add_collection_objects | ( | SpaceOutliner * | space_outliner, |
| ListBase * | tree, | ||
| Collection * | collection, | ||
| TreeElement * | parent ) |
Definition at line 402 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), BLI_INLINE, Collection::gobject, LISTBASE_FOREACH, tree, and TSE_SOME_ID.
Referenced by outliner_add_collection_recursive().
| TreeElement * blender::ed::outliner::outliner_add_collection_recursive | ( | SpaceOutliner * | space_outliner, |
| Collection * | collection, | ||
| TreeElement * | ten ) |
Definition at line 413 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), Collection::children, LISTBASE_FOREACH, outliner_add_collection_init(), outliner_add_collection_objects(), SpaceOutliner::outlinevis, SO_SCENES, blender::ed::outliner::TreeElement::subtree, and TSE_SOME_ID.
Referenced by blender::ed::outliner::TreeElementCollectionBase::expand(), and blender::ed::outliner::TreeElementIDCollection::expand().
|
static |
Definition at line 3295 of file outliner_tools.cc.
References C, clear_animdata_fn(), cleardrivers_animdata_fn(), CTX_data_main(), CTX_wm_manager(), CTX_wm_space_outliner(), DEG_relations_tag_update(), ED_undo_push(), get_element_operation_type(), get_target_element(), NC_ANIMATION, ND_ANIMCHAN, ND_NLA_ACTCHANGE, OPERATOR_CANCELLED, OPERATOR_FINISHED, OUTLINER_ANIMOP_CLEAR_ACT, OUTLINER_ANIMOP_CLEAR_ADT, OUTLINER_ANIMOP_CLEAR_DRV, OUTLINER_ANIMOP_REFRESH_DRV, OUTLINER_ANIMOP_SET_ACT, outliner_do_data_operation(), wmOperator::ptr, refreshdrivers_animdata_fn(), RNA_enum_get(), TSE_ANIM_DATA, unlinkact_animdata_fn(), WM_event_add_notifier(), WM_OP_INVOKE_REGION_WIN, and WM_operator_name_call().
Referenced by OUTLINER_OT_animdata_operation().
| bool blender::ed::outliner::outliner_animdata_test | ( | const AnimData * | adt | ) |
Definition at line 62 of file common.cc.
References AnimData::action, AnimData::drivers, ListBase::first, and AnimData::nla_tracks.
Referenced by blender::ed::outliner::TreeElementID::expand_animation_data().
|
static |
Definition at line 3920 of file outliner_draw.cc.
References View2D::cur, floor, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_TRIS, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformThemeColorBlend(), immVertex2f(), immVertexFormat(), OL_Y_OFFSET, outliner_back(), pos, TH_BACK, TH_ROW_ALTERNATE, View2D::tot, UI_GetThemeColor4fv(), UI_UNIT_Y, ARegion::v2d, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by draw_outliner(), and outliner_back().
|
static |
Create either a RNA_ObjectBase or a RNA_Object pointer.
Definition at line 355 of file outliner_draw.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), Object::id, Scene::id, ptr, RNA_id_pointer_create(), and RNA_pointer_create_discrete().
Referenced by outliner_collection_set_flag_recursive().
|
static |
Definition at line 2440 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_scene_collections_object_remove(), DEG_id_tag_update_ex(), ID_RECALC_BASE_FLAGS, ID_TAG_DOIT, LISTBASE_FOREACH, and Main::objects.
Referenced by outliner_delete_exec().
|
static |
Definition at line 2363 of file outliner_tools.cc.
References BKE_view_layer_object_bases_get(), BLI_assert, Object::id, ID_TAG_DOIT, Base::next, Base::object, outliner_batch_delete_object_tag(), Object::parent, reports, and ID::tag.
Referenced by object_batch_delete_hierarchy_tag_fn().
|
static |
Definition at line 2336 of file outliner_tools.cc.
References BKE_library_ID_is_indirectly_used(), BKE_reportf(), BLI_assert, Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_TAG_DOIT, ID_TAG_INDIRECT, ID::name, reports, RPT_WARNING, and ID::tag.
Referenced by outliner_batch_delete_object_hierarchy_tag().
|
static |
Definition at line 1950 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(), select, UI_UNIT_Y, rctf::ymax, rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_box_select(), and outliner_box_select_exec().
|
static |
Definition at line 1963 of file outliner_select.cc.
References C, CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), DEG_id_tag_update(), ED_outliner_select_sync_from_outliner(), ED_region_tag_redraw_no_rebuild(), Scene::id, ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, outliner_box_select(), outliner_box_select_exec(), outliner_flag_set(), wmOperator::ptr, RNA_enum_get(), SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, select, TSE_SELECTED, UI_view2d_region_to_view_rctf(), ARegion::v2d, WM_event_add_notifier(), and WM_operator_properties_border_to_rctf().
Referenced by outliner_box_select_exec(), and OUTLINER_OT_select_box().
|
static |
Definition at line 1990 of file outliner_select.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), OPERATOR_CANCELLED, 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(), wmOperator::ptr, RNA_boolean_get(), SpaceOutliner::tree, UI_view2d_region_to_view(), ARegion::v2d, WM_event_drag_start_mval(), and WM_gesture_box_invoke().
Referenced by outliner_box_select_invoke(), and OUTLINER_OT_select_box().
| void blender::ed::outliner::outliner_build_tree | ( | Main * | mainvar, |
| 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 1147 of file outliner_tree.cc.
References BLI_assert, BLI_assert_msg, blender::ed::outliner::AbstractTreeDisplay::create_from_display_mode(), ED_outliner_support_searching(), SpaceOutliner::filter, SpaceOutliner::flag, outliner_clear_newid_from_main(), outliner_collections_children_sort(), outliner_filter_tree(), outliner_free_tree(), outliner_restore_scrolling_position(), outliner_sort(), outliner_storage_cleanup(), outliner_store_scrolling_position(), SpaceOutliner::outlinevis, RGN_DRAW_NO_REBUILD, ARegion::runtime, SpaceOutliner::runtime, SpaceOutliner::search_flags, SpaceOutliner::search_string, SO_DATA_API, SO_FILTER_NO_CHILDREN, SO_SEARCH_RECURSIVE, SO_SKIP_SORT_ALPHA, SO_TREESTORE_REBUILD, source_data, SpaceOutliner::storeflag, SpaceOutliner::tree, blender::ed::outliner::SpaceOutliner_Runtime::tree_display, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, and SpaceOutliner::treestore.
Referenced by collection_new_exec(), and draw_outliner().
|
static |
Definition at line 1988 of file outliner_draw.cc.
References b, and UI_but_context_int_get().
Referenced by outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 2148 of file outliner_draw.cc.
References BLI_assert, C, View2D::cur, Library::filepath, TreeStoreElem::flag, GS, TreeStoreElem::id, ID_LI, len, MAX_ID_NAME, blender::ed::outliner::TreeElement::name, EditBone::name, ID::name, ModifierData::name, namebutton_fn(), NC_SPACE, ND_SPACE_OUTLINER, OL_NAMEBUTTON, TREESTORE, TSE_EBONE, TSE_MODIFIER, TSE_TEXTBUT, TreeStoreElem::type, UI_BTYPE_TEXT, UI_but_active_only(), UI_but_flag_disable(), UI_but_func_rename_set(), UI_BUT_UNDO, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), ARegion::v2d, WM_event_add_notifier(), rctf::xmax, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
| void blender::ed::outliner::outliner_cleanup_tree | ( | SpaceOutliner * | space_outliner | ) |
Definition at line 157 of file outliner_tree.cc.
References outliner_free_tree(), outliner_storage_cleanup(), and SpaceOutliner::tree.
Referenced by collection_new_exec(), outliner_constraint_operation_exec(), outliner_delete_exec(), outliner_modifier_operation_exec(), outliner_orphans_purge_exec(), and outliner_scene_operation_exec().
|
static |
Definition at line 1363 of file outliner_edit.cc.
References CTX_wm_area(), CTX_wm_space_outliner(), ED_area_tag_redraw(), OPERATOR_FINISHED, and SpaceOutliner::search_string.
Referenced by OUTLINER_OT_clear_filter().
|
static |
Definition at line 1132 of file outliner_tree.cc.
References FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, and ID::newid.
Referenced by outliner_build_tree().
|
static |
Definition at line 2617 of file outliner_tools.cc.
References data, ELEM, GS, TreeStoreElem::id, ID_GR, ID_IS_OVERRIDE_LIBRARY_HIERARCHY_ROOT, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_SCE, ID::name, outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::parent, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_delete_exec().
| TreeTraversalAction blender::ed::outliner::outliner_collect_selected_collections | ( | TreeElement * | te, |
| void * | customdata ) |
Definition at line 93 of file outliner_collections.cc.
References BLI_addtail(), BLI_genericNodeN(), data, GS, TreeStoreElem::id, ID_GR, ID::name, outliner_is_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by collection_objects_select_exec(), outliner_color_tag_set_exec(), and outliner_item_drag_drop_invoke().
| TreeTraversalAction blender::ed::outliner::outliner_collect_selected_objects | ( | TreeElement * | te, |
| void * | customdata ) |
Definition at line 125 of file outliner_collections.cc.
References BLI_addtail(), BLI_genericNodeN(), data, GS, TreeStoreElem::id, ID_OB, ID::name, outliner_is_collection_tree_element(), TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by ED_outliner_selected_objects_get(), and outliner_item_drag_drop_invoke().
|
static |
Definition at line 110 of file outliner_collections.cc.
References BLI_addtail(), BLI_genericNodeN(), data, ELEM, outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::store_elem, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TSE_SCENE_COLLECTION_BASE, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by collection_duplicate_exec().
| void blender::ed::outliner::outliner_collection_delete | ( | bContext * | C, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| ReportList * | reports, | ||
| bool | do_hierarchy ) |
Definition at line 366 of file outliner_collections.cc.
References BKE_collection_delete(), BKE_id_owner_get(), BKE_reportf(), BLI_assert, BLI_findindex(), C, collection_collect_data_to_edit(), COLLECTION_IS_MASTER, Main::collections, CTX_wm_space_outliner(), data, Collection::flag, ID::flag, GS, Collection::id, ID_FLAG_EMBEDDED_DATA, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_SCE, ID_TAG_INDIRECT, LISTBASE_FOREACH, ID::name, outliner_tree_traverse(), Collection_Runtime::parents, reports, RPT_WARNING, Collection::runtime, ID::tag, SpaceOutliner::tree, and TSE_SELECTED.
Referenced by collection_hierarchy_delete_exec(), and outliner_delete_exec().
| Collection * blender::ed::outliner::outliner_collection_from_tree_element | ( | const TreeElement * | te | ) |
Definition at line 70 of file outliner_collections.cc.
References LayerCollection::collection, blender::ed::outliner::TreeElement::directdata, ELEM, TreeStoreElem::id, ID_GR, blender::ed::outliner::TreeElement::idcode, Scene::master_collection, TREESTORE, TSE_LAYER_COLLECTION, TSE_SCENE_COLLECTION_BASE, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by collection_collect_data_to_edit(), collection_drop_init(), collection_drop_invoke(), collection_duplicate_exec(), collection_find_selected_to_add(), collection_flag_poll(), do_item_rename(), outliner_color_tag_set_exec(), outliner_draw_hierarchy_lines_recursive(), outliner_draw_restrictbuts(), outliner_drop_insert_collection_find(), outliner_item_drag_drop_invoke(), outliner_restrict_properties_collection_set(), tree_element_get_icon(), and tselem_draw_icon().
|
static |
Definition at line 1585 of file outliner_select.cc.
References BKE_collection_object_find(), C, CTX_data_main(), CTX_data_scene(), blender::ed::outliner::TreeElement::directdata, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, outliner_collection_get_for_recursive(), blender::ed::outliner::TreeElement::store_elem, TSE_LAYER_COLLECTION, TSE_SOME_ID, and 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 440 of file outliner_draw.cc.
References BKE_collection_has_collection(), Collection::children, LayerCollection::collection, COLLECTION_IS_MASTER, Collection::flag, LayerCollection::flag, LAYER_COLLECTION_EXCLUDE, LayerCollection::layer_collections, LISTBASE_FOREACH, outliner_collection_is_isolated(), outliner_layer_or_collection_pointer_create(), ptr, RNA_property_boolean_get(), and RNA_property_editable().
Referenced by outliner_collection_is_isolated(), and outliner_collection_isolate_flag().
| void blender::ed::outliner::outliner_collection_isolate_flag | ( | Scene * | scene, |
| ViewLayer * | view_layer, | ||
| LayerCollection * | layer_collection, | ||
| Collection * | collection, | ||
| PropertyRNA * | layer_or_collection_prop, | ||
| const char * | propname, | ||
| const bool | value ) |
Definition at line 507 of file outliner_draw.cc.
References BKE_layer_collection_has_layer_collection(), CollectionParent::collection, LayerCollection::collection, COLLECTION_IS_MASTER, ListBase::first, Collection::flag, Collection::id, LayerCollection::layer_collections, ViewLayer::layer_collections, LISTBASE_FOREACH, Scene::master_collection, outliner_collection_is_isolated(), outliner_collection_set_flag_recursive(), outliner_layer_or_collection_pointer_create(), Collection_Runtime::parents, ptr, RNA_id_pointer_create(), RNA_property_boolean_get_default(), RNA_property_boolean_set(), Collection::runtime, and STREQ.
Referenced by collection_isolate_exec(), and outliner_collection_set_flag_recursive_fn().
|
static |
Definition at line 370 of file outliner_draw.cc.
References Collection::children, LayerCollection::collection, DEG_id_tag_update(), LayerCollection::flag, Collection::gobject, Collection::id, ID_RECALC_SYNC_TO_EVAL, LAYER_COLLECTION_EXCLUDE, LayerCollection::layer_collections, LISTBASE_FOREACH, outliner_base_or_object_pointer_create(), outliner_collection_set_flag_recursive(), outliner_layer_or_collection_pointer_create(), ptr, RNA_property_boolean_set(), and 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 601 of file outliner_draw.cc.
References BKE_main_collection_sync_remap(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_window(), data, DEG_relations_tag_update(), ELEM, wmWindow::eventstate, Collection::id, Scene::id, KM_CTRL, KM_SHIFT, wmEvent::modifier, outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), outliner_layer_or_collection_pointer_create(), ptr, RNA_pointer_create_discrete(), RNA_property_boolean_get(), and RNA_struct_type_find_property().
Referenced by 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 627 of file outliner_tree.cc.
References BLI_addtail(), BLI_listbase_clear(), BLI_listbase_count(), blender::ed::outliner::tTreeSort::id, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::tTreeSort::idcode, ListBase::last, LISTBASE_FOREACH, MEM_freeN(), MEM_malloc_arrayN(), blender::ed::outliner::tTreeSort::name, outliner_collections_children_sort(), blender::ed::outliner::tTreeSort::te, treesort_child_not_in_collection(), TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_build_tree(), and outliner_collections_children_sort().
|
static |
Definition at line 1608 of file outliner_collections.cc.
References BKE_id_is_editable(), BKE_report(), BLI_freelistN(), C, Collection::color_tag, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), Collection::id, LISTBASE_FOREACH, Scene::master_collection, NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_collect_selected_collections(), outliner_collection_from_tree_element(), outliner_tree_traverse(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, blender::ed::outliner::IDsSelectedData::selected_array, SpaceOutliner::tree, TSE_SELECTED, and WM_event_add_notifier().
Referenced by OUTLINER_OT_collection_color_tag_set().
|
static |
Definition at line 3390 of file outliner_tools.cc.
References C, constraint_fn(), CTX_wm_space_outliner(), ED_undo_push(), OL_CONSTRAINTOP_DELETE, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_data_operation(), wmOperator::ptr, RNA_enum_get(), and TSE_CONSTRAINT.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 18 of file outliner_context.cc.
References blender::ed::outliner::tree_iterator::all(), CTX_data_id_list_add(), CTX_DATA_TYPE_COLLECTION, CTX_data_type_set(), ELEM, TreeStoreElem::flag, TreeStoreElem::id, result, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_main_region_context().
|
static |
Definition at line 92 of file outliner_edit.cc.
References BKE_tempdir_base(), BLI_path_join, and FILE_MAX.
Referenced by outliner_id_copy_exec(), and outliner_id_paste_exec().
|
static |
Definition at line 1172 of file outliner_edit.cc.
References LISTBASE_FOREACH, and outliner_count_levels().
Referenced by outliner_count_levels(), and outliner_one_level_exec().
Definition at line 377 of file space_outliner.cc.
References ARegion::alignment, BKE_area_region_new(), BLI_addtail(), SpaceOutliner::filter, SpaceOutliner::filter_id_type, SpaceOutliner::flag, ID_GR, MEM_callocN(), SpaceOutliner::outlinevis, SpaceOutliner::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_TOP, RGN_TYPE_HEADER, RGN_TYPE_WINDOW, SpaceOutliner::show_restrict_flags, SO_FILTER_NO_VIEW_LAYERS, SO_MODE_COLUMN, SO_RESTRICT_ENABLE, SO_RESTRICT_HIDE, SO_RESTRICT_RENDER, SO_SYNC_SELECT, SO_VIEW_LAYER, SPACE_OUTLINER, SpaceOutliner::spacetype, SpaceOutliner::sync_select_dirty, U, USER_HEADER_BOTTOM, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 3958 of file outliner_draw.cc.
References 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 184 of file outliner_dragdrop.cc.
References blender::ed::outliner::TreeElement::parent.
Referenced by datastack_drop_init(), and outliner_drop_insert_collection_find().
|
static |
Definition at line 3565 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), get_target_element(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_SELECT_LINKED, OL_DOP_UNHIDE, rna_enum_dummy_DEFAULT_items, rna_enum_dummy_NULL_items, TREESTORE, TSE_RNA_STRUCT, and TreeStoreElem::type.
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 3498 of file outliner_tools.cc.
References BKE_report(), bone_fn(), C, CTX_data_scene(), CTX_wm_space_outliner(), data_select_linked_fn(), ebone_fn(), ED_undo_push(), get_element_operation_type(), get_target_element(), gpencil_layer_fn(), grease_pencil_node_fn(), NA_SELECTED, NC_GPENCIL, NC_OBJECT, NC_SCENE, ND_DATA, ND_POSE, ND_SEQUENCER, OL_DOP_SELECT_LINKED, OPERATOR_FINISHED, outliner_do_data_operation(), pchan_fn(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, sequence_fn(), TSE_BONE, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_POSE_CHANNEL, TSE_RNA_STRUCT, TSE_STRIP, and WM_event_add_notifier().
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 3480 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ED_operator_outliner_active(), ELEM, get_element_operation_type(), get_target_element(), TSE_BONE, TSE_EBONE, TSE_GP_LAYER, TSE_POSE_CHANNEL, TSE_RNA_STRUCT, and TSE_STRIP.
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 531 of file space_outliner.cc.
References BKE_area_find_region_type(), ED_region_tag_redraw_no_rebuild(), ListBase::first, outliner_flag_set(), RGN_TYPE_WINDOW, ScrArea::spacedata, and TSE_HIGHLIGHTED_ANY.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 2665 of file outliner_tools.cc.
References active, BKE_main_ensure_invariants(), BKE_main_id_tag_all(), BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_message_bus(), CTX_wm_space_outliner(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_outliner_select_sync_from_object_tag(), Scene::id, ID_RECALC_HIERARCHY, ID_RECALC_SELECT, ID_RECALC_SYNC_TO_EVAL, 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, OPERATOR_FINISHED, outliner_batch_delete_object_hierarchy(), outliner_cleanup_tree(), outliner_collect_objects_to_delete(), outliner_collection_delete(), outliner_do_object_delete(), outliner_object_delete_fn(), outliner_tree_traverse(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), SpaceOutliner::tree, TSE_SELECTED, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by OUTLINER_OT_delete().
|
static |
Definition at line 2319 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), TreeStoreElem::flag, TREESTORE, TSE_SELECTED, and TreeStoreElem::type.
Referenced by outliner_animdata_operation_exec(), outliner_constraint_operation_exec(), outliner_data_operation_exec(), and outliner_modifier_operation_exec().
|
static |
Definition at line 3153 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), TreeStoreElem::flag, blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_SELECTED, and TreeStoreElem::type.
Referenced by outliner_action_set_exec().
|
static |
Definition at line 542 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, TreeStoreElem::flag, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::parent, reports, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 619 of file outliner_tools.cc.
References C, element, LISTBASE_FOREACH_MUTABLE, outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), reports, 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 649 of file outliner_tools.cc.
References C, outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), outliner_find_element_with_flag(), reports, blender::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, TREESTORE, and TSE_ACTIVE.
|
static |
Definition at line 590 of file outliner_tools.cc.
References C, ELEM, element, TreeStoreElem::flag, OUTLINER_LIB_LIB_SELECTIONSET_CONTENT, OUTLINER_LIB_LIB_SELECTIONSET_SELECTED_AND_CONTENT, OUTLINER_LIB_SELECTIONSET_SELECTED, reports, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_do_libdata_operation_selection_set(), and outliner_do_libdata_operation_selection_set().
|
static |
Definition at line 2606 of file outliner_tools.cc.
Referenced by outliner_delete_exec().
| void blender::ed::outliner::outliner_do_object_operation | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBase * | lb, | ||
| outliner_operation_fn | operation_fn ) |
Definition at line 1709 of file outliner_tools.cc.
References C, outliner_do_object_operation_ex(), and reports.
Referenced by outliner_object_operation_exec().
| void blender::ed::outliner::outliner_do_object_operation_ex | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | scene, | ||
| SpaceOutliner * | space_outliner, | ||
| ListBase * | 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 1675 of file outliner_tools.cc.
References C, CTX_data_main(), CTX_wm_window(), TreeStoreElem::flag, ID_OB, ID_SCE, LISTBASE_FOREACH, outliner_do_object_operation_ex(), outliner_search_back(), reports, TREESTORE, TSE_SELECTED, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, and WM_window_set_active_scene().
Referenced by outliner_do_object_operation(), outliner_do_object_operation_ex(), and outliner_object_operation_exec().
|
static |
Definition at line 693 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), C, TreeStoreElem::flag, ID_SCE, blender::ed::outliner::TreeElement::idcode, TREESTORE, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_scene_operation_exec().
|
static |
Definition at line 3026 of file outliner_draw.cc.
References BLI_rctf_init(), GPU_blend(), GPU_BLEND_ALPHA, UI_CNR_ALL, UI_draw_roundbox_aa(), UI_draw_roundbox_corner_set(), UI_UNIT_X, and UI_UNIT_Y.
Referenced by outliner_draw_iconrow_doit(), and outliner_draw_tree_element().
|
static |
Definition at line 2355 of file outliner_draw.cc.
References blender::ed::outliner::AbstractTreeElement::get_warning(), blender::StringRefBase::is_empty(), outliner_draw_get_warning_tree_element_subtree(), blender::ed::outliner::TreeElement::store_elem, tree_element_cast(), and TSELEM_OPEN.
Referenced by outliner_draw_warning_column().
|
static |
Definition at line 2336 of file outliner_draw.cc.
References blender::ed::outliner::AbstractTreeElement::get_warning(), blender::StringRefBase::is_empty(), LISTBASE_FOREACH, 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 3572 of file outliner_draw.cc.
References GPU_PRIM_LINES, immBegin(), immEnd(), immUniform1f(), immVertex2f(), outliner_draw_hierarchy_line(), pos, UI_UNIT_Y, and x.
Referenced by outliner_draw_hierarchy_line(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3664 of file outliner_draw.cc.
References col, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_line_width(), GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), immBindBuiltinProgram(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immVertexFormat(), outliner_draw_hierarchy_lines(), outliner_draw_hierarchy_lines_recursive(), pos, TH_BACK, TH_TEXT, UI_GetThemeColorBlend3ubv(), and UI_SCALE_FAC.
Referenced by outliner_draw_hierarchy_lines(), and outliner_draw_tree().
|
static |
Definition at line 3589 of file outliner_draw.cc.
References blender::bke::greasepencil::TreeNode::as_group(), BLI_listbase_is_empty(), col, bTheme::collection_color, COLLECTION_COLOR_NONE, ThemeCollectionColor::color, Collection::color_tag, copy_v4_v4_uchar(), element_should_draw_faded(), ID_OB, immUniformColor4ubv(), blender::bke::greasepencil::TreeNode::is_group(), LISTBASE_FOREACH, blender::bke::greasepencil::LayerGroup::num_direct_nodes(), outliner_collection_from_tree_element(), outliner_draw_hierarchy_line(), outliner_draw_hierarchy_lines_recursive(), pos, subtree_contains_object(), tree_element_cast(), TREESTORE, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, UI_GetTheme(), UI_UNIT_X, UI_UNIT_Y, and y.
Referenced by outliner_draw_hierarchy_lines(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3806 of file outliner_draw.cc.
References GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBindBuiltinProgram(), immUnbindProgram(), immVertexFormat(), outliner_draw_highlights(), pos, TH_MATCH, TH_SELECT_ACTIVE, TH_SELECT_HIGHLIGHT, UI_GetThemeColor3fv(), and UI_GetThemeColor4fv().
|
static |
Definition at line 3733 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), col, View2D::cur, TreeStoreElem::flag, immRectf(), immUniformColor3fvAlpha(), immUniformColor4fv(), outliner_draw_highlights(), SpaceOutliner::outlinevis, pos, SpaceOutliner::search_string, SEARCHING_OUTLINER, SO_DATA_API, TH_BACK, TREESTORE, TSE_ACTIVE, TSE_DRAG_AFTER, TSE_DRAG_ANY, TSE_DRAG_BEFORE, TSE_HIGHLIGHTED, TSE_SEARCHMATCH, TSE_SELECTED, U, UI_GetThemeColorShade4fv(), UI_UNIT_Y, ARegion::v2d, and rctf::xmax.
Referenced by outliner_draw_highlights(), outliner_draw_highlights(), and outliner_draw_tree().
|
static |
Definition at line 3123 of file outliner_draw.cc.
References active, blender::ed::outliner::MergedIconRow::active, ELEM, i, TreeStoreElem::id, ID_OB, INDEX_ID_MAX, INDEX_ID_OB, is_object_data_in_editmode(), LISTBASE_FOREACH, blender::ed::outliner::MergedIconRow::num_elements, 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, TSE_ACTION_SLOT, TSE_BONE, TSE_BONE_COLLECTION, TSE_DEFGROUP, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_ID_BASE, TSE_LAYER_COLLECTION, TSE_LIBRARY_OVERRIDE, TSE_LIBRARY_OVERRIDE_BASE, TSE_LIBRARY_OVERRIDE_OPERATION, TSE_NLA_TRACK, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 3044 of file outliner_draw.cc.
References active, blender::ed::outliner::TreeElement::flag, TreeStoreElem::flag, OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, outliner_draw_active_indicator(), outliner_icon_background_colors(), TE_ICONROW, TE_ICONROW_MERGED, TH_EDITED_OBJECT, TREESTORE, TSE_HIGHLIGHTED_ICON, tselem_draw_icon(), UI_GetThemeColor4fv(), 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().
|
static |
Definition at line 2323 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), Object::mode, OB_MODE_OBJECT, blender::ed::outliner::TreeViewContext::obact, ToolSettings::object_flag, outliner_draw_mode_column_toggle(), SCE_OBJECT_MODE_LOCK, blender::ed::outliner::TreeViewContext::scene, and Scene::toolsettings.
Referenced by draw_outliner().
|
static |
Definition at line 2230 of file outliner_draw.cc.
References BKE_object_is_in_editmode(), Object::data, IDOverrideLibrary::flag, Object::id, TreeStoreElem::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, blender::ed::outliner::TreeElement::idcode, LIBOVERRIDE_FLAG_SYSTEM_DEFINED, Object::mode, blender::ui::NoneOrStatus, blender::ed::outliner::TreeViewContext::ob_edit, OB_MODE_OBJECT, OB_MODE_PARTICLE_EDIT, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::TreeViewContext::obact, outliner_mode_toggle_fn(), ID::override_library, psys_get_current(), TIP_, TREESTORE, TSE_SOME_ID, Object::type, TreeStoreElem::type, UI_block_emboss_set(), UI_BTYPE_BUT, UI_BTYPE_ICON_TOGGLE, UI_but_disable(), UI_BUT_DISABLED, UI_BUT_DRAG_LOCK, UI_but_flag_disable(), UI_but_flag_enable(), UI_but_func_set(), UI_BUT_UNDO, UI_icon_from_object_mode(), UI_UNIT_X, UI_UNIT_Y, uiDefIconBut(), and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_mode_column().
|
static |
Definition at line 1999 of file outliner_draw.cc.
References BKE_lib_override_library_is_system_defined(), blender::ed::outliner::TreeElementID::get_ID(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, LISTBASE_FOREACH, outliner_but_identity_cmp_context_id_fn(), outliner_draw_overrides_restrictbuts(), outliner_is_element_in_view(), tree_element_cast(), TREESTORE, TSELEM_OPEN, UI_BTYPE_BUT, UI_but_context_int_set(), UI_BUT_DRAG_LOCK, UI_but_flag_enable(), UI_but_func_identity_compare_set(), UI_UNIT_X, UI_UNIT_Y, uiDefIconButO(), ARegion::v2d, WM_OP_EXEC_DEFAULT, and x.
Referenced by draw_outliner(), and outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 1895 of file outliner_draw.cc.
References blender::StringRefBase::is_empty(), blender::ed::outliner::TreeElementOverridesProperty::is_rna_path_valid, LISTBASE_FOREACH, 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, PROP_ENUM, ptr, blender::ed::outliner::TreeElementOverridesProperty::rna_path, RNA_property_type(), round_fl_to_int(), tree_element_cast(), TREESTORE, TSELEM_OPEN, U, UI_BTYPE_LABEL, UI_but_flag_enable(), UI_BUT_REDALERT, UI_SCALE_FAC, UI_UNIT_Y, uiDefAutoButR(), uiDefAutoButsArrayR(), uiDefBut(), ARegion::v2d, and x.
Referenced by draw_outliner(), and outliner_draw_overrides_rna_buts().
|
static |
Definition at line 1105 of file outliner_draw.cc.
References blender::ed::outliner::RestrictProperties::base_hide_viewport, blender::ed::outliner::RestrictPropertiesActive::base_hide_viewport, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, bPoseChannel::bone, BONE_HIDDEN_A, blender::ed::outliner::RestrictProperties::bone_hide_viewport, BONE_UNSELECTABLE, 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, View2D::cur, Object::data, ELEM, bGPDlayer::flag, Bone::flag, EditBone::flag, ViewLayer::flag, GP_LAYER_HIDE, GP_LAYER_LOCKED, bArmature::id, Object::id, Scene::id, TreeStoreElem::id, ID_OB, blender::ed::outliner::RestrictProperties::initialized, blender::bke::greasepencil::TreeNode::is_group(), blender::bke::greasepencil::TreeNode::is_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, LISTBASE_FOREACH, 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, 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, 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(), SpaceOutliner::outlinevis, blender::bke::greasepencil::TreeNode::parent_group(), ptr, 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(), RNA_id_pointer_create(), RNA_pointer_create_discrete(), RNA_struct_type_find_property(), scenes__collection_set_flag_recursive_fn(), select, SpaceOutliner::show_restrict_flags, SO_RESTRICT_ENABLE, SO_RESTRICT_HIDE, SO_RESTRICT_HOLDOUT, SO_RESTRICT_INDIRECT_ONLY, SO_RESTRICT_RENDER, SO_RESTRICT_SELECT, SO_RESTRICT_VIEWPORT, SO_SCENES, SO_VIEW_LAYER, TE_CHILD_NOT_IN_COLLECTION, TIP_, tree_element_cast(), TREESTORE, TSE_CONSTRAINT, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_MODIFIER, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, UI_BTYPE_ICON_TOGGLE, UI_BTYPE_ICON_TOGGLE_N, UI_BUT_DRAG_LOCK, UI_but_drawflag_enable(), UI_but_flag_enable(), UI_but_func_set(), UI_BUT_ICON_REVERSE, UI_BUT_INACTIVE, UI_UNIT_X, UI_UNIT_Y, uiDefIconButBitI(), uiDefIconButBitS(), uiDefIconButR_prop(), ARegion::v2d, V2D_SCROLL_WIDTH, view_layer__collection_set_flag_recursive_fn(), view_layer__layer_collection_set_flag_recursive_fn(), VIEW_LAYER_RENDER, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by draw_outliner(), and outliner_draw_restrictbuts().
|
static |
Definition at line 2069 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::ed::outliner::TreeElement::index, OL_RNA_COL_SIZEX, outliner_is_element_in_view(), PROP_ENUM, PROP_POINTER, ptr, RNA_property_type(), tree_element_cast(), TREESTORE, TSELEM_OPEN, UI_BUT_DISABLED, UI_but_flag_enable(), UI_UNIT_Y, uiDefAutoButR(), ARegion::v2d, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
|
static |
Definition at line 2049 of file outliner_draw.cc.
References View2D::cur, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_line_width(), GPU_PRIM_LINES, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniformThemeColorShadeAlpha(), immVertex2f(), immVertexFormat(), pos, TH_BACK, ARegion::v2d, x, rctf::ymax, and rctf::ymin.
Referenced by draw_outliner().
|
static |
Definition at line 3693 of file outliner_draw.cc.
References View2D::cur, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINES, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immRectf(), immThemeColorShadeAlpha(), immUnbindProgram(), immVertex2f(), immVertexFormat(), LISTBASE_FOREACH, outliner_draw_struct_marks(), pos, TH_BACK, TREESTORE, TSE_RNA_STRUCT, TSELEM_OPEN, TreeStoreElem::type, UI_UNIT_Y, ARegion::v2d, and rctf::xmax.
Referenced by outliner_draw_struct_marks(), and outliner_draw_tree().
|
static |
Definition at line 3838 of file outliner_draw.cc.
References BLI_rcti_size_x(), CLAMP_MIN, SpaceOutliner::filter, GPU_blend(), GPU_BLEND_ALPHA, GPU_scissor(), GPU_scissor_get(), LISTBASE_FOREACH, View2D::mask, OL_Y_OFFSET, outliner_draw_hierarchy_lines(), outliner_draw_highlights(), outliner_draw_struct_marks(), outliner_draw_tree(), outliner_draw_tree_element(), SpaceOutliner::outlinevis, SO_DATA_API, SO_FILTER_NO_COLLECTION, SO_FILTER_NO_VIEW_LAYERS, SO_VIEW_LAYER, TE_DRAGGING, View2D::tot, SpaceOutliner::tree, U, UI_FSTYLE_WIDGET, UI_UNIT_X, UI_UNIT_Y, UNPACK4, ARegion::v2d, ARegion::winy, and rctf::ymax.
Referenced by draw_outliner(), and outliner_draw_tree().
|
static |
Definition at line 3327 of file outliner_draw.cc.
References active, BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_listbase_is_empty(), View2D::cur, blender::ed::outliner::TreeElement::directdata, ELEM, element_should_draw_faded(), Collection::exporters, ListBase::first, Base::flag, blender::ed::outliner::TreeElement::flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, TreeStoreElem::id, ID_OB, ID_SCE, blender::ed::outliner::TreeElement::idcode, is_object_data_in_editmode(), LISTBASE_FOREACH, blender::ed::outliner::TreeElement::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(), RNA_struct_is_ID(), blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::TreeElement::subtree, TE_ACTIVE, TE_DRAGGING, TE_PRETEND_HAS_CHILDREN, TH_ACTIVE_OBJECT, TH_BACK, TH_EDITED_OBJECT, TH_SELECTED_OBJECT, TH_TEXT, TH_TEXT_HI, tree_element_active_state_get(), tree_element_cast(), tree_element_type_active_state_get(), TREESTORE, TSE_HIGHLIGHTED_ICON, TSE_ID_BASE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_R_LAYER, TSE_RNA_ARRAY_ELEM, TSE_RNA_PROPERTY, TSE_SOME_ID, TSE_TEXTBUT, TSE_VIEW_COLLECTION_BASE, tselem_draw_icon(), TSELEM_OPEN, PointerRNA::type, TreeStoreElem::type, UI_fontstyle_draw_simple(), UI_fontstyle_string_width(), UI_GetThemeColor3ubv(), UI_GetThemeColor4fv(), UI_GetThemeColor4ubv(), UI_GetThemeColorBlend3ubv(), UI_icon_draw_alpha(), UI_icon_from_library(), UI_UNIT_X, UI_UNIT_Y, ARegion::v2d, blender::ed::outliner::TreeViewContext::view_layer, blender::ed::outliner::TreeElement::xend, rctf::xmax, blender::ed::outliner::TreeElement::xs, rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_tree(), and outliner_draw_tree_element().
|
static |
Definition at line 1805 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), BLI_str_format_integer_unit(), View2D::cur, ID::flag, GS, TreeStoreElem::id, ID_FAKE_USERS, ID_FLAG_FAKEUSER, ID_IS_LINKED, ID_OB, ID_TAG_EXTRAUSER, ID::name, OL_TOG_USER_BUTS_USERS, outliner_is_element_in_view(), restrictbutton_id_user_toggle(), ID::tag, TH_REDALERT, TIP_, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, UI_BTYPE_BUT, UI_BTYPE_ICON_TOGGLE, UI_BUT_DISABLED, UI_BUT_DRAG_LOCK, UI_but_flag_enable(), UI_but_func_set(), UI_but_icon_indicator_color_set(), UI_but_icon_indicator_set(), UI_GetThemeColor4ubv(), UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconButBitS(), ID::us, ARegion::v2d, rctf::xmax, and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
|
static |
Definition at line 2402 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), blender::StringRefBase::is_empty(), outliner_draw_get_warning_tree_element(), outliner_draw_warning_tree_element(), and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
|
static |
Definition at line 2374 of file outliner_draw.cc.
References blender::ui::NoneOrStatus, SpaceOutliner::outlinevis, SO_SCENES, UI_block_emboss_set(), UI_BTYPE_ICON_TOGGLE, UI_but_flag_disable(), UI_BUT_UNDO, UI_UNIT_X, UI_UNIT_Y, and uiDefIconBut().
Referenced by outliner_draw_warning_column().
|
static |
Definition at line 1992 of file outliner_edit.cc.
References CTX_wm_space_outliner(), do_outliner_drivers_editop(), DRIVERS_EDITMODE_ADD, NC_ANIMATION, ND_FCURVES_ORDER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by OUTLINER_OT_drivers_add_selected().
|
static |
Definition at line 2031 of file outliner_edit.cc.
References CTX_wm_space_outliner(), do_outliner_drivers_editop(), DRIVERS_EDITMODE_REMOVE, ND_KEYS, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_event_add_notifier().
Referenced by OUTLINER_OT_drivers_delete_selected().
|
static |
Definition at line 93 of file outliner_dragdrop.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), wmEvent::mval, outliner_dropzone_find(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by outliner_ID_drop_find(), parent_clear_poll(), parent_drop_invoke(), and parent_drop_poll().
|
static |
Definition at line 213 of file outliner_dragdrop.cc.
References C, COLLECTION_IS_MASTER, Collection::flag, TreeStoreElem::flag, is_collection_element(), outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_find(), TE_INSERT_INTO, TREESTORE, TSE_SELECTED, and xy.
Referenced by collection_drop_init().
|
static |
Definition at line 115 of file outliner_dragdrop.cc.
References BLI_assert_unreachable, BLI_listbase_is_empty(), C, CTX_wm_region(), CTX_wm_space_outliner(), ListBase::first, ListBase::last, outliner_find_item_at_y(), blender::ed::outliner::TreeElement::subtree, TE_INSERT_AFTER, TE_INSERT_BEFORE, TE_INSERT_INTO, SpaceOutliner::tree, TREESTORE, TSELEM_OPEN, UI_UNIT_Y, UI_view2d_region_to_view(), ARegion::v2d, ARegion::winrct, rcti::xmin, xy, rcti::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by datastack_drop_init(), and outliner_drop_insert_collection_find().
| void blender::ed::outliner::outliner_dropboxes | ( | ) |
Region drop-box definition.
Definition at line 1587 of file outliner_dragdrop.cc.
References collection_drop_poll(), collection_drop_tooltip(), datastack_drop_poll(), datastack_drop_tooltip(), material_drop_poll(), parent_clear_poll(), parent_drop_poll(), RGN_TYPE_WINDOW, scene_drop_poll(), SPACE_OUTLINER, WM_dropbox_add(), and WM_dropboxmap_find().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 57 of file outliner_dragdrop.cc.
References ListBase::first, flag, LISTBASE_FOREACH, outliner_dropzone_element(), blender::ed::outliner::TreeElement::subtree, TREESTORE, 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 80 of file outliner_dragdrop.cc.
References LISTBASE_FOREACH, outliner_dropzone_element(), and SpaceOutliner::tree.
Referenced by outliner_drop_find().
Definition at line 430 of file space_outliner.cc.
References BLI_listbase_clear(), MEM_dupallocN(), SpaceOutliner::runtime, SpaceOutliner::sync_select_dirty, SpaceOutliner::tree, SpaceOutliner::treestore, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 2083 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 1003 of file outliner_tree.cc.
References ID_OB, blender::ed::outliner::TreeElement::idcode, outliner_is_collection_tree_element(), blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_extract_children_from_subtree().
|
static |
Definition at line 868 of file outliner_tree.cc.
References BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BASE_SELECTABLE, BASE_SELECTED, BKE_view_layer_active_base_get(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, blender::ed::outliner::TreeElement::directdata, Base::flag, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, OB_ARMATURE, OB_CAMERA, OB_EMPTY, OB_GREASE_PENCIL, OB_LAMP, OB_MESH, Base::object, blender::ed::outliner::TreeElement::parent, SO_FILTER_ANY, SO_FILTER_NO_CHILDREN, SO_FILTER_NO_OB_ARMATURE, SO_FILTER_NO_OB_CAMERA, SO_FILTER_NO_OB_CONTENT, SO_FILTER_NO_OB_EMPTY, SO_FILTER_NO_OB_GREASE_PENCIL, SO_FILTER_NO_OB_LAMP, SO_FILTER_NO_OB_MESH, SO_FILTER_NO_OB_OTHERS, SO_FILTER_OB_STATE, SO_FILTER_OB_STATE_ACTIVE, SO_FILTER_OB_STATE_INVERSE, SO_FILTER_OB_STATE_SELECTABLE, SO_FILTER_OB_STATE_SELECTED, SO_FILTER_OB_STATE_VISIBLE, SO_FILTER_OB_TYPE, TREESTORE, TSE_SOME_ID, Object::type, and TreeStoreElem::type.
Referenced by outliner_filter_subtree().
|
static |
Definition at line 830 of file outliner_tree.cc.
References ED_outliner_support_searching(), SpaceOutliner::filter, SpaceOutliner::filter_state, SpaceOutliner::search_string, SO_FILTER_NO_OBJECT, SO_FILTER_OB_ACTIVE, SO_FILTER_OB_SELECTABLE, SO_FILTER_OB_SELECTED, SO_FILTER_OB_STATE, SO_FILTER_OB_STATE_ACTIVE, SO_FILTER_OB_STATE_SELECTABLE, SO_FILTER_OB_STATE_SELECTED, SO_FILTER_OB_STATE_VISIBLE, SO_FILTER_OB_TYPE, SO_FILTER_OB_VISIBLE, SO_FILTER_SEARCH, and SUPPORT_FILTER_OUTLINER.
Referenced by outliner_filter_tree(), and outliner_requires_rebuild_on_select_or_active_change().
|
static |
Definition at line 1019 of file outliner_tree.cc.
References BLI_insertlinkafter(), BLI_remlink(), element, outliner_element_is_collection_or_object(), outliner_free_tree_element(), blender::ed::outliner::TreeElement::parent, and blender::ed::outliner::TreeElement::prev.
Referenced by outliner_filter_subtree().
|
static |
Definition at line 987 of file outliner_tree.cc.
References blender::ed::outliner::TreeElement::name, and SO_FIND_CASE_SENSITIVE.
Referenced by outliner_filter_subtree().
|
static |
Definition at line 1044 of file outliner_tree.cc.
References BLI_listbase_is_empty(), ListBase::first, 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(), SpaceOutliner::search_flags, SO_FILTER_SEARCH, blender::ed::outliner::TreeElement::subtree, TREESTORE, TSE_SEARCHMATCH, and TSELEM_OPEN.
Referenced by outliner_filter_subtree(), and outliner_filter_tree().
|
static |
Definition at line 1106 of file outliner_tree.cc.
References BLI_strncpy_ensure_pad(), outliner_exclude_filter_get(), outliner_filter_subtree(), SpaceOutliner::search_flags, SpaceOutliner::search_string, SO_FIND_COMPLETE, and SpaceOutliner::tree.
Referenced by outliner_build_tree().
| TreeElement * blender::ed::outliner::outliner_find_editbone | ( | ListBase * | lb, |
| const EditBone * | ebone ) |
Definition at line 223 of file outliner_utils.cc.
References ELEM, LISTBASE_FOREACH, outliner_find_editbone(), TREESTORE, TSE_EBONE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_find_editbone(), and outliner_show_active_get_element().
| TreeElement * blender::ed::outliner::outliner_find_element_with_flag | ( | const ListBase * | lb, |
| short | flag ) |
Find first tree element in tree with matching tree-store flag.
Definition at line 362 of file outliner_utils.cc.
References flag, LISTBASE_FOREACH, outliner_find_element_with_flag(), and TREESTORE.
Referenced by do_outliner_range_select(), find_walk_select_start_element(), get_target_element(), outliner_do_libdata_operation_selection_set(), 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 755 of file outliner_tree.cc.
References SpaceOutliner::filter, blender::ed::outliner::TreeElement::next, outliner_find_first_desired_element_at_y_recursive(), outliner_find_item_at_y(), SpaceOutliner::outlinevis, blender::ed::outliner::TreeElement::parent, SO_FILTER_NO_COLLECTION, SO_VIEW_LAYER, test_collection_callback(), test_object_callback(), SpaceOutliner::tree, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_store_scrolling_position().
|
static |
See if TreeElement or any of its children pass the callback_test.
Definition at line 722 of file outliner_tree.cc.
References LISTBASE_FOREACH, 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 595 of file outliner_collections.cc.
References data, TRAVERSE_BREAK, TRAVERSE_CONTINUE, TREESTORE, TSE_LAYER_COLLECTION, TSE_R_LAYER, TSE_SCENE_COLLECTION_BASE, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by outliner_active_collection().
|
static |
Definition at line 486 of file outliner_collections.cc.
References data, blender::ed::outliner::TreeElement::directdata, TRAVERSE_BREAK, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, TREESTORE, TSE_LAYER_COLLECTION, TSE_R_LAYER, TSE_SCENE_COLLECTION_BASE, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by outliner_active_layer_collection().
| TreeElement * blender::ed::outliner::outliner_find_id | ( | SpaceOutliner * | space_outliner, |
| ListBase * | lb, | ||
| const ID * | id ) |
Find tree-store that refers to given ID.
Definition at line 187 of file outliner_utils.cc.
References TreeStoreElem::id, LISTBASE_FOREACH, outliner_find_id(), TREESTORE, TSE_SOME_ID, and 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 135 of file outliner_utils.cc.
References outliner_find_item_at_x_in_row_recursive(), outliner_item_is_co_over_icon(), TREESTORE, TSE_R_LAYER, TSELEM_OPEN, and TreeStoreElem::type.
Referenced by outliner_highlight_update_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 104 of file outliner_utils.cc.
References ListBase::first, 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 ListBase * | tree, | ||
| float | view_co_y ) |
Try to find an item under y-coordinate view_co_y (view-space).
Definition at line 67 of file outliner_utils.cc.
References BLI_listbase_is_empty(), LISTBASE_FOREACH, blender::ed::outliner::TreeElement::next, outliner_find_item_at_y(), tree, TREESTORE, TSELEM_OPEN, UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by ED_outliner_give_base_under_cursor(), 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 2098 of file outliner_select.cc.
References ListBase::first, 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 1215 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_POSE_CHANNEL, and TreeStoreElem::type.
Referenced by outliner_item_drag_drop_invoke(), and outliner_set_properties_tab().
| TreeElement * blender::ed::outliner::outliner_find_parent_element | ( | ListBase * | lb, |
| TreeElement * | parent_te, | ||
| const TreeElement * | child_te ) |
Find parent element of te.
Definition at line 170 of file outliner_utils.cc.
References LISTBASE_FOREACH, and outliner_find_parent_element().
Referenced by collection_drop_invoke(), and outliner_find_parent_element().
| TreeElement * blender::ed::outliner::outliner_find_posechannel | ( | ListBase * | lb, |
| const bPoseChannel * | pchan ) |
Definition at line 205 of file outliner_utils.cc.
References ELEM, LISTBASE_FOREACH, outliner_find_posechannel(), TREESTORE, TSE_POSE_BASE, TSE_POSE_CHANNEL, and TreeStoreElem::type.
Referenced by outliner_find_posechannel(), and outliner_show_active_get_element().
|
static |
Definition at line 2069 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 2054 of file outliner_select.cc.
References ListBase::last, 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 | ( | ListBase * | lb, |
| const TreeStoreElem * | store_elem ) |
Find specific item from the trees-tore.
Definition at line 156 of file outliner_utils.cc.
References LISTBASE_FOREACH, and 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 | ( | const ListBase & | lb, |
| const short | flag ) |
Definition at line 1231 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), flag, TreeStoreElem::flag, and TREESTORE.
| bool blender::ed::outliner::outliner_flag_flip | ( | const SpaceOutliner & | space_outliner, |
| const short | flag ) |
Definition at line 1226 of file outliner_edit.cc.
References flag, outliner_flag_flip(), and SpaceOutliner::tree.
Referenced by outliner_flag_flip(), and outliner_select_all_exec().
| int blender::ed::outliner::outliner_flag_is_any_test | ( | ListBase * | lb, |
| short | flag, | ||
| const int | curlevel ) |
Definition at line 1183 of file outliner_edit.cc.
References flag, TreeStoreElem::flag, LISTBASE_FOREACH, 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 | ( | const ListBase & | lb, |
| const short | flag, | ||
| const short | set ) |
Definition at line 1204 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all(), flag, TreeStoreElem::flag, and TREESTORE.
| bool blender::ed::outliner::outliner_flag_set | ( | const SpaceOutliner & | space_outliner, |
| short | flag, | ||
| short | set ) |
Set or unset flag for all outliner elements in lb and sub-trees.
Definition at line 1199 of file outliner_edit.cc.
References flag, outliner_flag_set(), and SpaceOutliner::tree.
Referenced by collection_drop_poll(), datastack_drop_poll(), do_outliner_range_select(), outliner_box_select_exec(), outliner_deactivate(), 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 496 of file space_outliner.cc.
References BKE_LIB_FOREACHID_PROCESS_ID, BKE_lib_query_foreachid_process_flags_get(), BLI_mempool_iternew(), BLI_mempool_iterstep(), data, ID_FLAG_EMBEDDED_DATA, IDWALK_CB_EMBEDDED_NOT_OWNING, IDWALK_CB_NOP, IDWALK_NO_ORIG_POINTERS_ACCESS, IDWALK_READONLY, SO_TREESTORE_REBUILD, SpaceOutliner::storeflag, SpaceOutliner::treestore, and TSE_IS_REAL_ID.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 408 of file space_outliner.cc.
References BLI_mempool_destroy(), outliner_free_tree(), SpaceOutliner::runtime, SpaceOutliner::tree, and SpaceOutliner::treestore.
Referenced by ED_spacetype_outliner().
| void blender::ed::outliner::outliner_free_tree | ( | ListBase * | tree | ) |
Definition at line 150 of file outliner_tree.cc.
References element, LISTBASE_FOREACH_MUTABLE, outliner_free_tree_element(), and tree.
Referenced by outliner_build_tree(), outliner_cleanup_tree(), outliner_free(), and outliner_free_tree_element().
| void blender::ed::outliner::outliner_free_tree_element | ( | TreeElement * | element, |
| ListBase * | 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 163 of file outliner_tree.cc.
References BLI_assert, BLI_findindex(), BLI_remlink(), element, MEM_freeN(), outliner_free_tree(), and TE_FREE_NAME.
Referenced by blender::ed::outliner::TreeDisplayOverrideLibraryHierarchies::build_tree(), outliner_extract_children_from_subtree(), outliner_filter_subtree(), and outliner_free_tree().
|
static |
Definition at line 248 of file outliner_dragdrop.cc.
References BLI_findindex(), blender::ed::outliner::TreeElement::directdata, blender::ed::outliner::TreeElement::index, blender::ed::outliner::TreeElement::next, blender::ed::outliner::TreeElement::prev, TE_INSERT_AFTER, and TE_INSERT_BEFORE.
Referenced by datastack_drop_reorder().
| bool blender::ed::outliner::outliner_has_element_warnings | ( | const SpaceOutliner & | space_outliner | ) |
Definition at line 27 of file outliner_query.cc.
References LISTBASE_FOREACH, and SpaceOutliner::tree.
Referenced by draw_outliner().
|
static |
Definition at line 340 of file space_outliner.cc.
References C, and ED_region_header().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 345 of file space_outliner.cc.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 335 of file space_outliner.cc.
References ED_region_header_init().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 347 of file space_outliner.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NA_ACTIVATED, NC_SCENE, NC_SPACE, ND_KEYINGSET, ND_LAYER, ND_SPACE_OUTLINER, NS_LAYER_COLLECTION, params, and wmNotifier::subtype.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 1484 of file outliner_collections.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), LayerCollection::collection, COLLECTION_IS_MASTER, data, blender::ed::outliner::TreeElement::directdata, Collection::flag, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, TRAVERSE_CONTINUE, TREESTORE, TSE_LAYER_COLLECTION, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_hide_exec().
|
static |
Definition at line 1516 of file outliner_collections.cc.
References BASE_HIDDEN, BKE_layer_collection_set_visible(), BKE_view_layer_need_resync_tag(), C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), data, DEG_id_tag_update(), Base::flag, Scene::id, ID_RECALC_BASE_FLAGS, NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_hide_collect_data_to_edit(), outliner_tree_traverse(), SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_hide().
|
static |
Definition at line 104 of file outliner_edit.cc.
References CTX_wm_manager(), CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw_no_rebuild(), ED_screen_area_active(), TreeStoreElem::flag, wmEvent::mval, OPERATOR_PASS_THROUGH, outliner_find_item_at_x_in_row(), outliner_find_item_at_y(), outliner_flag_set(), blender::ed::outliner::TreeElement::store_elem, SpaceOutliner::tree, TSE_DRAG_ANY, TSE_HIGHLIGHTED, TSE_HIGHLIGHTED_ANY, TSE_HIGHLIGHTED_ICON, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_highlight_update().
|
static |
Definition at line 3014 of file outliner_draw.cc.
References copy_v3_v3(), TH_TEXT, and UI_GetThemeColor4fv().
Referenced by outliner_draw_iconrow_doit(), and outliner_draw_tree_element().
|
static |
Definition at line 839 of file outliner_edit.cc.
References BKE_main_blendfile_path(), BKE_report(), BKE_reportf(), CTX_data_main(), CTX_wm_space_outliner(), FILE_MAX, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_copybuffer_filepath_get(), outliner_id_copy_tag(), wmOperator::reports, RPT_INFO, SpaceOutliner::tree, and blender::bke::blendfile::PartialWriteContext::write().
Referenced by OUTLINER_OT_id_copy().
|
static |
Definition at line 810 of file outliner_edit.cc.
References ELEM, TreeStoreElem::flag, TreeStoreElem::id, blender::bke::blendfile::PartialWriteContext::id_add(), LISTBASE_FOREACH, outliner_id_copy_tag(), tree, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_id_copy_exec(), and outliner_id_copy_tag().
|
static |
Definition at line 585 of file outliner_edit.cc.
References BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), BLI_assert, CTX_data_main(), CTX_wm_region(), CTX_wm_space_outliner(), ID_TAG_DOIT, LISTBASE_FOREACH, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_id_delete_tag(), wmOperator::reports, SpaceOutliner::tree, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_id_delete().
|
static |
Definition at line 551 of file outliner_edit.cc.
References BKE_reportf(), TreeStoreElem::id, id_delete_tag(), ID_LI, blender::ed::outliner::TreeElement::idcode, LISTBASE_FOREACH, outliner_id_delete_tag(), reports, RPT_ERROR_INVALID_INPUT, 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 103 of file outliner_dragdrop.cc.
References C, TreeStoreElem::id, blender::ed::outliner::TreeElement::idcode, outliner_drop_find(), TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by material_drop_invoke(), material_drop_poll(), scene_drop_invoke(), and scene_drop_poll().
|
static |
Definition at line 722 of file outliner_edit.cc.
References CTX_data_main(), ListBase::first, i, EnumPropertyItem::identifier, EnumPropertyItem::name, ptr, rna_enum_dummy_NULL_items, RNA_enum_get(), RNA_enum_item_add(), RNA_enum_item_end(), EnumPropertyItem::value, and which_libbase().
Referenced by OUTLINER_OT_id_remap().
|
static |
Definition at line 2861 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_ensure_invariants(), BKE_main_id_tag_all(), BKE_report(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_space_outliner(), ED_outliner_select_sync_from_all_tag(), ED_undo_push(), get_element_operation_type(), get_target_element(), ID_AC, id_delete_tag_fn(), id_fake_user_clear_fn(), id_fake_user_set_fn(), ID_GR, id_local_fn(), ID_MA, id_remap_fn(), id_select_linked_fn(), ID_TAG_DOIT, ID_TE, ID_WO, 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, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), OUTLINER_IDOP_COPY, OUTLINER_IDOP_DELETE, OUTLINER_IDOP_FAKE_ADD, OUTLINER_IDOP_FAKE_CLEAR, OUTLINER_IDOP_LOCAL, OUTLINER_IDOP_PASTE, OUTLINER_IDOP_REMAP, OUTLINER_IDOP_RENAME, OUTLINER_IDOP_SELECT_LINKED, OUTLINER_IDOP_SINGLE, OUTLINER_IDOP_UNLINK, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_WARNING, 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(), WM_event_add_notifier(), WM_OP_INVOKE_DEFAULT, and WM_operator_name_call().
Referenced by OUTLINER_OT_id_operation().
|
static |
Definition at line 2809 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ELEM, get_target_element(), OUTLINER_IDOP_SINGLE, outliner_operation_tree_element_poll(), SpaceOutliner::outlinevis, SO_SCENES, SO_VIEW_LAYER, TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_itemf().
|
static |
Definition at line 2838 of file outliner_tools.cc.
References C, ED_operator_outliner_active(), outliner_id_operation_item_poll(), prop_id_op_types, ptr, RNA_enum_item_add(), and RNA_enum_item_end().
Referenced by OUTLINER_OT_id_operation().
|
static |
Definition at line 883 of file outliner_edit.cc.
References BKE_copybuffer_paste(), BKE_report(), BKE_reportf(), FILE_ACTIVE_COLLECTION, FILE_AUTOSELECT, FILE_MAX, flag, NC_WINDOW, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_copybuffer_filepath_get(), wmOperator::reports, RPT_INFO, and WM_event_add_notifier().
Referenced by OUTLINER_OT_id_paste().
|
static |
Definition at line 924 of file outliner_edit.cc.
References BKE_id_name(), BKE_idtype_idcode_is_linkable(), BKE_library_ID_is_indirectly_used(), BKE_report(), BKE_reportf(), CTX_data_main(), CTX_data_pointer_get_type(), PointerRNA::data, GS, ID_IS_LINKED, ID::name, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, ot, wmOperator::reports, ret, RNA_int_set(), RPT_ERROR_INVALID_INPUT, ID::session_uid, WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
Referenced by OUTLINER_OT_id_linked_relocate().
|
static |
Definition at line 449 of file space_outliner.cc.
References blender::bke::id::IDRemapper::apply(), BLI_mempool_iternew(), BLI_mempool_iterstep(), ED_area_tag_redraw(), TreeStoreElem::id, ID_REMAP_APPLY_DEFAULT, ID_REMAP_RESULT_SOURCE_NOT_MAPPABLE, ID_REMAP_RESULT_SOURCE_REMAPPED, ID_REMAP_RESULT_SOURCE_UNASSIGNED, ID_REMAP_RESULT_SOURCE_UNAVAILABLE, SpaceOutliner::runtime, SO_TREESTORE_REBUILD, SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, and SpaceOutliner::treestore.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 634 of file outliner_edit.cc.
References BKE_libblock_remap(), BKE_main_lib_objects_recalc_all(), BKE_reportf(), BLI_findlink(), CTX_data_main(), CTX_wm_space_outliner(), DEG_relations_tag_update(), GPU_materials_free(), GS, ID_IS_EDITABLE, ID_REMAP_SKIP_INDIRECT_USAGE, ID_REMAP_SKIP_NEVER_NULL_USAGE, ID::name, NC_WINDOW, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR_INVALID_INPUT, RPT_WARNING, which_libbase(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_id_remap().
|
static |
Definition at line 684 of file outliner_edit.cc.
References GS, TreeStoreElem::id, LISTBASE_FOREACH, ID::name, outliner_id_remap_find_tree_element(), wmOperator::ptr, RNA_enum_set(), RNA_enum_set_identifier(), tree, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, UI_UNIT_Y, and y.
Referenced by outliner_id_remap_find_tree_element(), and outliner_id_remap_invoke().
|
static |
Definition at line 707 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), IFACE_, wmEvent::mval, outliner_id_remap_find_tree_element(), wmOperator::ptr, RNA_property_is_set(), RNA_struct_find_property(), SpaceOutliner::tree, UI_view2d_region_to_view(), ARegion::v2d, and WM_operator_props_dialog_popup().
Referenced by OUTLINER_OT_id_remap().
| const char * blender::ed::outliner::outliner_idcode_to_plural | ( | short | idcode | ) |
Definition at line 31 of file common.cc.
References BKE_idtype_idcode_to_name_plural(), RNA_property_ui_name(), and RNA_struct_type_find_property().
Referenced by blender::ed::outliner::TreeDisplayIDOrphans::build_tree().
|
static |
Definition at line 421 of file space_outliner.cc.
References ListBase::first, SpaceOutliner::runtime, and ScrArea::spacedata.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 1754 of file outliner_select.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), Object::mode, 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 1745 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 1738 of file outliner_select.cc.
References View2D::cur, outliner_is_co_within_restrict_columns(), outliner_right_columns_width(), ARegion::v2d, and rctf::xmax.
Referenced by outliner_is_co_within_restrict_columns(), and outliner_item_do_activate_from_cursor().
| bool blender::ed::outliner::outliner_is_collection_tree_element | ( | const TreeElement * | te | ) |
Definition at line 50 of file outliner_collections.cc.
References ELEM, ID_GR, blender::ed::outliner::TreeElement::idcode, TREESTORE, TSE_LAYER_COLLECTION, TSE_SCENE_COLLECTION_BASE, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by collection_drop_tooltip(), do_item_rename(), is_collection_element(), outliner_collect_objects_to_delete(), outliner_collect_selected_collections(), outliner_collect_selected_objects(), outliner_collect_selected_parent_collections(), outliner_draw_restrictbuts(), outliner_element_is_collection_or_object(), outliner_item_drag_drop_invoke(), test_collection_callback(), 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 392 of file outliner_utils.cc.
References View2D::cur, UI_UNIT_Y, rctf::ymax, rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_overrides_restrictbuts(), outliner_draw_overrides_rna_buts(), outliner_draw_rnabuts(), and outliner_draw_userbuts().
| 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 376 of file outliner_utils.cc.
References TreeStoreElem::flag, blender::ed::outliner::TreeElement::parent, TREESTORE, and TSE_CLOSED.
Referenced by do_outliner_range_select(), and find_walk_select_start_element().
|
static |
Definition at line 1897 of file outliner_select.cc.
References C, CTX_wm_region(), outliner_item_activate_invoke(), outliner_item_do_activate_from_cursor(), wmOperator::ptr, RNA_boolean_get(), and 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 1772 of file outliner_select.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), do_outliner_range_select(), do_outliner_select_recursive(), ED_outliner_select_sync_from_outliner(), ED_region_tag_redraw(), ED_region_tag_redraw_no_rebuild(), TreeStoreElem::flag, merged_element_search_menu_invoke(), OL_ITEM_ACTIVATE, OL_ITEM_DESELECT, OL_ITEM_EXTEND, OL_ITEM_SELECT, OL_ITEM_SELECT_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, 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(), select, blender::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, TREESTORE, TSE_ACTIVE, TSE_SELECTED, TSE_VIEW_COLLECTION_BASE, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by outliner_item_activate_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 1416 of file outliner_dragdrop.cc.
References BLI_freelistN(), C, CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), data, datastack_drop_data_init(), blender::ed::outliner::TreeElement::directdata, ED_outliner_select_sync_from_outliner(), ELEM, flag, TreeStoreElem::flag, GS, Collection::id, TreeStoreElem::id, ID_GR, ID_OB, LISTBASE_FOREACH, Scene::master_collection, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, ot, outliner_collect_selected_collections(), outliner_collect_selected_objects(), 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_element_find(), outliner_item_is_co_within_close_toggle(), outliner_tree_traverse(), blender::ed::outliner::TreeElement::parent, RNA_float_set(), blender::ed::outliner::IDsSelectedData::selected_array, SpaceOutliner::tree, tree_element_get_icon(), TREESTORE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_SELECTED, TreeStoreElem::type, UI_view2d_region_to_view(), ARegion::v2d, WM_drag_add_local_ID(), WM_drag_data_create(), WM_DRAG_DATASTACK, WM_DRAG_ID, WM_DRAG_NOP, WM_event_drag_start_mval(), WM_event_start_prepared_drag(), WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
Referenced by OUTLINER_OT_item_drag_drop().
|
static |
Definition at line 1403 of file outliner_dragdrop.cc.
References outliner_find_item_at_y(), SpaceOutliner::tree, UI_view2d_region_to_view_y(), ARegion::v2d, and WM_event_drag_start_mval().
Referenced by outliner_item_drag_drop_invoke().
| bool blender::ed::outliner::outliner_item_is_co_over_icon | ( | const TreeElement * | te, |
| float | view_co_x ) |
Definition at line 407 of file outliner_utils.cc.
References UI_UNIT_X, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_find_item_at_x_in_row().
| 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 412 of file outliner_utils.cc.
References UI_UNIT_X, blender::ed::outliner::TreeElement::xend, and blender::ed::outliner::TreeElement::xs.
Referenced by 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 397 of file outliner_utils.cc.
References TREESTORE, TSE_VIEW_COLLECTION_BASE, UI_UNIT_X, blender::ed::outliner::TreeElement::xend, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_box_select_invoke(), and outliner_item_do_activate_from_cursor().
| 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 417 of file outliner_utils.cc.
References UI_UNIT_X, and blender::ed::outliner::TreeElement::xs.
Referenced by outliner_item_do_activate_from_cursor(), outliner_item_drag_drop_invoke(), 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 186 of file outliner_select.cc.
References BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, do_outliner_item_editmode_toggle(), do_outliner_item_mode_toggle_generic(), do_outliner_item_posemode_toggle(), Base::flag, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, Object::mode, OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, blender::ed::outliner::TreeViewContext::ob_pose, OB_TYPE_SUPPORT_EDITMODE, blender::ed::outliner::TreeViewContext::obact, blender::ed::outliner::TreeViewContext::scene, TREESTORE, TSE_SOME_ID, Object::type, TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by 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 177 of file outliner_edit.cc.
References BLI_listbase_is_empty(), blender::ed::outliner::TreeElement::flag, TreeStoreElem::flag, outliner_flag_set(), blender::ed::outliner::TreeElement::subtree, TE_PRETEND_HAS_CHILDREN, TREESTORE, TSE_CLOSED, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by outliner_item_openclose_invoke(), outliner_item_openclose_modal(), outliner_walk_left(), and outliner_walk_right().
|
static |
Definition at line 250 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), wmOperator::customdata, TreeStoreElem::flag, KM_CLICK_DRAG, LEFTMOUSE, MEM_callocN(), blender::ed::outliner::OpenCloseData::open, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, outliner_find_item_at_y(), outliner_flag_is_any_test(), outliner_item_is_co_within_close_toggle(), outliner_item_openclose(), outliner_tag_redraw_avoid_rebuild_on_open_change(), blender::ed::outliner::OpenCloseData::prev_tselem, wmOperator::ptr, RNA_boolean_get(), blender::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, TREESTORE, TSE_CLOSED, wmEvent::type, UI_view2d_region_to_view(), ARegion::v2d, wmEvent::val, WM_event_add_modal_handler(), WM_event_drag_start_mval(), blender::ed::outliner::OpenCloseData::x_location, and blender::ed::outliner::TreeElement::xs.
Referenced by OUTLINER_OT_item_openclose().
|
static |
Definition at line 208 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), wmOperator::customdata, data, KM_RELEASE, MEM_freeN(), MOUSEMOVE, wmEvent::mval, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, outliner_find_item_at_y(), outliner_item_openclose(), outliner_tag_redraw_avoid_rebuild_on_open_change(), SpaceOutliner::tree, TREESTORE, wmEvent::type, UI_view2d_region_to_view(), ARegion::v2d, wmEvent::val, and blender::ed::outliner::TreeElement::xs.
Referenced by OUTLINER_OT_item_openclose().
|
static |
Definition at line 393 of file outliner_edit.cc.
References BKE_report(), outliner_find_element_with_flag(), reports, RPT_WARNING, SpaceOutliner::tree, and TSE_ACTIVE.
Referenced by outliner_item_rename_invoke().
|
static |
Definition at line 406 of file outliner_edit.cc.
References wmEvent::mval, outliner_find_item_at_y(), outliner_item_is_co_over_name(), SpaceOutliner::tree, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by outliner_item_rename_invoke().
|
static |
Definition at line 421 of file outliner_edit.cc.
References BLI_rcti_size_y(), CTX_wm_region(), CTX_wm_space_outliner(), View2D::cur, do_item_rename(), View2D::mask, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, outliner_item_rename_find_active(), outliner_item_rename_find_hovered(), outliner_scroll_view(), outliner_show_active(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), TREESTORE, ARegion::v2d, rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by 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 1540 of file outliner_select.cc.
References activate(), C, do_outliner_item_activate_tree_element(), SpaceOutliner::flag, 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(), SO_SYNC_SELECT, TREESTORE, TSE_ACTIVE, and 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 2176 of file outliner_edit.cc.
References BKE_report(), CTX_data_scene(), CTX_wm_space_outliner(), do_outliner_keyingset_editop(), KEYINGSET_EDITMODE_ADD, NC_SCENE, ND_KEYINGSET, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, verify_active_keyingset(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_keyingset_add_selected().
|
static |
Definition at line 2221 of file outliner_edit.cc.
References CTX_data_scene(), CTX_wm_space_outliner(), do_outliner_keyingset_editop(), KEYINGSET_EDITMODE_REMOVE, NC_SCENE, ND_KEYINGSET, OPERATOR_CANCELLED, OPERATOR_FINISHED, verify_active_keyingset(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_keyingset_remove_selected().
| void blender::ed::outliner::outliner_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 106 of file outliner_ops.cc.
References RGN_TYPE_WINDOW, SPACE_OUTLINER, and WM_keymap_ensure().
Referenced by ED_spacetype_outliner().
|
static |
Create either a RNA_LayerCollection or a RNA_Collection pointer.
Definition at line 341 of file outliner_draw.cc.
References Collection::id, Scene::id, ptr, RNA_id_pointer_create(), and RNA_pointer_create_discrete().
Referenced by outliner_collection_is_isolated(), outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), and outliner_collection_set_flag_recursive_fn().
|
static |
Definition at line 3084 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_ensure_invariants(), BKE_main_id_tag_all(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), ED_undo_push(), id_delete_tag_fn(), 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, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 1112 of file outliner_edit.cc.
References BLI_assert, CTX_wm_region(), CTX_wm_space_outliner(), LISTBASE_FOREACH, wmEvent::mval, OPERATOR_CANCELLED, outliner_lib_relocate_invoke_do(), wmOperator::reports, ret, SpaceOutliner::tree, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_lib_reload().
|
static |
Definition at line 1060 of file outliner_edit.cc.
References BLI_assert, CTX_wm_region(), CTX_wm_space_outliner(), LISTBASE_FOREACH, wmEvent::mval, OPERATOR_CANCELLED, outliner_lib_relocate_invoke_do(), wmOperator::reports, ret, SpaceOutliner::tree, UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_lib_relocate().
|
static |
Definition at line 1028 of file outliner_edit.cc.
References BKE_reportf(), TreeStoreElem::id, ID_LI, blender::ed::outliner::TreeElement::idcode, lib_relocate(), LISTBASE_FOREACH, OPERATOR_CANCELLED, ot, outliner_lib_relocate_invoke_do(), reports, ret, RPT_ERROR_INVALID_INPUT, blender::ed::outliner::TreeElement::subtree, TREESTORE, UI_UNIT_Y, 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 1845 of file outliner_tools.cc.
References C, CTX_data_scene(), 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, 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, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_libdata_operation_selection_set(), OUTLINER_LIB_SELECTIONSET_SELECTED, OUTLINER_LIBOVERRIDE_OP_CLEAR_SINGLE, OUTLINER_LIBOVERRIDE_OP_CREATE_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_DELETE_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_RESET, OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY, OUTLINER_LIBOVERRIDE_OP_RESYNC_HIERARCHY_ENFORCE, wmOperator::ptr, reports, wmOperator::reports, RNA_enum_get(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1837 of file outliner_tools.cc.
References C, and outliner_operation_tree_element_poll().
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
| 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, CTX_data_dir(), CTX_data_dir_set(), CTX_data_equals(), CTX_data_id_pointer_set(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_NO_DATA, CTX_RESULT_OK, CTX_wm_space_outliner(), TreeStoreElem::id, outliner_context_dir, outliner_context_selected_ids(), outliner_find_element_with_flag(), result, SpaceOutliner::tree, TREESTORE, TSE_ACTIVE, and TSE_IS_REAL_ID.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 86 of file space_outliner.cc.
References BLI_rctf_compare(), C, View2D::cur, draw_outliner(), TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 113 of file space_outliner.cc.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 59 of file space_outliner.cc.
References View2D::align, View2D::keeptot, View2D::keepzoom, View2D::maxzoom, View2D::minzoom, RGN_TYPE_WINDOW, ARegion::runtime, View2D::scroll, SPACE_OUTLINER, UI_view2d_region_reinit(), ARegion::v2d, V2D_ALIGN_NO_NEG_X, V2D_ALIGN_NO_POS_Y, V2D_COMMONVIEW_LIST, V2D_KEEPASPECT, V2D_KEEPTOT_STRICT, V2D_LIMITZOOM, V2D_LOCKZOOM_X, V2D_LOCKZOOM_Y, V2D_SCROLL_BOTTOM, V2D_SCROLL_HORIZONTAL_HIDE, V2D_SCROLL_LEFT, V2D_SCROLL_RIGHT, V2D_SCROLL_TOP, V2D_SCROLL_VERTICAL_HIDE, ARegion::winx, ARegion::winy, WM_dropboxmap_find(), WM_event_add_dropbox_handler(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 115 of file space_outliner.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), ED_region_tag_redraw_no_rebuild(), ELEM, ListBase::first, NA_ACTIVATED, NA_ADDED, NA_EDITED, NA_REMOVED, NA_RENAME, NA_SELECTED, NC_ANIMATION, NC_ASSET, 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_RENDER_OPTIONS, ND_SCENEBROWSE, ND_SEQUENCER, ND_SHADING_LINKS, ND_SPACE_OUTLINER, ND_TRANSFORM, ND_VERTEX_GROUP, ND_WORLD, NS_LAYER_COLLECTION, outliner_requires_rebuild_on_select_or_active_change(), SpaceOutliner::outlinevis, params, SO_DATA_API, SO_LIBRARIES, ScrArea::spacedata, and wmNotifier::subtype.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 315 of file space_outliner.cc.
References ED_region_do_msg_notify_tag_redraw(), ELEM, ListBase::first, wmMsgSubscribeValue::notify, SpaceOutliner::outlinevis, wmMsgSubscribeValue::owner, params, SO_OVERRIDES_LIBRARY, SO_SCENES, SO_VIEW_LAYER, ScrArea::spacedata, wmMsgSubscribeValue::user_data, Window, and WM_msg_subscribe_rna_anon_prop.
Referenced by ED_spacetype_outliner().
| void blender::ed::outliner::outliner_make_object_parent_hierarchy | ( | ListBase * | lb | ) |
Definition at line 40 of file common.cc.
References BLI_addtail(), BLI_remlink(), ListBase::first, Object::id, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, ID::newid, blender::ed::outliner::TreeElement::next, blender::ed::outliner::TreeElement::parent, Object::parent, blender::ed::outliner::TreeElement::subtree, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by blender::ed::outliner::TreeDisplayScenes::build_tree(), and blender::ed::outliner::TreeElementSceneObjectsBase::expand().
|
static |
Definition at line 2206 of file outliner_draw.cc.
References BLI_assert, C, CTX_wm_space_outliner(), CTX_wm_window(), Object::data, wmWindow::eventstate, GS, TreeStoreElem::id, ID_OB, KM_CTRL, wmEvent::modifier, ID::name, blender::ed::outliner::TreeViewContext::obact, outliner_find_tree_element(), outliner_item_mode_toggle(), outliner_viewcontext_init(), and SpaceOutliner::tree.
Referenced by outliner_draw_mode_column_toggle().
|
static |
Definition at line 3438 of file outliner_tools.cc.
References blender::ed::outliner::ModifierFnArgs::C, C, CTX_wm_space_outliner(), ED_undo_push(), ELEM, modifier_fn(), OL_MODIFIER_OP_APPLY, OL_MODIFIER_OP_DELETE, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_data_operation(), wmOperator::ptr, blender::ed::outliner::ModifierFnArgs::reports, wmOperator::reports, RNA_enum_get(), and TSE_MODIFIER.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 952 of file outliner_tools.cc.
References BKE_id_delete(), BKE_library_ID_is_indirectly_used(), BKE_object_is_in_editmode(), BKE_reportf(), C, CTX_data_main(), blender::ed::object::editmode_exit_ex(), blender::ed::object::EM_FREEDATA, Object::id, Scene::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_TAG_INDIRECT, Object::mode, ID::name, OB_MODE_EDIT, reports, RPT_WARNING, and ID::tag.
Referenced by outliner_delete_exec().
|
static |
Definition at line 2488 of file outliner_tools.cc.
References BLI_assert_unreachable, C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), CTX_wm_window(), DEG_id_tag_update(), ED_outliner_select_sync_from_object_tag(), ED_undo_push(), get_target_element(), Scene::id, ID_RECALC_SELECT, id_remap_fn(), item_rename_fn(), NC_SCENE, ND_OB_SELECT, object_deselect_fn(), object_select_fn(), object_select_hierarchy_fn(), OL_OP_DESELECT, OL_OP_REMAP, OL_OP_RENAME, OL_OP_SELECT, OL_OP_SELECT_HIERARCHY, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_do_object_operation(), outliner_do_object_operation_ex(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), str, SpaceOutliner::tree, TREESTORE, WM_event_add_notifier(), and WM_window_set_active_scene().
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 259 of file outliner_draw.cc.
References blender::animrig::autokeyframe_property(), BKE_main_collection_sync_remap(), BKE_object_is_child_recursive(), BKE_scene_frame_get(), BKE_view_layer_base_find(), BKE_view_layer_need_resync_tag(), BKE_view_layer_synced_ensure(), C, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_window(), data, DEG_id_tag_update(), DEG_relations_tag_update(), wmWindow::eventstate, ListBase::first, Object::id, Scene::id, ID_RECALC_BASE_FLAGS, ID_RECALC_SYNC_TO_EVAL, KM_SHIFT, wmEvent::modifier, Base::object, Main::objects, ptr, RNA_id_pointer_create(), RNA_pointer_create_discrete(), RNA_property_boolean_get(), RNA_property_boolean_set(), and RNA_struct_type_find_property().
Referenced by outliner__base_set_flag_recursive_fn(), and outliner__object_set_flag_recursive_fn().
|
static |
Definition at line 1598 of file outliner_edit.cc.
References add(), CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw(), OPERATOR_FINISHED, outliner_count_levels(), outliner_flag_is_any_test(), outliner_openclose_level(), wmOperator::ptr, RNA_boolean_get(), SpaceOutliner::tree, and TSE_CLOSED.
Referenced by OUTLINER_OT_show_one_level().
|
static |
Return true when levels were opened.
Definition at line 1402 of file outliner_edit.cc.
References TreeStoreElem::flag, blender::ed::outliner::TreeElement::parent, TREESTORE, and TSE_CLOSED.
Referenced by outliner_show_active().
|
static |
Definition at line 1578 of file outliner_edit.cc.
References TreeStoreElem::flag, LISTBASE_FOREACH, outliner_openclose_level(), TREESTORE, and TSE_CLOSED.
Referenced by outliner_one_level_exec(), and outliner_openclose_level().
|
static |
Definition at line 3725 of file outliner_tools.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), do_outliner_operation_event(), wmEvent::mval, OPERATOR_PASS_THROUGH, outliner_find_item_at_y(), SpaceOutliner::tree, UI_but_tooltip_timer_remove(), UI_context_active_but_get(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by OUTLINER_OT_operation().
|
static |
Definition at line 203 of file outliner_tools.cc.
References C, CTX_wm_space_outliner(), ED_operator_outliner_active(), and get_target_element().
Referenced by outliner_id_operation_item_poll(), outliner_liboverride_operation_poll(), OUTLINER_OT_action_set(), OUTLINER_OT_id_operation(), and OUTLINER_OT_lib_operation().
|
static |
Definition at line 3628 of file outliner_tools.cc.
References C, OPERATOR_INTERFACE, ot, RNA_property_identifier(), uiLayout::separator(), UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemMContents(), uiItemsEnumO(), uiLayoutSetOperatorContext(), WM_OP_INVOKE_REGION_WIN, WM_operator_poll(), WM_operatortype_find(), and WM_operatortype_name().
Referenced by do_outliner_operation_event().
| void blender::ed::outliner::outliner_operatortypes | ( | ) |
Definition at line 20 of file outliner_ops.cc.
References 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_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_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 WM_operatortype_append().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 2499 of file outliner_edit.cc.
References CTX_wm_space_outliner(), IFACE_, OPERATOR_CANCELLED, OPERATOR_FINISHED, SpaceOutliner::outlinevis, SO_ID_ORPHANS, SPACE_OUTLINER, UI_SCALE_FAC, WIN_ALIGN_LOCATION_CENTER, and WM_window_open().
Referenced by OUTLINER_OT_orphans_manage().
|
static |
Definition at line 2413 of file outliner_edit.cc.
References outliner_orphans_purge_cleanup().
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2334 of file outliner_edit.cc.
References BKE_lib_query_unused_ids_amounts(), CTX_data_main(), wmOperator::customdata, data, wmOperator::ptr, and RNA_boolean_get().
Referenced by outliner_orphans_purge_invoke(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2326 of file outliner_edit.cc.
References wmOperator::customdata.
Referenced by outliner_orphans_purge_cancel(), and outliner_orphans_purge_exec().
|
static |
Definition at line 2365 of file outliner_edit.cc.
References BKE_id_multi_tagged_delete(), BKE_lib_query_unused_ids_tag(), BKE_report(), BKE_reportf(), CTX_data_main(), CTX_wm_area(), CTX_wm_space_outliner(), wmOperator::customdata, data, DEG_relations_tag_update(), ID_TAG_DOIT, INDEX_ID_NULL, NA_REMOVED, NC_ID, NC_WINDOW, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_orphans_purge_cleanup(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_INFO, SPACE_OUTLINER, ScrArea::spacetype, WM_event_add_notifier(), and WM_main_add_notifier().
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2349 of file outliner_edit.cc.
References wmOperator::customdata, IFACE_, outliner_orphans_purge_check(), unused_message_popup_width_compute(), and WM_operator_props_dialog_popup().
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2418 of file outliner_edit.cc.
References BLI_assert_unreachable, uiLayout::column(), wmOperator::customdata, data, uiLayout::label(), wmOperator::layout, uiLayout::prop(), ptr, wmOperator::ptr, uiLayout::row(), uiLayout::separator(), UI_ITEM_NONE, and unused_message_gen().
Referenced by OUTLINER_OT_orphans_purge().
| void blender::ed::outliner::OUTLINER_OT_action_set | ( | wmOperatorType * | ot | ) |
Definition at line 3239 of file outliner_tools.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_action_set_exec(), outliner_operation_tree_element_poll(), PROP_ENUM_NO_TRANSLATE, RNA_action_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, and WM_enum_search_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_animdata_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3361 of file outliner_tools.cc.
References ED_operator_outliner_active(), ot, outliner_animdata_operation_exec(), prop_animdata_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_clear_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1371 of file outliner_edit.cc.
References ED_operator_outliner_active(), ot, and outliner_clear_filter_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_color_tag_set | ( | wmOperatorType * | ot | ) |
Definition at line 1645 of file outliner_collections.cc.
References COLLECTION_COLOR_NONE, ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_color_tag_set_exec(), RNA_def_enum(), and rna_enum_collection_color_items.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_disable | ( | wmOperatorType * | ot | ) |
Definition at line 1425 of file outliner_collections.cc.
References collection_disable_poll(), collection_flag_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_disable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1455 of file outliner_collections.cc.
References collection_disable_render_poll(), collection_flag_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1380 of file outliner_dragdrop.cc.
References collection_drop_invoke(), ED_operator_outliner_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 724 of file outliner_collections.cc.
References collection_duplicate_exec(), ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate_linked | ( | wmOperatorType * | ot | ) |
Definition at line 707 of file outliner_collections.cc.
References collection_duplicate_exec(), ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_enable | ( | wmOperatorType * | ot | ) |
Definition at line 1410 of file outliner_collections.cc.
References collection_enable_poll(), collection_flag_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_enable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1440 of file outliner_collections.cc.
References collection_enable_render_poll(), collection_flag_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1017 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_clear_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_set | ( | wmOperatorType * | ot | ) |
Definition at line 1002 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_set_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1240 of file outliner_collections.cc.
References collection_hide_poll(), collection_visibility_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hide_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1270 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hierarchy_delete | ( | wmOperatorType * | ot | ) |
Definition at line 460 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_hierarchy_delete_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1047 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_clear_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_set | ( | wmOperatorType * | ot | ) |
Definition at line 1032 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_set_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1079 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_clear_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_set | ( | wmOperatorType * | ot | ) |
Definition at line 1062 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_set_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_instance | ( | wmOperatorType * | ot | ) |
Definition at line 857 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_instance_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_isolate | ( | wmOperatorType * | ot | ) |
Definition at line 1155 of file outliner_collections.cc.
References collection_isolate_exec(), collection_isolate_invoke(), ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_link | ( | wmOperatorType * | ot | ) |
Definition at line 790 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_link_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_new | ( | wmOperatorType * | ot | ) |
Definition at line 290 of file outliner_collections.cc.
References collection_new_exec(), collection_new_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 570 of file outliner_collections.cc.
References collection_objects_select_exec(), ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_select | ( | wmOperatorType * | ot | ) |
Definition at line 555 of file outliner_collections.cc.
References collection_objects_select_exec(), ED_outliner_collections_editor_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_show | ( | wmOperatorType * | ot | ) |
Definition at line 1225 of file outliner_collections.cc.
References collection_show_poll(), collection_visibility_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_show_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1255 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_constraint_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3406 of file outliner_tools.cc.
References ED_operator_outliner_active(), ot, outliner_constraint_operation_exec(), prop_constraint_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_data_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3605 of file outliner_tools.cc.
References ot, outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_data_operation_poll(), RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_DEFAULT_items, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_datastack_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1084 of file outliner_dragdrop.cc.
References datastack_drop_invoke(), ED_operator_outliner_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2737 of file outliner_tools.cc.
References ED_operator_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_delete_exec(), PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_drivers_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2010 of file outliner_edit.cc.
References ed_operator_outliner_datablocks_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_drivers_addsel_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_drivers_delete_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2049 of file outliner_edit.cc.
References ed_operator_outliner_datablocks_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_drivers_deletesel_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_expanded_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1266 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, and outliner_toggle_expanded_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1548 of file outliner_collections.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_hide_exec(), and outliner_view_layer_collections_editor_poll().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_highlight_update | ( | wmOperatorType * | ot | ) |
Definition at line 160 of file outliner_edit.cc.
References ED_operator_outliner_active(), ot, and outliner_highlight_update_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_copy | ( | wmOperatorType * | ot | ) |
Definition at line 862 of file outliner_edit.cc.
References ED_operator_outliner_active(), ot, and outliner_id_copy_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_delete | ( | wmOperatorType * | ot | ) |
Definition at line 615 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_id_delete_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_linked_relocate | ( | wmOperatorType * | ot | ) |
Definition at line 966 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, and outliner_id_relocate_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3041 of file outliner_tools.cc.
References ot, outliner_id_operation_exec(), outliner_id_operation_itemf(), outliner_operation_tree_element_poll(), prop_id_op_types, RNA_def_enum(), RNA_def_enum_funcs(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_paste | ( | wmOperatorType * | ot | ) |
Definition at line 903 of file outliner_edit.cc.
References ED_operator_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_id_paste_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_remap | ( | wmOperatorType * | ot | ) |
Definition at line 750 of file outliner_edit.cc.
References BLT_I18NCONTEXT_ID_ID, ED_operator_region_outliner_active(), ID_OB, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_id_itemf(), outliner_id_remap_exec(), outliner_id_remap_invoke(), PROP_ENUM_NO_TRANSLATE, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_enum_funcs_runtime(), RNA_def_property_flag(), RNA_def_property_translation_context(), rna_enum_dummy_NULL_items, and rna_enum_id_type_items.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_activate | ( | wmOperatorType * | ot | ) |
Definition at line 1913 of file outliner_select.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_item_activate_invoke(), OUTLINER_OT_item_activate(), PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_activate().
| void blender::ed::outliner::OUTLINER_OT_item_drag_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1569 of file outliner_dragdrop.cc.
References ED_operator_outliner_active(), ot, and outliner_item_drag_drop_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_openclose | ( | wmOperatorType * | ot | ) |
Definition at line 298 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, outliner_item_openclose_invoke(), outliner_item_openclose_modal(), and RNA_def_boolean().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_rename | ( | wmOperatorType * | ot | ) |
Definition at line 448 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, ot, outliner_item_rename_invoke(), PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_keyingset_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2200 of file outliner_edit.cc.
References ed_operator_outliner_datablocks_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_keyingset_additems_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_keyingset_remove_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2241 of file outliner_edit.cc.
References ed_operator_outliner_datablocks_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_keyingset_removeitems_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_lib_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3132 of file outliner_tools.cc.
References ot, outliner_lib_op_type_items, outliner_lib_operation_exec(), outliner_operation_tree_element_poll(), RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_lib_reload | ( | wmOperatorType * | ot | ) |
Definition at line 1141 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_lib_reload_invoke().
| void blender::ed::outliner::OUTLINER_OT_lib_relocate | ( | wmOperatorType * | ot | ) |
Definition at line 1083 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and outliner_lib_relocate_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_liboverride_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2013 of file outliner_tools.cc.
References ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), prop_lib_op_selection_set, prop_liboverride_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_liboverride_troubleshoot_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2036 of file outliner_tools.cc.
References ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), prop_lib_op_selection_set, prop_liboverride_troubleshoot_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_material_drop | ( | wmOperatorType * | ot | ) |
Definition at line 668 of file outliner_dragdrop.cc.
References ED_operator_region_outliner_active(), material_drop_invoke(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_modifier_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3458 of file outliner_tools.cc.
References ED_operator_outliner_active(), ot, outliner_modifier_operation_exec(), prop_modifier_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_object_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2576 of file outliner_tools.cc.
References ED_operator_outliner_active(), ot, outliner_object_operation_exec(), prop_object_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3751 of file outliner_tools.cc.
References ED_operator_region_outliner_active(), ot, and outliner_operation_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_orphans_manage | ( | wmOperatorType * | ot | ) |
Definition at line 2530 of file outliner_edit.cc.
References OPTYPE_REGISTER, ot, and outliner_orphans_manage_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_orphans_purge | ( | wmOperatorType * | ot | ) |
Definition at line 2453 of file outliner_edit.cc.
References ed_operator_outliner_id_orphans_active(), OPTYPE_UNDO, ot, outliner_orphans_purge_cancel(), outliner_orphans_purge_check(), outliner_orphans_purge_exec(), outliner_orphans_purge_invoke(), outliner_orphans_purge_ui(), and RNA_def_boolean().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 540 of file outliner_dragdrop.cc.
References ED_operator_outliner_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and parent_clear_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_parent_drop | ( | wmOperatorType * | ot | ) |
Definition at line 451 of file outliner_dragdrop.cc.
References ED_operator_region_outliner_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and parent_drop_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scene_drop | ( | wmOperatorType * | ot | ) |
Definition at line 611 of file outliner_dragdrop.cc.
References ED_operator_region_outliner_active(), OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and scene_drop_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scene_operation | ( | wmOperatorType * | ot | ) |
Definition at line 755 of file outliner_tools.cc.
References ED_operator_outliner_active(), ot, outliner_scene_operation_exec(), prop_scene_op_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scroll_page | ( | wmOperatorType * | ot | ) |
Definition at line 1553 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, outliner_scroll_page_exec(), PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1318 of file outliner_edit.cc.
References ED_operator_outliner_active(), ot, outliner_select_all_exec(), and WM_operator_properties_select_all().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 2018 of file outliner_select.cc.
References ED_operator_region_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_box_select_exec(), outliner_box_select_invoke(), OUTLINER_OT_select_box(), PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and 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 2255 of file outliner_select.cc.
References ED_operator_outliner_active(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, OUTLINER_OT_select_walk(), outliner_walk_select_invoke(), PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and 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 1515 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, and outliner_show_active_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_show_hierarchy | ( | wmOperatorType * | ot | ) |
Definition at line 1720 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, and outliner_show_hierarchy_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_show_one_level | ( | wmOperatorType * | ot | ) |
Definition at line 1625 of file outliner_edit.cc.
References ED_operator_region_outliner_active(), ot, outliner_one_level_exec(), PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_start_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1351 of file outliner_edit.cc.
References ED_operator_outliner_active(), ot, and outliner_start_filter_exec().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_unhide_all | ( | wmOperatorType * | ot | ) |
Definition at line 1587 of file outliner_collections.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_unhide_all_exec(), and outliner_view_layer_collections_editor_poll().
Referenced by outliner_operatortypes().
| bool blender::ed::outliner::outliner_requires_rebuild_on_select_or_active_change | ( | const SpaceOutliner * | space_outliner | ) |
Definition at line 181 of file outliner_tree.cc.
References outliner_exclude_filter_get(), SO_FILTER_OB_STATE_ACTIVE, and SO_FILTER_OB_STATE_SELECTED.
Referenced by outliner_main_region_listener().
|
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 684 of file outliner_tree.cc.
References BLI_rctf_translate(), View2D::cur, outliner_find_tree_element(), outliner_set_coordinates(), SpaceOutliner::tree, blender::ed::outliner::OutlinerTreeElementFocus::tselem, ARegion::v2d, rctf::ymax, blender::ed::outliner::OutlinerTreeElementFocus::ys, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_build_tree().
|
static |
Definition at line 1070 of file outliner_draw.cc.
References COLLECTION_IS_MASTER, blender::ed::outliner::TreeElement::directdata, Collection::flag, Collection::id, Scene::id, outliner_collection_from_tree_element(), outliner_restrict_properties_enable_collection_set(), outliner_restrict_properties_enable_layer_collection_set(), RNA_id_pointer_create(), RNA_pointer_create_discrete(), TREESTORE, TSE_LAYER_COLLECTION, and TreeStoreElem::type.
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 988 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, and RNA_property_boolean_get().
Referenced by outliner_restrict_properties_collection_set(), and outliner_restrict_properties_enable_layer_collection_set().
|
static |
Definition at line 1026 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, outliner_restrict_properties_enable_collection_set(), and RNA_property_boolean_get().
Referenced by outliner_restrict_properties_collection_set().
| float blender::ed::outliner::outliner_right_columns_width | ( | const SpaceOutliner * | space_outliner | ) |
Definition at line 311 of file outliner_utils.cc.
References ATTR_FALLTHROUGH, SpaceOutliner::lib_override_view_mode, OL_RNA_COL_SIZEX, SpaceOutliner::outlinevis, SpaceOutliner::show_restrict_flags, SO_DATA_API, SO_ID_ORPHANS, SO_LIB_OVERRIDE_VIEW_HIERARCHIES, SO_LIB_OVERRIDE_VIEW_PROPERTIES, SO_LIBRARIES, SO_OVERRIDES_LIBRARY, SO_RESTRICT_ENABLE, SO_RESTRICT_HIDE, SO_RESTRICT_HOLDOUT, SO_RESTRICT_INDIRECT_ONLY, SO_RESTRICT_RENDER, SO_RESTRICT_SELECT, SO_RESTRICT_VIEWPORT, SO_SCENES, SO_SEQUENCE, SO_VIEW_LAYER, UI_UNIT_X, and V2D_SCROLL_WIDTH.
Referenced by draw_outliner(), outliner_draw_restrictbuts(), and outliner_is_co_within_restrict_columns().
|
static |
Definition at line 734 of file outliner_tools.cc.
References BLI_assert_unreachable, C, CTX_wm_space_outliner(), ED_undo_push(), OL_SCENE_OP_DELETE, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_cleanup_tree(), outliner_do_scene_operation(), wmOperator::ptr, RNA_enum_get(), and scene_fn().
Referenced by OUTLINER_OT_scene_operation().
|
static |
Definition at line 1534 of file outliner_edit.cc.
References BLI_rcti_size_y(), CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw_no_rebuild(), View2D::mask, OPERATOR_FINISHED, outliner_scroll_view(), wmOperator::ptr, RNA_boolean_get(), and ARegion::v2d.
Referenced by OUTLINER_OT_scroll_page().
| 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 422 of file outliner_utils.cc.
References View2D::cur, outliner_tree_dimensions(), UI_UNIT_Y, ARegion::v2d, rctf::ymax, and rctf::ymin.
Referenced by outliner_item_rename_invoke(), outliner_scroll_page_exec(), outliner_show_active_exec(), and outliner_walk_scroll().
| ID * blender::ed::outliner::outliner_search_back | ( | TreeElement * | te, |
| short | idcode ) |
Definition at line 256 of file outliner_utils.cc.
References TreeStoreElem::id, outliner_search_back_te(), and TREESTORE.
Referenced by constraint_fn(), modifier_fn(), outliner_do_object_operation_ex(), 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(), and tree_element_object_activate().
| TreeElement * blender::ed::outliner::outliner_search_back_te | ( | TreeElement * | te, |
| short | idcode ) |
Definition at line 241 of file outliner_utils.cc.
References blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_search_back(), and tree_element_object_activate().
|
static |
Definition at line 1286 of file outliner_edit.cc.
References CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), DEG_id_tag_update(), ED_outliner_select_sync_from_outliner(), ED_region_tag_redraw_no_rebuild(), Scene::id, ID_RECALC_SELECT, NC_SCENE, ND_OB_SELECT, OPERATOR_FINISHED, outliner_flag_flip(), outliner_flag_is_any_test(), outliner_flag_set(), wmOperator::ptr, RNA_enum_get(), SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, SpaceOutliner::tree, TSE_SELECTED, and WM_event_add_notifier().
Referenced by OUTLINER_OT_select_all().
|
static |
Definition at line 380 of file outliner_sync.cc.
References BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, EditBone::flag, TreeStoreElem::flag, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_to_outliner().
|
static |
Definition at line 353 of file outliner_sync.cc.
References BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), blender::ed::outliner::TreeElement::directdata, Base::flag, TreeStoreElem::flag, TreeStoreElem::id, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_to_outliner().
|
static |
Definition at line 401 of file outliner_sync.cc.
References bPoseChannel::bone, BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, Bone::flag, TreeStoreElem::flag, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_to_outliner().
|
static |
Definition at line 423 of file outliner_sync.cc.
References Strip::flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementStrip::get_strip(), SELECT, tree_element_cast(), TREESTORE, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_to_outliner().
|
static |
Definition at line 188 of file outliner_sync.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, EBONE_SELECTABLE, ED_armature_ebone_select_set(), EditBone::flag, TreeStoreElem::flag, bArmature::id, TreeStoreElem::id, ID_RECALC_SELECT, NC_OBJECT, ND_BONE_SELECT, TSE_SELECTED, and WM_main_add_notifier().
Referenced by outliner_sync_selection_from_outliner().
|
static |
Definition at line 168 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(), BASE_SELECTABLE, BKE_view_layer_base_find(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::ed::outliner::TreeElement::directdata, Base::flag, TreeStoreElem::flag, TreeStoreElem::id, and TSE_SELECTED.
Referenced by outliner_sync_selection_from_outliner().
|
static |
Definition at line 221 of file outliner_sync.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), bPoseChannel::bone, BONE_SELECTED, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), Object::data, DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, Bone::flag, TreeStoreElem::flag, bArmature::id, TreeStoreElem::id, ID_RECALC_SELECT, NC_OBJECT, ND_BONE_SELECT, PBONE_SELECTABLE, TSE_SELECTED, and WM_main_add_notifier().
Referenced by outliner_sync_selection_from_outliner().
|
static |
Definition at line 249 of file outliner_sync.cc.
References Strip::flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementStrip::get_strip(), SELECT, blender::seq::select_active_set(), tree_element_cast(), TREESTORE, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_from_outliner().
| void blender::ed::outliner::outliner_set_coordinates | ( | const ARegion * | region, |
| const SpaceOutliner * | space_outliner ) |
To retrieve coordinates with redrawing the entire tree.
Definition at line 1389 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), View2D::tot, UI_UNIT_Y, ARegion::v2d, blender::ed::outliner::TreeElement::xs, rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_restore_scrolling_position(), outliner_show_active(), and outliner_store_scrolling_position().
|
static |
Definition at line 1250 of file outliner_select.cc.
References BCONTEXT_BONE, BCONTEXT_BONE_CONSTRAINT, BCONTEXT_COLLECTION, BCONTEXT_CONSTRAINT, BCONTEXT_DATA, BCONTEXT_MATERIAL, BCONTEXT_MODIFIER, BCONTEXT_OBJECT, BCONTEXT_PARTICLE, BCONTEXT_PHYSICS, BCONTEXT_SCENE, BCONTEXT_SHADERFX, BCONTEXT_VIEW_LAYER, BCONTEXT_WORLD, BKE_constraint_panel_expand(), BKE_modifier_panel_expand(), BKE_shaderfx_panel_expand(), C, Object::data, blender::ed::outliner::TreeElement::directdata, eModifierType_Cloth, eModifierType_Collision, eModifierType_DynamicPaint, eModifierType_Fluid, eModifierType_Fluidsim, eModifierType_ParticleSystem, eModifierType_Softbody, bArmature::id, Object::id, TreeStoreElem::id, ID_AR, ID_CA, ID_CU_LEGACY, ID_CV, ID_GD_LEGACY, ID_GP, ID_IM, ID_KE, ID_LA, ID_LP, ID_LT, ID_MA, ID_MB, ID_ME, ID_OB, ID_PT, ID_SCE, ID_SPK, ID_VO, ID_WO, blender::ed::outliner::TreeElement::idcode, outliner_find_parent_bone(), outliner_sync_to_properties_editors(), psys_get_current(), ptr, RNA_id_pointer_create(), RNA_pointer_create_discrete(), TREESTORE, TSE_BONE, TSE_BONE_COLLECTION, TSE_BONE_COLLECTION_BASE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_DEFGROUP, TSE_DEFGROUP_BASE, TSE_EBONE, TSE_GP_LAYER, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_LINKED_PSYS, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_POSE_BASE, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_SOME_ID, ModifierData::type, and TreeStoreElem::type.
Referenced by outliner_item_do_activate_from_cursor().
|
static |
Definition at line 3263 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all(), and blender::ed::outliner::TreeElement::subtree.
Referenced by outliner_draw_tree_element().
|
static |
Definition at line 1458 of file outliner_edit.cc.
References LISTBASE_FOREACH, 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 1476 of file outliner_edit.cc.
References BLI_rcti_size_y(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_space_outliner(), View2D::cur, ED_region_tag_redraw_no_rebuild(), LISTBASE_FOREACH, View2D::mask, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_scroll_view(), outliner_show_active(), outliner_show_active_get_element(), SpaceOutliner::tree, TREESTORE, ARegion::v2d, rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by OUTLINER_OT_show_active().
|
static |
Definition at line 1420 of file outliner_edit.cc.
References BKE_object_pose_armature_get(), BKE_pose_channel_active(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_active_bone(), Object::id, Object::mode, OB_ARMATURE, OB_MODE_EDIT, OB_MODE_POSE, outliner_find_editbone(), outliner_find_id(), outliner_find_posechannel(), blender::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, and Object::type.
Referenced by outliner_show_active_exec().
|
static |
Definition at line 1706 of file outliner_edit.cc.
References CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw(), OPERATOR_FINISHED, and tree_element_show_hierarchy().
Referenced by OUTLINER_OT_show_hierarchy().
| 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 SpaceOutliner::flag, SpaceOutliner::runtime, SO_MODE_COLUMN, blender::ed::outliner::AbstractTreeDisplay::supports_mode_column(), and blender::ed::outliner::SpaceOutliner_Runtime::tree_display.
Referenced by draw_outliner(), and outliner_is_co_within_mode_column().
|
static |
Definition at line 559 of file outliner_tree.cc.
References BLI_addtail(), BLI_listbase_clear(), BLI_listbase_count(), ELEM, blender::ed::outliner::tTreeSort::id, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::tTreeSort::idcode, ListBase::last, LISTBASE_FOREACH, MEM_freeN(), MEM_malloc_arrayN(), blender::ed::outliner::tTreeSort::name, outliner_sort(), blender::ed::outliner::tTreeSort::te, treesort_alpha(), treesort_alpha_ob(), TREESTORE, TSE_DEFGROUP, TSE_ID_BASE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_build_tree(), and outliner_sort().
|
static |
Definition at line 570 of file space_outliner.cc.
References BLI_mempool_iternew(), BLI_mempool_iterstep(), TreeStoreElem::id, SO_TREESTORE_REBUILD, SpaceOutliner::storeflag, SpaceOutliner::treestore, and TSE_IS_REAL_ID.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 539 of file space_outliner.cc.
References BLI_listbase_clear(), BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), BLO_read_get_new_data_address_no_us(), TreeStore::data, i, SpaceOutliner::runtime, SO_TREESTORE_CLEANUP, SpaceOutliner::storeflag, SpaceOutliner::tree, SpaceOutliner::treestore, and TreeStore::usedelem.
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 646 of file space_outliner.cc.
References write_space_outliner().
Referenced by ED_spacetype_outliner().
|
static |
Definition at line 1341 of file outliner_edit.cc.
References BKE_area_find_region_type(), CTX_wm_area(), CTX_wm_space_outliner(), OPERATOR_FINISHED, RGN_TYPE_HEADER, and UI_textbutton_activate_rna().
Referenced by OUTLINER_OT_start_filter().
|
static |
Definition at line 51 of file outliner_tree.cc.
References BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), BLI_mempool_destroy(), BLI_mempool_iternew(), BLI_mempool_iterstep(), BLI_mempool_len(), TreeStoreElem::id, SpaceOutliner::runtime, SO_TREESTORE_CLEANUP, SpaceOutliner::storeflag, blender::ed::outliner::SpaceOutliner_Runtime::tree_hash, SpaceOutliner::treestore, and TreeStoreElem::used.
Referenced by outliner_build_tree(), and outliner_cleanup_tree().
|
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 810 of file outliner_tree.cc.
References View2D::cur, outliner_find_first_desired_element_at_y(), outliner_set_coordinates(), TREESTORE, blender::ed::outliner::OutlinerTreeElementFocus::tselem, ARegion::v2d, rctf::ymax, rctf::ymin, blender::ed::outliner::OutlinerTreeElementFocus::ys, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_build_tree().
|
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 117 of file outliner_sync.cc.
References C, blender::ed::outliner::SyncSelectTypes::edit_bone, Object::mode, OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, OB_MODE_POSE, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::SyncSelectTypes::object, outliner_viewcontext_init(), SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::seq_strip, SO_SEQUENCE, and Object::type.
Referenced by ED_outliner_select_sync_from_outliner().
|
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 137 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectTypes::edit_bone, Object::mode, OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, OB_MODE_POSE, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::SyncSelectTypes::object, SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::seq_strip, SO_SEQUENCE, SpaceOutliner::sync_select_dirty, Object::type, WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE, WM_OUTLINER_SYNC_SELECT_FROM_OBJECT, WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE, and WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by outliner_sync_selection().
| void blender::ed::outliner::outliner_sync_selection | ( | const bContext * | C, |
| const TreeViewContext & | tvc, | ||
| SpaceOutliner * | space_outliner ) |
If outliner is dirty sync selection from view layer and sequencer.
Definition at line 509 of file outliner_sync.cc.
References C, blender::ed::outliner::SyncSelectTypes::edit_bone, get_sync_select_active_data(), blender::ed::outliner::SyncSelectTypes::object, outliner_sync_select_to_outliner_set_types(), outliner_sync_selection_to_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::TreeViewContext::scene, blender::ed::outliner::SyncSelectTypes::seq_strip, SpaceOutliner::sync_select_dirty, SpaceOutliner::tree, blender::ed::outliner::TreeViewContext::view_layer, WM_OUTLINER_SYNC_SELECT_FROM_EDIT_BONE, WM_OUTLINER_SYNC_SELECT_FROM_OBJECT, WM_OUTLINER_SYNC_SELECT_FROM_POSE_BONE, and WM_OUTLINER_SYNC_SELECT_FROM_SEQUENCE.
Referenced by draw_outliner().
|
static |
Sync select and active flags from outliner to active view layer, bones, and sequencer.
Definition at line 269 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectTypes::edit_bone, blender::ed::outliner::SelectedItems::edit_bones, ID_OB, LISTBASE_FOREACH, 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, tree, TREESTORE, TSE_EBONE, TSE_POSE_CHANNEL, TSE_SOME_ID, TSE_STRIP, and TreeStoreElem::type.
Referenced by 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 457 of file outliner_sync.cc.
References blender::ed::outliner::SyncSelectActiveData::edit_bone, blender::ed::outliner::SyncSelectTypes::edit_bone, TreeStoreElem::flag, ID_OB, LISTBASE_FOREACH, blender::ed::outliner::SyncSelectActiveData::object, blender::ed::outliner::SyncSelectTypes::object, 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, tree, TREESTORE, TSE_ACTIVE, TSE_EBONE, TSE_POSE_CHANNEL, TSE_SELECTED, TSE_SOME_ID, TSE_STRIP, and TreeStoreElem::type.
Referenced by outliner_sync_selection(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 1232 of file outliner_select.cc.
References bScreen::areabase, C, CTX_wm_screen(), ED_buttons_set_context(), ED_buttons_should_sync_with_outliner(), LISTBASE_FOREACH, ptr, and SPACE_PROPERTIES.
Referenced by outliner_set_properties_tab().
| 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 445 of file outliner_utils.cc.
References ED_region_tag_redraw(), ED_region_tag_redraw_no_rebuild(), SpaceOutliner::runtime, and blender::ed::outliner::SpaceOutliner_Runtime::tree_display.
Referenced by outliner_item_openclose_invoke(), outliner_item_openclose_modal(), and outliner_walk_select_invoke().
|
static |
Definition at line 1249 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw(), OPERATOR_FINISHED, outliner_flag_is_any_test(), outliner_flag_set(), SpaceOutliner::tree, and TSE_CLOSED.
Referenced by OUTLINER_OT_expanded_toggle().
| void blender::ed::outliner::outliner_tree_dimensions | ( | SpaceOutliner * | space_outliner, |
| int * | r_width, | ||
| int * | r_height ) |
Definition at line 114 of file outliner_draw.cc.
References outliner_tree_dimensions_impl(), and SpaceOutliner::tree.
Referenced by draw_outliner(), and outliner_scroll_view().
|
static |
Definition at line 93 of file outliner_draw.cc.
References LISTBASE_FOREACH, 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, |
| ListBase * | 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 269 of file outliner_utils.cc.
References TreeStoreElem::flag, outliner_tree_traverse(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, tree, and TREESTORE.
Referenced by collection_duplicate_exec(), collection_flag_exec(), collection_instance_exec(), collection_isolate_exec(), collection_link_exec(), collection_new_exec(), collection_objects_select_exec(), collection_view_layer_exec(), collection_visibility_exec(), collections_view_layer_poll(), 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().
|
static |
Definition at line 1563 of file outliner_collections.cc.
References BASE_HIDDEN, BKE_layer_collection_set_flag(), BKE_view_layer_need_resync_tag(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), C, CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ListBase::first, Scene::id, ID_RECALC_BASE_FLAGS, LAYER_COLLECTION_HIDE, LayerCollection::layer_collections, ViewLayer::layer_collections, LISTBASE_FOREACH, NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_unhide_all().
|
static |
Definition at line 3974 of file outliner_draw.cc.
References OL_Y_OFFSET, outliner_update_viewable_area(), outliner_width(), UI_view2d_totRect_set(), ARegion::v2d, and V2D_SCROLL_HEIGHT.
Referenced by draw_outliner(), and outliner_update_viewable_area().
|
static |
Definition at line 185 of file outliner_collections.cc.
References C, CTX_wm_space_outliner(), SpaceOutliner::outlinevis, and SO_VIEW_LAYER.
Referenced by OUTLINER_OT_hide(), and OUTLINER_OT_unhide_all().
| void blender::ed::outliner::outliner_viewcontext_init | ( | const bContext * | C, |
| TreeViewContext * | tvc ) |
Definition at line 41 of file outliner_utils.cc.
References BKE_object_pose_armature_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), CTX_data_layer_collection(), CTX_data_scene(), CTX_data_view_layer(), blender::ed::outliner::TreeViewContext::layer_collection, Object::mode, OB_ARMATURE, blender::ed::outliner::TreeViewContext::ob_edit, OB_MESH, OB_MODE_WEIGHT_PAINT, blender::ed::outliner::TreeViewContext::ob_pose, blender::ed::outliner::TreeViewContext::obact, OBEDIT_FROM_OBACT, blender::ed::outliner::TreeViewContext::scene, Object::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by draw_outliner(), namebutton_fn(), outliner_item_select(), outliner_mode_toggle_fn(), and outliner_sync_select_from_outliner_set_types().
|
static |
Definition at line 2115 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 2132 of file outliner_select.cc.
References BLI_listbase_is_empty(), ListBase::first, 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 2207 of file outliner_select.cc.
References View2D::cur, outliner_scroll_view(), outliner_walk_scroll(), UI_UNIT_Y, ARegion::v2d, rctf::ymax, rctf::ymin, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_walk_scroll(), and outliner_walk_select_invoke().
|
static |
Definition at line 2222 of file outliner_select.cc.
References C, CTX_wm_region(), CTX_wm_space_outliner(), do_outliner_select_walk(), ED_outliner_select_sync_from_outliner(), find_walk_select_start_element(), OL_ITEM_ACTIVATE, OL_ITEM_EXTEND, OL_ITEM_SELECT, OPERATOR_FINISHED, outliner_item_select(), outliner_tag_redraw_avoid_rebuild_on_open_change(), outliner_walk_scroll(), outliner_walk_select_invoke(), wmOperator::ptr, RNA_boolean_get(), and RNA_enum_get().
Referenced by OUTLINER_OT_select_walk(), and outliner_walk_select_invoke().
|
static |
Definition at line 3963 of file outliner_draw.cc.
References OL_RNA_COL_SIZEX, outliner_data_api_buttons_start_x(), outliner_width(), SpaceOutliner::outlinevis, SO_DATA_API, and UI_SCALE_FAC.
Referenced by outliner_update_viewable_area(), and outliner_width().
|
static |
Definition at line 513 of file outliner_dragdrop.cc.
References C, blender::ed::object::CLEAR_PARENT_ALL, blender::ed::object::CLEAR_PARENT_KEEP_TRANSFORM, CTX_data_main(), wmEvent::custom, DEG_relations_tag_update(), EVT_DATA_DRAGDROP, ListBase::first, GS, Object::id, ID_OB, wmDrag::ids, KM_ALT, LISTBASE_FOREACH, wmEvent::modifier, NC_OBJECT, ND_PARENT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::ed::object::parent_clear(), and WM_event_add_notifier().
Referenced by OUTLINER_OT_parent_clear().
|
static |
Definition at line 473 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), C, CTX_wm_space_outliner(), ELEM, GS, TreeStoreElem::id, ID_GR, ID_OB, KM_SHIFT, wmEvent::modifier, ID::name, outliner_drop_find(), Object::parent, TREESTORE, TSE_CONSTRAINT_BASE, TSE_LIBRARY_OVERRIDE_BASE, TSE_MODIFIER_BASE, TreeStoreElem::type, and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 278 of file outliner_dragdrop.cc.
References BKE_object_is_child_recursive(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), TreeStoreElem::id, ID_OB, ID_SCE, blender::ed::outliner::TreeElement::idcode, LISTBASE_FOREACH, outliner_search_back(), Object::parent, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, and Scene::view_layers.
Referenced by parent_drop_poll().
|
static |
Definition at line 415 of file outliner_dragdrop.cc.
References C, wmEvent::custom, ELEM, EVT_DATA_DRAGDROP, ListBase::first, TreeStoreElem::id, ID_OB, blender::ed::outliner::TreeElement::idcode, wmDrag::ids, KM_ALT, wmEvent::modifier, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_drop_find(), blender::ed::object::PAR_OBJECT, parent_drop_set_parents(), wmOperator::reports, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, and WM_drag_get_local_ID_from_event().
Referenced by OUTLINER_OT_parent_drop().
|
static |
Definition at line 327 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), C, CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw_no_rebuild(), ID_OB, KM_SHIFT, wmEvent::modifier, outliner_drop_find(), outliner_flag_set(), parent_drop_allowed(), TREESTORE, TSE_DRAG_ANY, TSE_DRAG_INTO, and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 361 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), BKE_report(), C, CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), DEG_relations_tag_update(), GS, Object::id, ID_OB, ID_SCE, NC_OBJECT, ND_PARENT, ND_TRANSFORM, wmDragID::next, outliner_find_id(), outliner_search_back(), blender::ed::object::parent_set(), reports, RPT_INFO, SpaceOutliner::tree, and WM_event_add_notifier().
Referenced by parent_drop_invoke().
|
static |
Definition at line 2091 of file outliner_tools.cc.
References bPoseChannel::bone, BONE_HIDDEN_P, BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, Bone::flag, OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, and OL_DOP_UNHIDE.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1756 of file outliner_tools.cc.
References IdAdtTemplate::adt, DRIVER_FLAG_INVALID, AnimData::drivers, FCURVE_DISABLED, TreeStoreElem::id, and LISTBASE_FOREACH.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 188 of file outliner_draw.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_UNSELECTABLE, C, CTX_wm_window(), DEG_id_tag_update(), Bone::flag, bArmature::id, ID_RECALC_SYNC_TO_EVAL, KM_SHIFT, NC_OBJECT, ND_POSE, restrictbutton_recursive_bone(), and WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 179 of file outliner_draw.cc.
References BONE_HIDDEN_P, C, CTX_wm_window(), Bone::flag, KM_SHIFT, and restrictbutton_recursive_bone().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 205 of file outliner_draw.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_UNSELECTABLE, C, CTX_wm_window(), EditBone::flag, KM_SHIFT, NC_OBJECT, ND_POSE, restrictbutton_recursive_ebone(), and WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 222 of file outliner_draw.cc.
References BONE_HIDDEN_A, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, C, CTX_wm_window(), EditBone::flag, KM_SHIFT, NC_OBJECT, ND_POSE, restrictbutton_recursive_ebone(), and WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 237 of file outliner_draw.cc.
References C, DEG_id_tag_update(), ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, ND_DATA, and WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 245 of file outliner_draw.cc.
References BLI_assert, ID::flag, ID_FLAG_FAKEUSER, id_us_min(), and id_us_plus().
Referenced by outliner_draw_userbuts().
|
static |
Definition at line 174 of file outliner_draw.cc.
References C, NC_SCENE, ND_RENDER_OPTIONS, and WM_event_add_notifier().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 160 of file outliner_draw.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, Bone::childbase, flag, LISTBASE_FOREACH, and restrictbutton_recursive_bone().
Referenced by restrictbutton_bone_select_fn(), restrictbutton_bone_visibility_fn(), and restrictbutton_recursive_bone().
|
static |
Definition at line 142 of file outliner_draw.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, ED_armature_ebone_is_child_recursive(), bArmature::edbo, flag, and LISTBASE_FOREACH.
Referenced by restrictbutton_ebone_select_fn(), and restrictbutton_ebone_visibility_fn().
|
static |
Definition at line 569 of file outliner_dragdrop.cc.
References blender::ed::object::BA_SELECT, blender::ed::object::base_select(), BKE_collection_object_add(), BKE_id_is_editable(), BKE_scene_has_object(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, CTX_data_collection(), CTX_data_main(), CTX_data_scene(), CTX_wm_region(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_region_tag_redraw(), ELEM, Scene::id, ID_OB, ID_RECALC_SELECT, ID_SCE, LISTBASE_FOREACH, Scene::master_collection, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_ID_drop_find(), Scene::view_layers, WM_drag_get_local_ID_from_event(), and WM_main_add_notifier().
Referenced by OUTLINER_OT_scene_drop().
|
static |
Definition at line 562 of file outliner_dragdrop.cc.
References C, ID_OB, ID_SCE, outliner_ID_drop_find(), and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 715 of file outliner_tools.cc.
References C, CTX_data_main(), ED_scene_delete(), TreeStoreElem::id, NA_REMOVED, NC_SCENE, OL_SCENE_OP_DELETE, and WM_event_add_notifier().
Referenced by outliner_scene_operation_exec().
|
static |
Collection properties called from the Scenes mode. Change the collection children but no objects.
Definition at line 689 of file outliner_draw.cc.
References C, and outliner_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 2148 of file outliner_tools.cc.
References BLI_findindex(), blender::seq::editing_get(), Strip::flag, blender::ed::outliner::TreeElementStrip::get_strip(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, blender::seq::relations_invalidate_cache(), SELECT, blender::ed::vse::select_strip_single(), SEQ_MUTE, and tree_element_cast().
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1628 of file outliner_tools.cc.
References IdAdtTemplate::adt, C, IdAdtTemplate::id, TreeStoreElem::id, ID_AC, id_single_user(), blender::ed::outliner::TreeElement::idcode, ptr, RNA_pointer_create_discrete(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1654 of file outliner_tools.cc.
References C, Scene::id, TreeStoreElem::id, id_single_user(), ptr, RNA_id_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 3561 of file outliner_draw.cc.
References ID_OB, LISTBASE_FOREACH, subtree_contains_object(), TREESTORE, TSE_SOME_ID, and 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 1655 of file outliner_edit.cc.
References ID_OB, LISTBASE_FOREACH, subtree_has_objects(), TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by subtree_has_objects(), and tree_element_show_hierarchy().
|
static |
Definition at line 708 of file outliner_tree.cc.
References outliner_is_collection_tree_element().
Referenced by outliner_find_first_desired_element_at_y().
|
static |
Definition at line 713 of file outliner_tree.cc.
References ID_OB, blender::ed::outliner::TreeElement::idcode, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_find_first_desired_element_at_y().
| 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 818 of file outliner_select.cc.
References C, ID_CA, ID_MA, ID_OB, ID_TXT, ID_WO, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeViewContext::scene, 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().
|
static |
Definition at line 1141 of file outliner_select.cc.
References Scene::camera, ID_OB, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and outliner_search_back().
Referenced by tree_element_active_state_get().
|
static |
Edit-bones only draw in edit-mode armature.
Definition at line 645 of file outliner_select.cc.
References bArmature::act_edbone, C, CTX_data_edit_object(), EBONE_SELECTABLE, ED_armature_ebone_select_set(), NC_OBJECT, ND_BONE_ACTIVE, and WM_event_add_notifier().
Referenced by tree_element_ebone_activate().
|
static |
Definition at line 1081 of file outliner_select.cc.
References Object::actcol, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), ID_OB, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::index, Object::matbits, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, outliner_search_back(), and blender::ed::outliner::TreeElement::parent.
Referenced by tree_element_active_state_get().
|
static |
Definition at line 1115 of file outliner_select.cc.
References TreeStoreElem::id, ID_SCE, blender::ed::outliner::TreeElement::idcode, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and blender::ed::outliner::TreeViewContext::scene.
Referenced by 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 1148 of file outliner_select.cc.
References ID_CA, ID_MA, ID_OB, ID_SCE, 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_world_get(), and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 1127 of file outliner_select.cc.
References TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::ed::outliner::TreeElement::parent, and TREESTORE.
Referenced by tree_element_active_state_get().
|
static |
Definition at line 601 of file outliner_select.cc.
References bArmature::act_bone, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), blender::animrig::bone_is_visible(), BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_UNSELECTABLE, bArmature::bonebase, C, blender::ed::outliner::TreeElement::directdata, do_outliner_bone_select_recursive(), ListBase::first, Bone::flag, TreeStoreElem::id, NC_OBJECT, ND_BONE_ACTIVE, Bone::next, OL_SETSEL_EXTEND, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1011 of file outliner_select.cc.
References bArmature_Runtime::active_collection, blender::ed::outliner::TreeElement::directdata, TreeStoreElem::id, OL_DRAWSEL_ACTIVE, OL_DRAWSEL_NONE, and bArmature::runtime.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 926 of file outliner_select.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BONE_SELECTED, Object::data, blender::ed::outliner::TreeElement::directdata, Bone::flag, TreeStoreElem::id, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 538 of file outliner_select.cc.
References ANIM_armature_bonecoll_active_set(), C, blender::ed::outliner::TreeElement::directdata, TreeStoreElem::id, NC_OBJECT, ND_BONE_COLLECTION, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 438 of file outliner_select.cc.
References C, Scene::camera, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, Scene::id, ID_OB, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_SCENE, outliner_search_back(), Main::wm, WM_event_add_notifier(), and WM_windows_scene_data_sync().
Referenced by tree_element_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 684 of file outliner_intern.hh.
References blender::ed::outliner::TreeElement::abstract_element.
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_select_sync_from_strip(), outliner_select_sync_to_strip(), sequence_fn(), 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 715 of file outliner_select.cc.
References C, TreeStoreElem::id, NC_OBJECT, ND_CONSTRAINT, blender::ed::outliner::TreeElement::parent, tree_element_posechannel_activate(), TREESTORE, TSE_POSE_CHANNEL, TreeStoreElem::type, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 477 of file outliner_select.cc.
References BKE_object_defgroup_active_index_set(), BLI_assert, C, DEG_id_tag_update(), Object::id, TreeStoreElem::id, ID_RECALC_GEOMETRY, blender::ed::outliner::TreeElement::index, NC_OBJECT, ND_TRANSFORM, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 911 of file outliner_select.cc.
References BKE_object_defgroup_active_index_get(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), TreeStoreElem::id, blender::ed::outliner::TreeElement::index, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 656 of file outliner_select.cc.
References BKE_view_layer_array_from_bases_in_mode_params(), BONE_SELECTED, C, blender::ed::outliner::TreeElement::directdata, do_outliner_ebone_select_recursive(), ED_armature_edit_deselect_all_multi_ex(), EditBone::flag, TreeStoreElem::id, ObjectsInModeParams::no_dup_data, OB_MODE_EDIT, ObjectsInModeParams::object_mode, OL_SETSEL_EXTEND, OL_SETSEL_NORMAL, and tree_element_active_ebone__sel().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 943 of file outliner_select.cc.
References BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, EditBone::flag, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
| void blender::ed::outliner::tree_element_expand | ( | const AbstractTreeElement & | tree_element, |
| SpaceOutliner & | space_outliner ) |
Definition at line 261 of file tree_element.cc.
Referenced by blender::ed::outliner::AbstractTreeDisplay::add_element().
| TreeElementIcon blender::ed::outliner::tree_element_get_icon | ( | TreeStoreElem * | tselem, |
| TreeElement * | te ) |
Definition at line 2608 of file outliner_draw.cc.
References blender::ed::outliner::TreeElement::abstract_element, blender::bke::greasepencil::TreeNode::as_group(), BKE_modifier_get_info(), BLI_findlink(), COLLECTION_IS_MASTER, GreasePencilLayerTreeGroup::color_tag, CONSTRAINT_TYPE_ACTION, CONSTRAINT_TYPE_ARMATURE, CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_CHILDOF, CONSTRAINT_TYPE_CLAMPTO, CONSTRAINT_TYPE_DAMPTRACK, CONSTRAINT_TYPE_DISTLIMIT, CONSTRAINT_TYPE_FOLLOWPATH, CONSTRAINT_TYPE_FOLLOWTRACK, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_LOCKTRACK, CONSTRAINT_TYPE_LOCLIKE, CONSTRAINT_TYPE_LOCLIMIT, CONSTRAINT_TYPE_MINMAX, CONSTRAINT_TYPE_OBJECTSOLVER, CONSTRAINT_TYPE_PIVOT, CONSTRAINT_TYPE_ROTLIKE, CONSTRAINT_TYPE_ROTLIMIT, CONSTRAINT_TYPE_SAMEVOL, CONSTRAINT_TYPE_SHRINKWRAP, CONSTRAINT_TYPE_SIZELIKE, CONSTRAINT_TYPE_SIZELIMIT, CONSTRAINT_TYPE_SPLINEIK, CONSTRAINT_TYPE_STRETCHTO, CONSTRAINT_TYPE_TRACKTO, CONSTRAINT_TYPE_TRANSFORM, CONSTRAINT_TYPE_TRANSFORM_CACHE, CONSTRAINT_TYPE_TRANSLIKE, data, blender::ed::outliner::TreeElement::directdata, Collection::flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementStrip::get_strip_type(), blender::ed::outliner::TreeElementOverridesBase::id, TreeStoreElem::id, blender::bke::greasepencil::TreeNode::is_group(), blender::bke::greasepencil::TreeNode::is_layer(), LAYERGROUP_COLOR_NONE, Object::modifiers, TreeStoreElem::nr, outliner_collection_from_tree_element(), blender::ed::outliner::TreeElement::parent, ptr, RNA_struct_is_ID(), RNA_struct_ui_icon(), STRIP_TYPE_ADD, STRIP_TYPE_ADJUSTMENT, STRIP_TYPE_ALPHAOVER, STRIP_TYPE_ALPHAUNDER, STRIP_TYPE_COLOR, STRIP_TYPE_COLORMIX, STRIP_TYPE_CROSS, STRIP_TYPE_GAMCROSS, STRIP_TYPE_GAUSSIAN_BLUR, STRIP_TYPE_GLOW, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_MUL, STRIP_TYPE_MULTICAM, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, STRIP_TYPE_SPEED, STRIP_TYPE_SUB, STRIP_TYPE_TEXT, STRIP_TYPE_TRANSFORM, STRIP_TYPE_WIPE, tree_element_cast(), tree_element_get_icon_from_id(), TREESTORE, TSE_ACTION_SLOT, TSE_ANIM_DATA, TSE_BONE, TSE_BONE_COLLECTION, TSE_BONE_COLLECTION_BASE, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_DEFGROUP, TSE_DEFGROUP_BASE, TSE_DRIVER_BASE, TSE_EBONE, TSE_GP_LAYER, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LIBRARY_OVERRIDE, TSE_LIBRARY_OVERRIDE_BASE, TSE_LINKED_NODE_TREE, TSE_LINKED_OB, TSE_LINKED_PSYS, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_NLA, TSE_NLA_ACTION, TSE_NLA_TRACK, TSE_POSE_BASE, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_R_LAYER_BASE, TSE_RNA_STRUCT, TSE_SCENE_COLLECTION_BASE, TSE_SCENE_OBJECTS_BASE, TSE_SOME_ID, TSE_STRIP, TSE_STRIP_DATA, TSE_STRIP_DUP, TSE_VIEW_COLLECTION_BASE, bConstraint::type, ModifierData::type, and TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), outliner_item_drag_drop_invoke(), and tselem_draw_icon().
Definition at line 2424 of file outliner_draw.cc.
References ED_file_extension_icon(), Object::empty_drawtype, PartDeflect::forcefield, GS, ID_AC, ID_AR, ID_BR, ID_CA, ID_CU_LEGACY, ID_CV, ID_GD_LEGACY, ID_GP, ID_GR, ID_IM, ID_KE, ID_LA, ID_LI, ID_LP, ID_LS, ID_LT, ID_MA, ID_MB, ID_MC, ID_ME, ID_MSK, ID_NLA, ID_NT, ID_OB, ID_PA, ID_PAL, ID_PC, ID_PT, ID_SCE, ID_SCR, ID_SO, ID_SPK, ID_TAG_MISSING, ID_TE, ID_TXT, ID_VF, ID_VO, ID_WO, ID_WS, Object::instance_collection, LA_AREA, LA_LOCAL, LA_SPOT, LA_SUN, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, LIGHTPROBE_TYPE_VOLUME, ID::name, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_DUPLICOLLECTION, OB_EMPTY, OB_EMPTY_IMAGE, OB_FONT, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, Curve::ob_type, OB_VOLUME, Object::pd, ID::tag, Object::transflag, TXT_ISMEM, Light::type, LightProbe::type, Object::type, bNodeTree::typeinfo, and blender::bke::bNodeTreeType::ui_icon.
Referenced by ED_outliner_icon_from_id(), and tree_element_get_icon().
|
static |
Definition at line 488 of file outliner_select.cc.
References BKE_gpencil_layer_active_set(), C, DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, bGPdata::id, TreeStoreElem::id, ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1045 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, GP_LAYER_ACTIVE, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 502 of file outliner_select.cc.
References active, C, CTX_wm_message_bus(), DEG_id_tag_update(), GreasePencil::id, TreeStoreElem::id, ID_RECALC_GEOMETRY, blender::bke::greasepencil::TreeNode::is_group(), blender::bke::greasepencil::TreeNode::is_layer(), NA_SELECTED, NC_GPENCIL, ND_DATA, tree_element_cast(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1053 of file outliner_select.cc.
References blender::bke::greasepencil::TreeNode::as_layer(), TreeStoreElem::id, blender::bke::greasepencil::TreeNode::is_layer(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, blender::ed::outliner::TreeElement::store_elem, and tree_element_cast().
Referenced by 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 3090 of file outliner_draw.cc.
References BKE_idtype_idcode_to_index(), TreeStoreElem::id, blender::ed::outliner::TreeElement::idcode, INDEX_ID_GP, INDEX_ID_GR, INDEX_ID_OB, OB_TYPE_MAX, TREESTORE, TSE_GREASE_PENCIL_NODE, TSE_SOME_ID, Object::type, and TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), merged_element_search_update_fn(), and outliner_draw_iconrow().
|
static |
Definition at line 799 of file outliner_select.cc.
References BKE_layer_collection_activate(), BKE_view_layer_find_from_collection(), C, CTX_data_scene(), blender::ed::outliner::TreeElement::directdata, NA_ACTIVATED, NC_SCENE, ND_LAYER, NS_LAYER_COLLECTION, and WM_main_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1072 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 788 of file outliner_select.cc.
References BKE_layer_collection_activate(), C, CTX_data_view_layer(), ListBase::first, ViewLayer::layer_collections, NA_ACTIVATED, NC_SCENE, ND_LAYER, NS_LAYER_COLLECTION, and WM_main_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1063 of file outliner_select.cc.
References ListBase::first, ViewLayer::layer_collections, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 404 of file outliner_select.cc.
References Object::actcol, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), C, DEG_id_tag_update(), ID_OB, ID_RECALC_TRANSFORM, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::index, Object::matbits, NC_MATERIAL, ND_SHADING_LINKS, outliner_search_back(), blender::ed::outliner::TreeElement::parent, and WM_event_add_notifier().
Referenced by tree_element_activate().
|
static |
Definition at line 694 of file outliner_select.cc.
References BKE_object_modifier_set_active(), C, blender::ed::outliner::TreeElement::directdata, TreeStoreElem::id, NC_OBJECT, ND_MODIFIER, OL_SETSEL_NORMAL, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 952 of file outliner_select.cc.
References BKE_object_active_modifier(), blender::ed::outliner::TreeElement::directdata, TreeStoreElem::id, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 287 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(), BASE_SELECTED, BKE_object_is_mode_compat(), BKE_view_layer_active_object_get(), BKE_view_layer_base_deselect_all(), BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), C, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_wm_window(), DEG_id_tag_update(), depsgraph, do_outliner_object_select_recursive(), Base::flag, TreeStoreElem::flag, Scene::id, TreeStoreElem::id, ID_OB, ID_RECALC_SELECT, ID_SCE, blender::ed::outliner::TreeElement::idcode, Object::mode, blender::ed::object::mode_generic_exit(), NC_SCENE, ND_OB_SELECT, OB_MODE_OBJECT, Base::object, ToolSettings::object_flag, OL_SETSEL_EXTEND, OL_SETSEL_NONE, outliner_search_back(), outliner_search_back_te(), SCE_OBJECT_MODE_LOCK, Scene::toolsettings, TREESTORE, TSE_SELECTED, TSE_SOME_ID, TreeStoreElem::type, WM_event_add_notifier(), WM_window_get_active_view_layer(), and WM_window_set_active_scene().
Referenced by do_outliner_item_activate_tree_element(), tree_element_activate(), and tree_element_type_active_set().
|
static |
Definition at line 961 of file outliner_select.cc.
References TreeStoreElem::id, blender::ed::outliner::TreeViewContext::obact, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 967 of file outliner_select.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), TreeStoreElem::id, Object::mode, OB_MODE_POSE, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 548 of file outliner_select.cc.
References bArmature::act_bone, BKE_object_pose_armature_get(), BKE_object_pose_array_get_unique(), bPoseChannel::bone, blender::animrig::bone_is_visible(), BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, C, bPose::chanbase, Object::data, DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, do_outliner_bone_select_recursive(), ELEM, Bone::flag, bArmature::id, TreeStoreElem::id, ID_RECALC_SELECT, LISTBASE_FOREACH, NC_OBJECT, ND_BONE_ACTIVE, OL_SETSEL_EXTEND, Object::pose, and WM_event_add_notifier().
Referenced by tree_element_constraint_activate(), and tree_element_type_active_set().
|
static |
Definition at line 986 of file outliner_select.cc.
References bPoseChannel::bone, BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, Bone::flag, TreeStoreElem::id, OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, and Object::pose.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 708 of file outliner_select.cc.
References C, TreeStoreElem::id, NA_EDITED, NC_OBJECT, ND_PARTICLE, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1670 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), ELEM, TreeStoreElem::flag, TreeStoreElem::id, ID_OB, ID_SCE, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::subtree, subtree_has_objects(), TREESTORE, TSE_CLOSED, TSE_LAYER_COLLECTION, TSE_SCENE_OBJECTS_BASE, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by outliner_show_hierarchy_exec().
|
static |
Definition at line 738 of file outliner_select.cc.
References BLI_findindex(), C, blender::ed::vse::deselect_all_strips(), blender::seq::editing_get(), Strip::flag, blender::ed::outliner::TreeElementStrip::get_strip(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OL_SETSEL_EXTEND, SELECT, blender::seq::select_active_set(), tree_element_cast(), and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 765 of file outliner_select.cc.
References Strip::data, blender::seq::editing_get(), StripElem::filename, Strip::next, STREQ, and StripData::stripdata.
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1035 of file outliner_select.cc.
References Strip::flag, blender::ed::outliner::TreeElementStripDuplicate::get_strip(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, SELECT, and tree_element_cast().
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 1023 of file outliner_select.cc.
References Scene::ed, Strip::flag, blender::ed::outliner::TreeElementStrip::get_strip(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, SELECT, and tree_element_cast().
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 810 of file outliner_select.cc.
References C, ED_text_activate_in_screen(), TreeStoreElem::id, and blender::ed::outliner::TreeElement::store_elem.
Referenced by tree_element_activate().
|
static |
Definition at line 1758 of file outliner_edit.cc.
References BLI_addhead(), BLI_freelistN(), LinkData::data, flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElement::index, KSP_FLAG_WHOLE_ARRAY, LISTBASE_FOREACH, MEM_callocN(), MEM_freeN(), PropertyRNA::next, blender::ed::outliner::TreeElement::parent, PROP_COLLECTION, PROP_POINTER, ptr, RNA_path_append(), RNA_property_array_check(), RNA_property_type(), RNA_struct_is_ID(), RNA_struct_name_get_alloc(), blender::ed::outliner::TreeElement::subtree, tree_element_cast(), TSE_RNA_ARRAY_ELEM, TSE_RNA_STRUCT, and TreeStoreElem::type.
Referenced by do_outliner_drivers_editop(), and do_outliner_keyingset_editop().
| 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 848 of file outliner_select.cc.
References BLI_assert, 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_viewlayer_activate(), TSE_BONE, TSE_BONE_COLLECTION, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_DEFGROUP, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LINKED_OB, TSE_LINKED_PSYS, TSE_MODIFIER, TSE_POSE_BASE, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_STRIP, TSE_STRIP_DUP, TSE_VIEW_COLLECTION_BASE, TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
| 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 1169 of file outliner_select.cc.
References 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_strip_dup_state_get(), tree_element_strip_state_get(), tree_element_viewlayer_state_get(), TSE_BONE, TSE_BONE_COLLECTION, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_DEFGROUP, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_LINKED_OB, TSE_LINKED_PSYS, TSE_MODIFIER, TSE_POSE_BASE, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_STRIP, TSE_STRIP_DUP, TSE_VIEW_COLLECTION_BASE, TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by outliner_draw_iconrow(), and outliner_draw_tree_element().
|
static |
Definition at line 223 of file outliner_select.cc.
References BLI_findindex(), C, CTX_wm_window(), blender::ed::outliner::TreeElement::directdata, NC_SCREEN, ND_LAYER, blender::ed::outliner::TreeElement::store_elem, TSE_R_LAYER, TreeStoreElem::type, Scene::view_layers, WM_event_add_notifier(), WM_window_get_active_scene(), and WM_window_set_active_view_layer().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1000 of file outliner_select.cc.
References blender::ed::outliner::TreeElement::directdata, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 459 of file outliner_select.cc.
References C, CTX_data_main(), CTX_wm_window(), TreeStoreElem::id, blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_SOME_ID, TreeStoreElem::type, and WM_window_set_active_scene().
Referenced by tree_element_activate().
|
static |
Definition at line 501 of file outliner_tree.cc.
References BLI_strcasecmp_natural(), blender::ed::outliner::tTreeSort::name, and v2.
Referenced by outliner_sort().
|
static |
Definition at line 448 of file outliner_tree.cc.
References BLI_strcasecmp_natural(), blender::ed::outliner::TreeElement::flag, ID_OB, blender::ed::outliner::tTreeSort::idcode, blender::ed::outliner::tTreeSort::name, blender::ed::outliner::tTreeSort::te, TE_CHILD_NOT_IN_COLLECTION, and v2.
Referenced by outliner_sort().
|
static |
Definition at line 487 of file outliner_tree.cc.
References blender::ed::outliner::TreeElement::flag, blender::ed::outliner::tTreeSort::te, TE_CHILD_NOT_IN_COLLECTION, and v2.
Referenced by outliner_collections_children_sort().
|
static |
Definition at line 2930 of file outliner_draw.cc.
References bTheme::collection_color, COLLECTION_COLOR_NONE, ThemeCollectionColor::color, Collection::color_tag, data, ThemeUI::icon_border_intensity, ICON_DEFAULT_HEIGHT, ID_IS_LINKED, outliner_collection_from_tree_element(), outliner_is_collection_tree_element(), tree_element_get_icon(), bTheme::tui, UI_BTYPE_LABEL, UI_but_label_alpha_factor_set(), UI_GetTheme(), UI_icon_draw_ex(), UI_icon_get_theme_color(), UI_icon_text_overlay_init_from_count(), UI_INV_SCALE_FAC, UI_UNIT_X, UI_UNIT_Y, uiDefIconBut(), x, and y.
Referenced by outliner_draw_iconrow_doit(), and outliner_draw_tree_element().
|
static |
Definition at line 217 of file outliner_tools.cc.
References BKE_animdata_set_action(), BKE_reportf(), C, CTX_wm_reports(), DEG_id_tag_update(), TreeStoreElem::id, ID_RECALC_ANIMATION, ID::name, reports, RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 375 of file outliner_tools.cc.
References BKE_collection_child_remove(), BKE_reportf(), C, CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), GS, Collection::id, Object::id, Scene::id, TreeStoreElem::id, id_fake_user_set(), ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_OB, ID_RECALC_HIERARCHY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, ID_SCE, Object::instance_collection, Scene::master_collection, ID::name, reports, RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 241 of file outliner_tools.cc.
References BKE_reportf(), BLI_assert_unreachable, GS, TreeStoreElem::id, ID_CU_LEGACY, ID_CV, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_MA, ID_MB, ID_ME, ID_OB, ID_PT, id_us_min(), ID_VO, blender::ed::outliner::TreeElement::index, LIKELY, Curve::mat, MetaBall::mat, Object::mat, Volume::mat, ID::name, reports, RPT_WARNING, Curve::totcol, MetaBall::totcol, Object::totcol, Volume::totcol, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 431 of file outliner_tools.cc.
References BKE_collection_has_object(), BKE_collection_object_remove(), BKE_reportf(), BLI_assert_unreachable, C, CTX_data_main(), CTX_wm_space_outliner(), DEG_id_tag_update(), DEG_relations_tag_update(), FOREACH_SCENE_COLLECTION_BEGIN, FOREACH_SCENE_COLLECTION_END, GS, Collection::id, Object::id, TreeStoreElem::id, ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_OB, ID_RECALC_HIERARCHY, ID_RECALC_SYNC_TO_EVAL, ID_SCE, Scene::master_collection, ID::name, blender::ed::outliner::TreeElement::parent, reports, RPT_WARNING, SO_SCENES, TREESTORE, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 336 of file outliner_tools.cc.
References BKE_reportf(), GS, TreeStoreElem::id, ID_LS, id_us_min(), blender::ed::outliner::TreeElement::index, MAX_MTEX, FreestyleLineStyle::mtex, ID::name, reports, RPT_WARNING, MTex::tex, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 516 of file outliner_tools.cc.
References BKE_reportf(), TreeStoreElem::id, World::id, id_us_min(), ID::name, reports, RPT_WARNING, TSE_IS_REAL_ID, and Scene::world.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1734 of file outliner_tools.cc.
References BKE_animdata_set_action(), DEG_id_tag_update(), TreeStoreElem::id, and ID_RECALC_ANIMATION.
Referenced by outliner_animdata_operation_exec().
|
static |
Definition at line 2272 of file outliner_edit.cc.
References BKE_idtype_idcode_to_name(), BKE_idtype_idcode_to_name_plural(), BKE_idtype_index_to_idcode(), i, IFACE_, INDEX_ID_MAX, and INDEX_ID_NULL.
Referenced by outliner_orphans_purge_ui(), and unused_message_popup_width_compute().
|
static |
Definition at line 2300 of file outliner_edit.cc.
References BKE_lib_query_unused_ids_amounts(), BLF_DRAW_STR_DUMMY_MAX, BLF_width(), CTX_data_main(), data, UI_style_get_dpi(), uiFontStyle::uifont_id, unused_message_gen(), and uiStyle::widget.
Referenced by outliner_orphans_purge_invoke().
Definition at line 2083 of file outliner_edit.cc.
References Scene::active_keyingset, add(), BKE_keyingset_add(), BLI_findlink(), BLI_listbase_count(), KEYINGSET_ABSOLUTE, and Scene::keyingsets.
Referenced by outliner_keyingset_additems_exec(), and outliner_keyingset_removeitems_exec().
|
static |
Collection properties called from the ViewLayer mode. Change the (non-excluded) collection children, and the objects nested to them all.
Definition at line 677 of file outliner_draw.cc.
References C, LayerCollection::collection, and outliner_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
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 664 of file outliner_draw.cc.
References C, and outliner_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 591 of file space_outliner.cc.
References BLI_assert, BLI_mempool_as_arrayN(), BLI_mempool_len(), BLO_write_struct, BLO_write_struct_array_at_address, BLO_write_struct_at_address, data, TreeStore::data, MEM_allocN_len, MEM_freeN(), POINTER_OFFSET, SpaceOutliner::treestore, and TreeStore::usedelem.
Referenced by outliner_space_blend_write().
|
static |
Definition at line 100 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 3073 of file outliner_tools.cc.
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 3282 of file outliner_tools.cc.
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 3383 of file outliner_tools.cc.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 2783 of file outliner_tools.cc.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 570 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1792 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation().
|
static |
Definition at line 1813 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 3429 of file outliner_tools.cc.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 2475 of file outliner_tools.cc.
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 688 of file outliner_tools.cc.
Referenced by OUTLINER_OT_scene_operation().