|
Blender V4.3
|
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 | SequenceAddOp { SEQUENCE_DUPLICATE_NOOP = 0 , SEQUENCE_DUPLICATE_ADD , SEQUENCE_DUPLICATE_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 int | 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 int | 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 int | 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 int | 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 int | 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 int | 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 int | 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, GSet *objects_to_delete, OutlinerDeleteFn delete_fn) |
| static TreeTraversalAction | outliner_collect_objects_to_delete (TreeElement *te, void *customdata) |
| static int | 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 int | 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 int | 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 26 of file tree_display_libraries.cc.
Definition at line 380 of file outliner_intern.hh.
| using blender::ed::outliner::OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob) |
Definition at line 2596 of file outliner_tools.cc.
| using blender::ed::outliner::TreeTraversalFunc = TreeTraversalAction (*)(TreeElement *te, void *customdata) |
Definition at line 82 of file outliner_intern.hh.
| 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 1830 of file outliner_edit.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 1995 of file outliner_edit.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| TE_ACTIVE | |
| TE_ICONROW | |
| TE_PRETEND_HAS_CHILDREN | Treat the element as if it had children, e.g. draw an icon to un-collapse it, even if it doesn't. Used where children are lazy-built only if the parent isn't collapsed (see AbstractTreeDisplay::is_lazy_built()). |
| TE_FREE_NAME | |
| TE_DRAGGING | |
| TE_CHILD_NOT_IN_COLLECTION | |
| TE_ICONROW_MERGED | |
Definition at line 156 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 2469 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| DATA_STACK_DROP_REORDER | |
| DATA_STACK_DROP_COPY | |
| DATA_STACK_DROP_LINK | |
Definition at line 688 of file outliner_dragdrop.cc.
| Enumerator | |
|---|---|
| OL_DRAWSEL_NONE | |
| OL_DRAWSEL_NORMAL | |
| OL_DRAWSEL_ACTIVE | |
Definition at line 176 of file outliner_intern.hh.
| Enumerator | |
|---|---|
| OL_SETSEL_NONE | |
| OL_SETSEL_NORMAL | |
| OL_SETSEL_EXTEND | |
Definition at line 182 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 3271 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_CONSTRAINTOP_ENABLE | |
| OL_CONSTRAINTOP_DISABLE | |
| OL_CONSTRAINTOP_DELETE | |
Definition at line 2080 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 2072 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 2086 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_SCENE_OP_DELETE | |
Definition at line 677 of file outliner_tools.cc.
Definition at line 2768 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 554 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| OL_LIB_INVALID | |
| OL_LIB_DELETE | |
| OL_LIB_RELOCATE | |
| OL_LIB_RELOAD | |
Definition at line 3066 of file outliner_tools.cc.
Definition at line 1782 of file outliner_tools.cc.
| Enumerator | |
|---|---|
| FOREACH_CONTINUE | |
| FOREACH_BREAK | |
Definition at line 187 of file tree_display_override_library_hierarchies.cc.
| Enumerator | |
|---|---|
| SEQUENCE_DUPLICATE_NOOP | |
| SEQUENCE_DUPLICATE_ADD | |
| SEQUENCE_DUPLICATE_NONE | |
Definition at line 220 of file tree_display.hh.
| Enumerator | |
|---|---|
| TE_INSERT_BEFORE | |
| TE_INSERT_AFTER | |
| TE_INSERT_INTO | |
Definition at line 67 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 250 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 73 of file outliner_intern.hh.
|
static |
Definition at line 3171 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 208 of file outliner_sync.cc.
References BLI_gset_add().
Referenced by outliner_select_sync_to_edit_bone(), outliner_select_sync_to_object(), and outliner_select_sync_to_pose_bone().
|
static |
Definition at line 308 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 2112 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 1607 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 1727 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 1746 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 314 of file outliner_collections.cc.
References BLI_gset_add(), COLLECTION_IS_MASTER, 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 1334 of file outliner_collections.cc.
References collection_flag_poll(), and COLLECTION_HIDE_VIEWPORT.
Referenced by OUTLINER_OT_collection_disable().
|
static |
Definition at line 1344 of file outliner_collections.cc.
References collection_flag_poll(), and COLLECTION_HIDE_RENDER.
Referenced by OUTLINER_OT_collection_disable_render().
|
static |
Definition at line 1122 of file outliner_dragdrop.cc.
References collection_parent_from_ID(), ELEM, ListBase::first, wmDragID::from_parent, GS, Collection::id, wmDragID::id, ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_OB, wmDrag::ids, 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 1283 of file outliner_dragdrop.cc.
References BKE_collection_is_empty(), BKE_collection_move(), BKE_collection_object_add(), BKE_collection_object_move(), 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, Collection::flag, 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, WM_event_add_notifier(), and wmEvent::xy.
Referenced by OUTLINER_OT_collection_drop().
|
static |
Definition at line 1185 of file outliner_dragdrop.cc.
References 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 1221 of file outliner_dragdrop.cc.
References collection_drop_init(), CTX_wm_window(), data, wmWindow::eventstate, ListBase::first, blender::ed::outliner::CollectionDrop::from, 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 618 of file outliner_collections.cc.
References BKE_collection_child_find(), BKE_collection_duplicate(), BKE_id_owner_get(), BKE_report(), BLI_assert, COLLECTION_IS_MASTER, CTX_data_main(), CTX_data_scene(), 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, Scene::master_collection, ID::name, NC_SCENE, ND_LAYER, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_active_collection(), outliner_collection_from_tree_element(), blender::ed::outliner::TreeElement::parent, wmOperator::reports, RPT_ERROR, RPT_WARNING, USER_DUP_OBJECT, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_duplicate(), and OUTLINER_OT_collection_duplicate_linked().
|
static |
Definition at line 174 of file outliner_collections.cc.
References 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 1329 of file outliner_collections.cc.
References collection_flag_poll(), and COLLECTION_HIDE_VIEWPORT.
Referenced by OUTLINER_OT_collection_enable().
|
static |
Definition at line 1339 of file outliner_collections.cc.
References collection_flag_poll(), and COLLECTION_HIDE_RENDER.
Referenced by OUTLINER_OT_collection_enable_render().
|
static |
Definition at line 208 of file outliner_collections.cc.
References outliner_collection_from_tree_element(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, and TRAVERSE_SKIP_CHILDS.
Referenced by collection_new_exec().
|
static |
Definition at line 1349 of file outliner_collections.cc.
References BKE_id_is_editable(), BKE_view_layer_need_resync_tag(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), 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(), DEG_id_tag_update(), DEG_relations_tag_update(), Collection::flag, flag, LayerCollection::flag, GSET_ITER, ID_RECALC_BASE_FLAGS, wmOperator::idname, layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_tree_traverse(), SpaceOutliner::outlinevis, blender::ed::outliner::CollectionEditData::scene, scene, 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 1303 of file outliner_collections.cc.
References clear(), ED_outliner_collections_editor_poll(), 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 1188 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_HIDE.
Referenced by OUTLINER_OT_collection_hide().
|
static |
Definition at line 424 of file outliner_collections.cc.
References BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), 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(), 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 1193 of file outliner_collections.cc.
References 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 792 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(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), LayerCollection::collection, collection_collect_data_to_edit(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_relations_tag_update(), GSET_ITER, id_us_plus(), Object::instance_collection, NC_SCENE, ND_LAYER, OB_DUPLICOLLECTION, OB_EMPTY, OPERATOR_FINISHED, outliner_tree_traverse(), blender::ed::outliner::CollectionEditData::scene, scene, Object::transflag, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_instance().
|
static |
Definition at line 1104 of file outliner_collections.cc.
References BKE_layer_collection_isolate_global(), BKE_view_layer_need_resync_tag(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_id_tag_update(), GSET_ITER, 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(), RNA_property_boolean_get(), RNA_struct_type_find_property(), blender::ed::outliner::CollectionEditData::scene, scene, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by collection_isolate_invoke(), and OUTLINER_OT_collection_isolate().
|
static |
Definition at line 1153 of file outliner_collections.cc.
References 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 720 of file outliner_collections.cc.
References BKE_collection_child_add(), BKE_report(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), LayerCollection::collection, collection_collect_data_to_edit(), COLLECTION_IS_MASTER, CTX_data_layer_collection(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), DEG_id_tag_update(), DEG_relations_tag_update(), Collection::flag, GSET_ITER, 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, blender::ed::outliner::CollectionEditData::scene, scene, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_collection_link().
|
static |
Definition at line 226 of file outliner_collections.cc.
References BKE_collection_add(), BKE_report(), collection_find_selected_to_add(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_region(), CTX_wm_space_outliner(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, ID_RECALC_SYNC_TO_EVAL, 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 186 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), and ED_operator_region_outliner_active().
Referenced by OUTLINER_OT_collection_new().
|
static |
Definition at line 510 of file outliner_collections.cc.
References BKE_layer_collection_objects_select(), BLI_freelistN(), 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(), 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::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 1104 of file outliner_dragdrop.cc.
References GS, ID_GR, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, and ID_SCE.
Referenced by collection_drop_init(), and collection_drop_invoke().
|
static |
Definition at line 1183 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_HIDE.
Referenced by OUTLINER_OT_collection_show().
|
static |
Definition at line 964 of file outliner_collections.cc.
References BKE_layer_collection_set_flag(), BKE_view_layer_need_resync_tag(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), clear(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_relations_tag_update(), flag, GSET_ITER, 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(), blender::ed::outliner::CollectionEditData::scene, scene, 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 1201 of file outliner_collections.cc.
References BKE_layer_collection_set_visible(), BKE_view_layer_need_resync_tag(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_id_tag_update(), GSET_ITER, ID_RECALC_BASE_FLAGS, wmOperator::idname, is_inside(), layer_collection_collect_data_to_edit(), NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_tree_traverse(), blender::ed::outliner::CollectionEditData::scene, scene, 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 939 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_EXCLUDE.
Referenced by OUTLINER_OT_collection_exclude_clear().
|
static |
Definition at line 934 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_EXCLUDE.
Referenced by OUTLINER_OT_collection_exclude_set().
|
static |
Definition at line 949 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_HOLDOUT.
Referenced by OUTLINER_OT_collection_holdout_clear().
|
static |
Definition at line 944 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_HOLDOUT.
Referenced by OUTLINER_OT_collection_holdout_set().
|
static |
Definition at line 959 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by OUTLINER_OT_collection_indirect_only_clear().
|
static |
Definition at line 954 of file outliner_collections.cc.
References collections_view_layer_poll(), and LAYER_COLLECTION_INDIRECT_ONLY.
Referenced by OUTLINER_OT_collection_indirect_only_set().
|
static |
Definition at line 893 of file outliner_collections.cc.
References BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), clear(), CTX_data_scene(), CTX_wm_space_outliner(), flag, LayerCollection::flag, GSET_ITER, layer_collection_collect_data_to_edit(), outliner_tree_traverse(), SpaceOutliner::outlinevis, result, blender::ed::outliner::CollectionEditData::scene, scene, 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 2241 of file outliner_tools.cc.
References BKE_constraint_remove_ex(), BKE_constraints_active_set(), 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, and WM_event_add_notifier().
Referenced by outliner_constraint_operation_exec().
|
static |
Definition at line 2220 of file outliner_tools.cc.
References PointerRNA::data, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), OL_DOP_SELECT_LINKED, ptr, RNA_struct_is_ID(), blender::ed::object::select_linked_by_id(), tree_element_cast(), and PointerRNA::type.
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 822 of file outliner_dragdrop.cc.
References blender::ed::outliner::StackDropData::drag_tselem, blender::ed::outliner::StackDropData::drop_te, TreeStoreElem::id, OB_GPENCIL_LEGACY, 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 964 of file outliner_dragdrop.cc.
References 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_GPENCIL_LEGACY, 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 706 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, 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 725 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), 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 1049 of file outliner_dragdrop.cc.
References 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 922 of file outliner_dragdrop.cc.
References 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_GPENCIL_LEGACY, 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 855 of file outliner_dragdrop.cc.
References 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 1005 of file outliner_dragdrop.cc.
References 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, 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 898 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 312 of file outliner_edit.cc.
References BKE_report(), COLLECTION_IS_MASTER, ED_region_tag_redraw(), ELEM, 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(), RPT_INFO, TSE_ANIM_DATA, TSE_BONE_COLLECTION_BASE, TSE_CONSTRAINT_BASE, TSE_DEFGROUP_BASE, TSE_DRIVER_BASE, TSE_GENERIC_LABEL, 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_SEQ_STRIP, TSE_SEQUENCE, TSE_SEQUENCE_DUP, TSE_TEXTBUT, TSE_VIEW_COLLECTION_BASE, and TreeStoreElem::type.
Referenced by item_rename_fn(), and outliner_item_rename_invoke().
|
static |
Definition at line 258 of file outliner_select.cc.
References BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, Bone::childbase, do_outliner_bone_select_recursive(), Object::flag, 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 1836 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, 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 271 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 1443 of file outliner_select.cc.
References blender::ed::outliner::tree_iterator::all(), 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_SEQ_STRIP, TSE_SEQUENCE, TSE_SEQUENCE_DUP, TSE_SOME_ID, TreeStoreElem::type, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by outliner_item_select().
|
static |
Definition at line 86 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(), 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, 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 163 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(), 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 119 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(), 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, 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 2027 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 242 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 3656 of file outliner_tools.cc.
References 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 1692 of file outliner_select.cc.
References 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(), 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 1651 of file outliner_select.cc.
References 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 1627 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 2148 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 4044 of file outliner_draw.cc.
References CTX_data_main(), CTX_wm_region(), CTX_wm_space_outliner(), draw_outliner(), ED_outliner_select_sync_flag_outliners(), ED_outliner_select_sync_is_dirty(), ELEM, SpaceOutliner::flag, View2D::flag, SpaceOutliner::lib_override_view_mode, 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_EMBOSS, UI_EMBOSS_NONE_OR_STATUS, UI_view2d_view_ortho(), V2D_PIXELOFS_X, V2D_PIXELOFS_Y, and blender::ed::outliner::TreeViewContext::view_layer.
Referenced by draw_outliner(), and outliner_main_region_draw().
|
static |
Definition at line 2131 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 1663 of file outliner_edit.cc.
References CTX_wm_area(), CTX_wm_space_outliner(), SpaceOutliner::outlinevis, SO_DATA_API, and SPACE_OUTLINER.
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 2179 of file outliner_edit.cc.
References CTX_wm_area(), CTX_wm_space_outliner(), SpaceOutliner::outlinevis, SO_ID_ORPHANS, and SPACE_OUTLINER.
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 3333 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, 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 2183 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 278 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, Object::parent, MainIDRelations::relations_from_pointers, and MainIDRelationsEntry::to_ids.
|
static |
Definition at line 103 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, int, 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 468 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 549 of file outliner_sync.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), 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, SEQ_select_active_get(), and blender::ed::outliner::SyncSelectActiveData::sequence.
Referenced by outliner_sync_selection().
|
static |
Definition at line 193 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(), and outliner_operation_tree_element_poll().
|
static |
Definition at line 2178 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 2199 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 470 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(), 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, LIBOVERRIDE_FLAG_NO_HIERARCHY, NC_WINDOW, RPT_WARNING, 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 523 of file outliner_edit.cc.
References id_delete_tag().
Referenced by outliner_id_operation_exec(), and outliner_lib_operation_exec().
|
static |
Definition at line 1606 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_clear().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1594 of file outliner_tools.cc.
References TreeStoreElem::id, and id_fake_user_set().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 337 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 983 of file outliner_tools.cc.
References BKE_id_newptr_and_tag_clear(), BKE_lib_id_make_local(), BKE_lib_override_library_make_local(), 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 1492 of file outliner_tools.cc.
References BKE_reportf(), BLI_assert, TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, ID_IS_OVERRIDE_LIBRARY_REAL, RPT_WARNING, and TSE_IS_REAL_ID.
|
static |
Definition at line 1434 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, CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), GS, 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 1269 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, 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, ID::override_library, IDOverrideLibrary::reference, ID::session_uid, and ID::tag.
Referenced by id_override_library_create_hierarchy_process().
|
static |
Definition at line 1079 of file outliner_tools.cc.
References BKE_idtype_idcode_is_linkable(), BKE_main_id_tag_all(), BKE_reportf(), BLI_assert, CTX_data_main(), 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, ID::name, OB_ARMATURE, OB_EMPTY, ID::override_library, blender::ed::outliner::TreeElement::parent, IDOverrideLibrary::reference, 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 1366 of file outliner_tools.cc.
References BKE_reportf(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), 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(), ID::override_library, IDOverrideLibrary::reference, RPT_WARNING, and ID::session_uid.
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1564 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, 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 1583 of file outliner_tools.cc.
References BKE_lib_override_library_delete(), and CTX_data_main().
Referenced by outliner_liboverride_operation_exec().
|
static |
Definition at line 1411 of file outliner_tools.cc.
References BKE_lib_override_library_id_hierarchy_reset(), BKE_lib_override_library_id_reset(), BLI_assert, CLOG_WARN, CTX_data_main(), TreeStoreElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY_REAL, LOG, ID::name, and TSE_IS_REAL_ID.
|
static |
Definition at line 1522 of file outliner_tools.cc.
References BLI_assert, CLOG_WARN, 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 1540 of file outliner_tools.cc.
References BKE_lib_override_library_resync(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), NC_WINDOW, BlendFileReadReport::reports, and WM_event_add_notifier().
Referenced by outliner_liboverride_operation_exec().
| void blender::ed::outliner::id_remap_fn | ( | bContext * | C, |
| ReportList * | , | ||
| Scene * | , | ||
| TreeElement * | , | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 767 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 1618 of file outliner_tools.cc.
References 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 |
Definition at line 196 of file outliner_sync.cc.
References BLI_gset_haskey().
Referenced by outliner_select_sync_to_edit_bone().
|
static |
The active object is only needed for reference.
Definition at line 119 of file outliner_draw.cc.
References BKE_object_data_is_in_editmode(), Object::data, GPENCIL_EDIT_MODE, GS, ID_GD_LEGACY, Object::mode, 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 190 of file outliner_sync.cc.
References BLI_gset_haskey().
Referenced by outliner_select_sync_to_object().
|
static |
Definition at line 207 of file outliner_dragdrop.cc.
References TREESTORE, TSE_POSE_CHANNEL, and TreeStoreElem::type.
Referenced by datastack_drop_init().
|
static |
Definition at line 202 of file outliner_sync.cc.
References BLI_gset_haskey().
Referenced by outliner_select_sync_to_pose_bone().
| void blender::ed::outliner::item_rename_fn | ( | bContext * | C, |
| ReportList * | reports, | ||
| Scene * | , | ||
| TreeElement * | te, | ||
| TreeStoreElem * | , | ||
| TreeStoreElem * | tselem ) |
Definition at line 376 of file outliner_edit.cc.
References CTX_wm_region(), and do_item_rename().
Referenced by outliner_id_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 90 of file tree_element_overrides.cc.
References BKE_lib_override_library_property_is_animated(), BKE_lib_override_rna_property_find(), 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 869 of file outliner_collections.cc.
References BLI_gset_add(), LayerCollection::collection, COLLECTION_IS_MASTER, 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 1071 of file outliner_edit.cc.
References lib_relocate(), ot, and WM_operatortype_find().
Referenced by outliner_lib_operation_exec().
|
static |
Definition at line 909 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 1015 of file outliner_edit.cc.
References lib_relocate(), ot, and WM_operatortype_find().
Referenced by outliner_lib_operation_exec().
|
static |
Definition at line 634 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), 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_GPENCIL_LEGACY, 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 625 of file outliner_dragdrop.cc.
References 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 826 of file outliner_tools.cc.
References CTX_wm_space_outliner(), ED_outliner_select_sync_from_outliner(), OL_ITEM_ACTIVATE, OL_ITEM_SELECT, and outliner_item_select().
Referenced by merged_element_search_menu().
|
static |
Definition at line 781 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 840 of file outliner_tools.cc.
References 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_EMBOSS, 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 887 of file outliner_tools.cc.
References 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 810 of file outliner_tools.cc.
References 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 2286 of file outliner_tools.cc.
References CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), 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, and WM_event_add_notifier().
Referenced by outliner_modifier_operation_exec().
|
static |
Definition at line 687 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, CTX_data_main(), CTX_wm_message_bus(), CTX_wm_reports(), CTX_wm_space_outliner(), Object::data, DEG_id_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, 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, 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_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_BONE, TSE_BONE_COLLECTION, TSE_DEFGROUP, TSE_EBONE, TSE_GP_LAYER, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_LINKED_NODE_TREE, TSE_NLA_ACTION, TSE_NLA_TRACK, TSE_POSE_CHANNEL, TSE_R_LAYER, TSE_SOME_ID, Object::type, TreeStoreElem::type, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by outliner_buttons().
|
static |
Definition at line 2405 of file outliner_tools.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_assert, 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, and ID::tag.
Referenced by outliner_delete_exec().
|
static |
Definition at line 936 of file outliner_tools.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), Base::flag, and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 898 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(), CTX_data_scene(), CTX_data_view_layer(), and TreeStoreElem::id.
Referenced by outliner_object_operation_exec().
|
static |
Definition at line 922 of file outliner_tools.cc.
References 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 331 of file outliner_draw.cc.
References outliner_object_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Object properties.
Definition at line 321 of file outliner_draw.cc.
References outliner_object_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 3192 of file outliner_tools.cc.
References Main::actions, actionset_id_fn(), BKE_report(), BKE_reportf(), BLI_findlink(), 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 603 of file outliner_collections.cc.
References CTX_wm_space_outliner(), outliner_find_first_selected_collection(), outliner_tree_traverse(), SpaceOutliner::tree, and TSE_SELECTED.
Referenced by collection_duplicate_exec(), and collection_flag_poll().
|
static |
Definition at line 495 of file outliner_collections.cc.
References CTX_wm_space_outliner(), 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 393 of file outliner_tree.cc.
References BKE_collection_ui_name_get(), 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 399 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), 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 410 of file outliner_tree.cc.
References blender::ed::outliner::AbstractTreeDisplay::add_element(), 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 3296 of file outliner_tools.cc.
References 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, wmWindowManager::op_undo_depth, 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 3967 of file outliner_draw.cc.
References 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(), int, OL_Y_OFFSET, outliner_back(), pos, TH_BACK, TH_ROW_ALTERNATE, UI_GetThemeColor4fv(), and UI_UNIT_Y.
Referenced by draw_outliner(), and outliner_back().
|
static |
Create either a RNA_ObjectBase or a RNA_Object pointer.
Definition at line 353 of file outliner_draw.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), Object::id, ptr, RNA_id_pointer_create(), and RNA_pointer_create().
Referenced by outliner_collection_set_flag_recursive().
|
static |
Definition at line 2442 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 2365 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, and ID::tag.
Referenced by object_batch_delete_hierarchy_tag_fn().
|
static |
Definition at line 2338 of file outliner_tools.cc.
References BKE_library_ID_is_indirectly_used(), BKE_reportf(), BLI_assert, ID_EXTRA_USERS, ID_REAL_USERS, ID_TAG_DOIT, ID_TAG_INDIRECT, and RPT_WARNING.
Referenced by outliner_batch_delete_object_hierarchy_tag().
|
static |
Definition at line 1951 of file outliner_select.cc.
References outliner_box_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 1964 of file outliner_select.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(), 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(), 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 1991 of file outliner_select.cc.
References 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(), 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 1146 of file outliner_tree.cc.
References BLI_assert, BLI_assert_msg, blender::ed::outliner::AbstractTreeDisplay::create_from_display_mode(), 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, SpaceOutliner::runtime, scene, 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 1962 of file outliner_draw.cc.
References b, PointerRNA::data, ID::session_uid, and UI_but_context_ptr_get().
Referenced by outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 2126 of file outliner_draw.cc.
References BLI_assert, 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(), WM_event_add_notifier(), 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 1282 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 1131 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 2618 of file outliner_tools.cc.
References BLI_gset_add(), ELEM, GS, TreeStoreElem::id, ID_GR, ID_IS_OVERRIDE_LIBRARY_HIERARCHY_ROOT, ID_IS_OVERRIDE_LIBRARY_REAL, ID_OB, ID_SCE, ID::name, blender::ed::outliner::ObjectEditData::objects_set, 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 91 of file outliner_collections.cc.
References BLI_addtail(), BLI_genericNodeN(), 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 108 of file outliner_collections.cc.
References BLI_addtail(), BLI_genericNodeN(), 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 outliner_item_drag_drop_invoke().
| void blender::ed::outliner::outliner_collection_delete | ( | bContext * | C, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| ReportList * | reports, | ||
| bool | do_hierarchy ) |
Definition at line 348 of file outliner_collections.cc.
References BKE_collection_delete(), BKE_id_owner_get(), BKE_reportf(), BLI_assert, BLI_findindex(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), collection_collect_data_to_edit(), COLLECTION_IS_MASTER, Main::collections, CTX_wm_space_outliner(), Collection::flag, ID::flag, GS, GSET_ITER, 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(), RPT_WARNING, blender::ed::outliner::CollectionEditData::scene, scene, 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 68 of file outliner_collections.cc.
References LayerCollection::collection, blender::ed::outliner::TreeElement::directdata, ELEM, TreeStoreElem::id, 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_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 1588 of file outliner_select.cc.
References BKE_collection_object_find(), 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 437 of file outliner_draw.cc.
References BKE_collection_has_collection(), 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, and RNA_property_boolean_get().
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 498 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, 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(), and Collection::runtime.
Referenced by collection_isolate_exec(), and outliner_collection_set_flag_recursive_fn().
|
static |
Definition at line 368 of file outliner_draw.cc.
References LayerCollection::collection, DEG_id_tag_update(), LayerCollection::flag, Collection::gobject, 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 592 of file outliner_draw.cc.
References BKE_main_collection_sync_remap(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_window(), DEG_relations_tag_update(), ELEM, wmWindow::eventstate, 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(), 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 625 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_mallocN, 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 1638 of file outliner_collections.cc.
References BKE_id_is_editable(), BKE_report(), BLI_freelistN(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), LISTBASE_FOREACH, 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, SpaceOutliner::tree, TSE_SELECTED, and WM_event_add_notifier().
Referenced by OUTLINER_OT_collection_color_tag_set().
|
static |
Definition at line 3391 of file outliner_tools.cc.
References 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, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_main_region_context().
|
static |
Definition at line 91 of file outliner_edit.cc.
References BKE_tempdir_base(), and BLI_path_join.
Referenced by outliner_id_copy_exec(), and outliner_id_paste_exec().
|
static |
Definition at line 1089 of file outliner_edit.cc.
References LISTBASE_FOREACH, and outliner_count_levels().
Referenced by outliner_count_levels(), and outliner_one_level_exec().
|
static |
Definition at line 370 of file space_outliner.cc.
References BLI_addtail(), SpaceOutliner::filter, SpaceOutliner::filter_id_type, SpaceOutliner::flag, ID_GR, SpaceOutliner::outlinevis, SpaceOutliner::regionbase, 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, USER_HEADER_BOTTOM, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
Definition at line 4005 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 3571 of file outliner_tools.cc.
References 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 3504 of file outliner_tools.cc.
References BKE_report(), bone_fn(), 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_SEQUENCE, and WM_event_add_notifier().
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 3481 of file outliner_tools.cc.
References 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_SEQUENCE.
Referenced by OUTLINER_OT_data_operation().
|
static |
Definition at line 522 of file space_outliner.cc.
References BKE_area_find_region_type(), ED_region_tag_redraw_no_rebuild(), outliner_flag_set(), RGN_TYPE_WINDOW, and TSE_HIGHLIGHTED_ANY.
|
static |
Definition at line 2667 of file outliner_tools.cc.
References BKE_main_id_tag_all(), BKE_view_layer_active_base_get(), BKE_view_layer_synced_ensure(), BLI_gset_free(), BLI_gset_ptr_new(), 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_node_tree_propagate_change(), ED_outliner_select_sync_from_object_tag(), 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 2321 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 3154 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 535 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), TreeStoreElem::flag, blender::ed::outliner::TreeElement::idcode, blender::ed::outliner::TreeElement::parent, TREESTORE, TSE_LAYER_COLLECTION, TSE_SELECTED, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_id_operation_exec(), outliner_lib_operation_exec(), and outliner_object_operation_exec().
|
static |
Definition at line 612 of file outliner_tools.cc.
References LISTBASE_FOREACH_MUTABLE, outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), and TREESTORE.
Referenced by outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set(), and outliner_liboverride_operation_exec().
|
static |
Definition at line 642 of file outliner_tools.cc.
References outliner_do_libdata_operation_selection_set(), outliner_do_libdata_operation_selection_set_element(), outliner_find_element_with_flag(), blender::ed::outliner::TreeElement::subtree, SpaceOutliner::tree, TREESTORE, and TSE_ACTIVE.
|
static |
Definition at line 583 of file outliner_tools.cc.
References ELEM, TreeStoreElem::flag, OUTLINER_LIB_LIB_SELECTIONSET_CONTENT, OUTLINER_LIB_LIB_SELECTIONSET_SELECTED_AND_CONTENT, OUTLINER_LIB_SELECTIONSET_SELECTED, 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 2604 of file outliner_tools.cc.
References BLI_gsetIterator_getKey(), and GSET_ITER.
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 1711 of file outliner_tools.cc.
References outliner_do_object_operation_ex().
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 1677 of file outliner_tools.cc.
References CTX_data_main(), CTX_wm_window(), TreeStoreElem::flag, ID_OB, ID_SCE, LISTBASE_FOREACH, outliner_do_object_operation_ex(), outliner_search_back(), 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 686 of file outliner_tools.cc.
References blender::ed::outliner::tree_iterator::all_open(), 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 3084 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 2333 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 2314 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 3624 of file outliner_draw.cc.
References GPU_PRIM_LINES, immBegin(), immEnd(), immUniform1f(), immVertex2f(), outliner_draw_hierarchy_line(), pos, and UI_UNIT_Y.
Referenced by outliner_draw_hierarchy_line(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3716 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 3641 of file outliner_draw.cc.
References BLI_listbase_is_empty(), col, bTheme::collection_color, COLLECTION_COLOR_NONE, ThemeCollectionColor::color, copy_v4_v4_uchar(), element_should_draw_faded(), ID_OB, immUniformColor4ubv(), LISTBASE_FOREACH, outliner_collection_from_tree_element(), outliner_draw_hierarchy_line(), outliner_draw_hierarchy_lines_recursive(), pos, subtree_contains_object(), TREESTORE, TSE_GREASE_PENCIL_NODE, TSE_LAYER_COLLECTION, TSE_SOME_ID, TSELEM_OPEN, TreeStoreElem::type, UI_GetTheme(), UI_UNIT_X, and UI_UNIT_Y.
Referenced by outliner_draw_hierarchy_lines(), and outliner_draw_hierarchy_lines_recursive().
|
static |
Definition at line 3858 of file outliner_draw.cc.
References GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_I32, GPU_FETCH_INT_TO_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 3785 of file outliner_draw.cc.
References col, TreeStoreElem::flag, immRecti(), immUniformColor3fvAlpha(), immUniformColor4fv(), int, 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, UI_GetThemeColorShade4fv(), and UI_UNIT_Y.
Referenced by outliner_draw_highlights(), outliner_draw_highlights(), and outliner_draw_tree().
|
static |
Definition at line 3181 of file outliner_draw.cc.
References blender::ed::outliner::MergedIconRow::active, ELEM, 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_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_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 3102 of file outliner_draw.cc.
References 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 2301 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, SCE_OBJECT_MODE_LOCK, blender::ed::outliner::TreeViewContext::scene, and Scene::toolsettings.
Referenced by draw_outliner().
|
static |
Definition at line 2208 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::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_EMBOSS_NONE_OR_STATUS, UI_icon_from_object_mode(), UI_UNIT_X, UI_UNIT_Y, uiDefIconBut(), and blender::ed::outliner::TreeElement::ys.
|
static |
Definition at line 1976 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(), RNA_id_pointer_create(), tree_element_cast(), TREESTORE, TSELEM_OPEN, UI_BTYPE_BUT, UI_but_context_ptr_set(), UI_BUT_DRAG_LOCK, UI_but_flag_enable(), UI_but_func_identity_compare_set(), UI_UNIT_X, UI_UNIT_Y, uiDefIconButO(), and WM_OP_EXEC_DEFAULT.
Referenced by draw_outliner(), and outliner_draw_overrides_restrictbuts().
|
static |
Definition at line 1869 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, UI_BTYPE_LABEL, UI_but_flag_enable(), UI_BUT_REDALERT, UI_SCALE_FAC, UI_UNIT_Y, uiDefAutoButR(), uiDefAutoButsArrayR(), and uiDefBut().
Referenced by draw_outliner(), and outliner_draw_overrides_rna_buts().
|
static |
Definition at line 1083 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, Object::data, ELEM, bGPDlayer::flag, Bone::flag, EditBone::flag, uiBlock::flag, GP_LAYER_HIDE, GP_LAYER_LOCKED, bArmature::id, Object::id, TreeStoreElem::id, ID_OB, blender::ed::outliner::RestrictProperties::initialized, 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, 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(), 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(), V2D_SCROLL_WIDTH, view_layer__collection_set_flag_recursive_fn(), view_layer__layer_collection_set_flag_recursive_fn(), and VIEW_LAYER_RENDER.
Referenced by draw_outliner(), and outliner_draw_restrictbuts().
|
static |
Definition at line 2047 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(), and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
Definition at line 2027 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, rctf::ymax, and rctf::ymin.
Referenced by draw_outliner().
|
static |
Definition at line 3745 of file outliner_draw.cc.
References GPU_COMP_F32, GPU_COMP_I32, GPU_FETCH_FLOAT, GPU_FETCH_INT_TO_FLOAT, GPU_PRIM_LINES, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immRecti(), immThemeColorShadeAlpha(), immUnbindProgram(), immVertex2f(), immVertexFormat(), LISTBASE_FOREACH, outliner_draw_struct_marks(), pos, TH_BACK, TREESTORE, TSE_RNA_STRUCT, TSELEM_OPEN, TreeStoreElem::type, and UI_UNIT_Y.
Referenced by outliner_draw_struct_marks(), and outliner_draw_tree().
|
static |
Definition at line 3890 of file outliner_draw.cc.
References BLI_rcti_size_x(), CLAMP_MIN, GPU_blend(), GPU_BLEND_ALPHA, GPU_scissor(), GPU_scissor_get(), int, LISTBASE_FOREACH, 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_SCENES, SO_VIEW_LAYER, TE_DRAGGING, SpaceOutliner::tree, UI_FSTYLE_WIDGET, UI_UNIT_X, UI_UNIT_Y, and UNPACK4.
Referenced by draw_outliner(), and outliner_draw_tree().
|
static |
Definition at line 3384 of file outliner_draw.cc.
References BASE_SELECTED, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_listbase_is_empty(), blender::ed::outliner::TreeElement::directdata, ELEM, element_should_draw_faded(), 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, int, 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, tree_element_active_state_get(), 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, blender::ed::outliner::TreeViewContext::view_layer, blender::ed::outliner::TreeElement::xend, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_draw_tree(), and outliner_draw_tree_element().
|
static |
Definition at line 1779 of file outliner_draw.cc.
References blender::ed::outliner::tree_iterator::all_open(), BLI_str_format_integer_unit(), GS, ID_FAKE_USERS, ID_FLAG_FAKEUSER, ID_IS_LINKED, ID_OB, ID_TAG_EXTRAUSER, OL_TOG_USER_BUTS_USERS, outliner_is_element_in_view(), restrictbutton_id_user_toggle(), TH_REDALERT, TIP_, TREESTORE, TSE_SOME_ID, 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(), and blender::ed::outliner::TreeElement::ys.
Referenced by draw_outliner().
|
static |
Definition at line 2380 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 2352 of file outliner_draw.cc.
References blender::StringRefNull::c_str(), SpaceOutliner::outlinevis, SO_SCENES, UI_block_emboss_set(), UI_BTYPE_ICON_TOGGLE, UI_but_flag_disable(), UI_BUT_UNDO, UI_EMBOSS_NONE_OR_STATUS, UI_UNIT_X, UI_UNIT_Y, and uiDefIconBut().
Referenced by outliner_draw_warning_column().
|
static |
Definition at line 1911 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 1950 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 CTX_wm_region(), CTX_wm_space_outliner(), wmEvent::mval, outliner_dropzone_find(), and UI_view2d_region_to_view().
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 COLLECTION_IS_MASTER, is_collection_element(), outliner_collection_from_tree_element(), outliner_data_from_tree_element_and_parents(), outliner_drop_insert_find(), TE_INSERT_INTO, 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(), 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(), xy, 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 1567 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().
|
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 423 of file space_outliner.cc.
References BLI_listbase_clear(), SpaceOutliner::runtime, SpaceOutliner::sync_select_dirty, SpaceOutliner::tree, SpaceOutliner::treestore, and WM_OUTLINER_SYNC_SELECT_FROM_ALL.
|
static |
Definition at line 2082 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 1002 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 867 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 829 of file outliner_tree.cc.
References 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_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 1018 of file outliner_tree.cc.
References BLI_insertlinkafter(), BLI_remlink(), blender::ed::outliner::TreeElement::next, 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 986 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 1043 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 1105 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 222 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 361 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 754 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 721 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 585 of file outliner_collections.cc.
References 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 476 of file outliner_collections.cc.
References 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 186 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 134 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 103 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 66 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 2097 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 1218 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 169 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 204 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 2068 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 2053 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 155 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 1150 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 1145 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 1102 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 1123 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 1118 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 489 of file space_outliner.cc.
References BKE_LIB_FOREACHID_PROCESS_ID, BKE_lib_query_foreachid_process_flags_get(), BLI_mempool_iternew(), BLI_mempool_iterstep(), 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.
|
static |
Definition at line 401 of file space_outliner.cc.
References BLI_mempool_destroy(), outliner_free_tree(), SpaceOutliner::runtime, SpaceOutliner::tree, and SpaceOutliner::treestore.
| void blender::ed::outliner::outliner_free_tree | ( | ListBase * | tree | ) |
Definition at line 150 of file outliner_tree.cc.
References 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(), 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 241 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 341 of file space_outliner.cc.
References ED_region_header().
|
static |
Definition at line 346 of file space_outliner.cc.
|
static |
Definition at line 336 of file space_outliner.cc.
References ED_region_header_init().
|
static |
Definition at line 348 of file space_outliner.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_SCENE, NC_SPACE, ND_KEYINGSET, ND_SPACE_OUTLINER, and params.
|
static |
Definition at line 1505 of file outliner_collections.cc.
References BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), BLI_gset_add(), LayerCollection::collection, COLLECTION_IS_MASTER, 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 1537 of file outliner_collections.cc.
References BASE_HIDDEN, BKE_layer_collection_set_visible(), BKE_view_layer_need_resync_tag(), BLI_gset_free(), BLI_gset_ptr_new(), BLI_gsetIterator_getKey(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_space_outliner(), DEG_id_tag_update(), Base::flag, GSET_ITER, ID_RECALC_BASE_FLAGS, NC_SCENE, ND_LAYER_CONTENT, OPERATOR_FINISHED, outliner_hide_collect_data_to_edit(), outliner_tree_traverse(), blender::ed::outliner::OutlinerHideEditData::scene, scene, SpaceOutliner::tree, TSE_SELECTED, and WM_main_add_notifier().
Referenced by OUTLINER_OT_hide().
|
static |
Definition at line 103 of file outliner_edit.cc.
References CTX_wm_manager(), CTX_wm_region(), CTX_wm_space_outliner(), wmWindowManager::drags, ED_region_tag_redraw_no_rebuild(), ED_screen_area_active(), ListBase::first, 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, and UI_view2d_region_to_view().
Referenced by OUTLINER_OT_highlight_update().
|
static |
Definition at line 3072 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 824 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, and SpaceOutliner::tree.
Referenced by OUTLINER_OT_id_copy().
|
static |
Definition at line 795 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 567 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, and UI_view2d_region_to_view().
Referenced by OUTLINER_OT_id_delete().
|
static |
Definition at line 533 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(), 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 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 702 of file outliner_edit.cc.
References CTX_data_main(), ListBase::first, 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 2866 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), BKE_report(), CTX_data_main(), CTX_data_scene(), CTX_wm_manager(), CTX_wm_space_outliner(), ED_node_tree_propagate_change(), 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, wmWindowManager::op_undo_depth, 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(), 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 2814 of file outliner_tools.cc.
References 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 2843 of file outliner_tools.cc.
References ED_operator_outliner_active(), EnumPropertyItem::identifier, 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 868 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 442 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.
|
static |
Definition at line 614 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 664 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 687 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(), 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 414 of file space_outliner.cc.
References SpaceOutliner::runtime.
|
static |
Definition at line 1757 of file outliner_select.cc.
References BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), 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 1748 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 1741 of file outliner_select.cc.
References outliner_is_co_within_restrict_columns(), and outliner_right_columns_width().
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 48 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_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 391 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 375 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 1900 of file outliner_select.cc.
References 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 1775 of file outliner_select.cc.
References 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, and UI_view2d_region_to_view().
Referenced by outliner_item_activate_invoke(), and outliner_item_do_activate_from_cursor().
|
static |
Definition at line 1398 of file outliner_dragdrop.cc.
References BLI_freelistN(), CTX_data_scene(), CTX_wm_region(), CTX_wm_space_outliner(), datastack_drop_data_init(), blender::ed::outliner::TreeElement::directdata, ED_outliner_select_sync_from_outliner(), ELEM, TreeStoreElem::flag, GS, Collection::id, TreeStoreElem::id, ID_GR, ID_OB, LISTBASE_FOREACH, 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(), 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(), 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 1385 of file outliner_dragdrop.cc.
References outliner_find_item_at_y(), SpaceOutliner::tree, UI_view2d_region_to_view_y(), 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 406 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 411 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 396 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 416 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, |
| TreeViewContext * | tvc, | ||
| TreeElement * | te, | ||
| bool | do_extend ) |
Toggle the item's interaction mode if supported.
Definition at line 185 of file outliner_select.cc.
References BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BKE_view_layer_base_find(), BKE_view_layer_synced_ensure(), 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 174 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 246 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), wmOperator::customdata, TreeStoreElem::flag, KM_CLICK_DRAG, LEFTMOUSE, 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(), 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 205 of file outliner_edit.cc.
References CTX_wm_region(), CTX_wm_space_outliner(), wmOperator::customdata, 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(), wmEvent::val, and blender::ed::outliner::TreeElement::xs.
Referenced by OUTLINER_OT_item_openclose().
|
static |
Definition at line 387 of file outliner_edit.cc.
References BKE_report(), outliner_find_element_with_flag(), RPT_WARNING, SpaceOutliner::tree, and TSE_ACTIVE.
Referenced by outliner_item_rename_invoke().
|
static |
Definition at line 400 of file outliner_edit.cc.
References wmEvent::mval, outliner_find_item_at_y(), outliner_item_is_co_over_name(), SpaceOutliner::tree, and UI_view2d_region_to_view().
Referenced by outliner_item_rename_invoke().
|
static |
Definition at line 415 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, 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 1543 of file outliner_select.cc.
References activate(), 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_item_do_activate_from_cursor(), outliner_item_select(), and outliner_walk_select_invoke().
|
static |
Definition at line 2093 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 2138 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 105 of file outliner_ops.cc.
References RGN_TYPE_WINDOW, SPACE_OUTLINER, and WM_keymap_ensure().
|
static |
Create either a RNA_LayerCollection or a RNA_Collection pointer.
Definition at line 339 of file outliner_draw.cc.
References ptr, RNA_id_pointer_create(), and RNA_pointer_create().
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 3085 of file outliner_tools.cc.
References BKE_id_multi_tagged_delete(), BKE_main_id_tag_all(), CTX_data_main(), CTX_data_scene(), CTX_wm_space_outliner(), ED_node_tree_propagate_change(), 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 1031 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, and UI_view2d_region_to_view().
Referenced by OUTLINER_OT_lib_reload().
|
static |
Definition at line 981 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, and UI_view2d_region_to_view().
Referenced by OUTLINER_OT_lib_relocate().
|
static |
Definition at line 949 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(), 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 1847 of file outliner_tools.cc.
References CTX_data_scene(), CTX_wm_space_outliner(), blender::ed::outliner::OutlinerLibOverrideData::do_hierarchy, 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, 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 1839 of file outliner_tools.cc.
References 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 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(), SpaceOutliner::tree, TREESTORE, TSE_ACTIVE, and TSE_IS_REAL_ID.
|
static |
Definition at line 87 of file space_outliner.cc.
References BLI_rctf_compare(), View2D::cur, draw_outliner(), TH_BACK, UI_ThemeClearColor(), UI_view2d_scrollers_draw(), and UI_view2d_view_restore().
|
static |
Definition at line 114 of file space_outliner.cc.
|
static |
Definition at line 60 of file space_outliner.cc.
References wmWindowManager::defaultconf, RGN_TYPE_WINDOW, SPACE_OUTLINER, UI_view2d_region_reinit(), 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, WM_dropboxmap_find(), WM_event_add_dropbox_handler(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
|
static |
Definition at line 116 of file space_outliner.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), ED_region_tag_redraw_no_rebuild(), ELEM, 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, and wmNotifier::subtype.
|
static |
Definition at line 316 of file space_outliner.cc.
References ED_region_do_msg_notify_tag_redraw(), ELEM, SpaceOutliner::outlinevis, wmMsgSubscribeValue::owner, params, SO_OVERRIDES_LIBRARY, SO_SCENES, SO_VIEW_LAYER, and WM_msg_subscribe_rna_anon_prop.
| 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 2184 of file outliner_draw.cc.
References BLI_assert, 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 3439 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, wmOperator::reports, RNA_enum_get(), and TSE_MODIFIER.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 954 of file outliner_tools.cc.
References BKE_id_delete(), BKE_library_ID_is_indirectly_used(), BKE_object_is_in_editmode(), BKE_reportf(), CTX_data_main(), blender::ed::object::editmode_exit_ex(), blender::ed::object::EM_FREEDATA, Object::id, ID_EXTRA_USERS, ID_REAL_USERS, ID_TAG_INDIRECT, Object::mode, ID::name, OB_MODE_EDIT, RPT_WARNING, and ID::tag.
Referenced by outliner_delete_exec().
|
static |
Definition at line 2490 of file outliner_tools.cc.
References BLI_assert_unreachable, 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(), 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_libdata_operation(), outliner_do_object_operation(), outliner_do_object_operation_ex(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), scene, str, SpaceOutliner::tree, 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 BKE_main_collection_sync_remap(), BKE_object_is_child_recursive(), BKE_view_layer_base_find(), BKE_view_layer_need_resync_tag(), BKE_view_layer_synced_ensure(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_window(), DEG_id_tag_update(), DEG_relations_tag_update(), wmWindow::eventstate, ListBase::first, Object::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(), 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 1517 of file outliner_edit.cc.
References 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 |
Definition at line 1321 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 1497 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 3731 of file outliner_tools.cc.
References 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(), and UI_view2d_region_to_view().
Referenced by OUTLINER_OT_operation().
|
static |
Definition at line 200 of file outliner_tools.cc.
References 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 3634 of file outliner_tools.cc.
References wmOperatorType::idname, OPERATOR_INTERFACE, ot, wmOperatorType::prop, RNA_property_identifier(), UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), uiItemMContents(), uiItemS(), 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_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().
|
static |
Definition at line 2414 of file outliner_edit.cc.
References CTX_wm_space_outliner(), IFACE_, int, 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 2328 of file outliner_edit.cc.
References outliner_orphans_purge_cleanup().
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2251 of file outliner_edit.cc.
References BKE_lib_query_unused_ids_amounts(), CTX_data_main(), wmOperator::customdata, LibQueryUnusedIDsData::do_local_ids, wmOperator::ptr, and RNA_boolean_get().
Referenced by outliner_orphans_purge_invoke(), and OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2243 of file outliner_edit.cc.
References wmOperator::customdata.
Referenced by outliner_orphans_purge_cancel(), and outliner_orphans_purge_exec().
|
static |
Definition at line 2280 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, DEG_relations_tag_update(), LibQueryUnusedIDsData::do_local_ids, 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, WM_event_add_notifier(), and WM_main_add_notifier().
Referenced by OUTLINER_OT_orphans_purge().
|
static |
Definition at line 2266 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 2333 of file outliner_edit.cc.
References BLI_assert_unreachable, wmOperator::customdata, wmOperator::layout, ptr, wmOperator::ptr, UI_ITEM_NONE, uiItemL(), uiItemR(), uiItemS_ex(), uiLayoutColumn(), uiLayoutRow(), and unused_message_gen().
Referenced by OUTLINER_OT_orphans_purge().
| void blender::ed::outliner::OUTLINER_OT_action_set | ( | wmOperatorType * | ot | ) |
Definition at line 3240 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_action_set_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_action_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, wmOperatorType::srna, and WM_enum_search_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_animdata_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3362 of file outliner_tools.cc.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_animdata_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_animdata_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_clear_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1290 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_clear_filter_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_color_tag_set | ( | wmOperatorType * | ot | ) |
Definition at line 1675 of file outliner_collections.cc.
References COLLECTION_COLOR_NONE, wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_color_tag_set_exec(), wmOperatorType::poll, RNA_def_enum(), rna_enum_collection_color_items, and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_disable | ( | wmOperatorType * | ot | ) |
Definition at line 1446 of file outliner_collections.cc.
References collection_disable_poll(), collection_flag_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_disable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1476 of file outliner_collections.cc.
References collection_disable_render_poll(), collection_flag_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1362 of file outliner_dragdrop.cc.
References collection_drop_invoke(), wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 698 of file outliner_collections.cc.
References collection_duplicate_exec(), wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_duplicate_linked | ( | wmOperatorType * | ot | ) |
Definition at line 681 of file outliner_collections.cc.
References collection_duplicate_exec(), wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_enable | ( | wmOperatorType * | ot | ) |
Definition at line 1431 of file outliner_collections.cc.
References collection_enable_poll(), collection_flag_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_enable_render | ( | wmOperatorType * | ot | ) |
Definition at line 1461 of file outliner_collections.cc.
References collection_enable_render_poll(), collection_flag_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1021 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_clear_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_exclude_set | ( | wmOperatorType * | ot | ) |
Definition at line 1006 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_exclude_set_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1252 of file outliner_collections.cc.
References collection_hide_poll(), collection_visibility_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hide_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1282 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_hierarchy_delete | ( | wmOperatorType * | ot | ) |
Definition at line 450 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_hierarchy_delete_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1051 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_clear_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_holdout_set | ( | wmOperatorType * | ot | ) |
Definition at line 1036 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_holdout_set_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1083 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_clear_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_indirect_only_set | ( | wmOperatorType * | ot | ) |
Definition at line 1066 of file outliner_collections.cc.
References collection_view_layer_exec(), collections_indirect_only_set_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_instance | ( | wmOperatorType * | ot | ) |
Definition at line 848 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_instance_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_isolate | ( | wmOperatorType * | ot | ) |
Definition at line 1162 of file outliner_collections.cc.
References collection_isolate_exec(), collection_isolate_invoke(), wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_link | ( | wmOperatorType * | ot | ) |
Definition at line 771 of file outliner_collections.cc.
References collection_edit_in_active_scene_poll(), collection_link_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_new | ( | wmOperatorType * | ot | ) |
Definition at line 273 of file outliner_collections.cc.
References collection_new_exec(), collection_new_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 560 of file outliner_collections.cc.
References collection_objects_select_exec(), wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_objects_select | ( | wmOperatorType * | ot | ) |
Definition at line 545 of file outliner_collections.cc.
References collection_objects_select_exec(), wmOperatorType::description, ED_outliner_collections_editor_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_show | ( | wmOperatorType * | ot | ) |
Definition at line 1237 of file outliner_collections.cc.
References collection_show_poll(), collection_visibility_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_collection_show_inside | ( | wmOperatorType * | ot | ) |
Definition at line 1267 of file outliner_collections.cc.
References collection_inside_poll(), collection_visibility_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_constraint_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3407 of file outliner_tools.cc.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_constraint_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_constraint_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_data_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3611 of file outliner_tools.cc.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_data_op_sets_enum_item_fn(), outliner_data_operation_exec(), outliner_data_operation_poll(), wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_DEFAULT_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_datastack_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1074 of file outliner_dragdrop.cc.
References datastack_drop_invoke(), wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 2742 of file outliner_tools.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_delete_exec(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_drivers_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1929 of file outliner_edit.cc.
References wmOperatorType::description, ed_operator_outliner_datablocks_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_drivers_addsel_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_drivers_delete_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1968 of file outliner_edit.cc.
References wmOperatorType::description, ed_operator_outliner_datablocks_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_drivers_deletesel_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_expanded_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1185 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_toggle_expanded_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_hide | ( | wmOperatorType * | ot | ) |
Definition at line 1578 of file outliner_collections.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_hide_exec(), outliner_view_layer_collections_editor_poll(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_highlight_update | ( | wmOperatorType * | ot | ) |
Definition at line 157 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_highlight_update_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_copy | ( | wmOperatorType * | ot | ) |
Definition at line 847 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, outliner_id_copy_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_delete | ( | wmOperatorType * | ot | ) |
Definition at line 595 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_id_delete_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3042 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_id_operation_exec(), outliner_id_operation_itemf(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_id_op_types, RNA_def_enum(), RNA_def_enum_funcs(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_paste | ( | wmOperatorType * | ot | ) |
Definition at line 888 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_id_paste_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_id_remap | ( | wmOperatorType * | ot | ) |
Definition at line 730 of file outliner_edit.cc.
References BLT_I18NCONTEXT_ID_ID, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, ID_OB, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_id_itemf(), outliner_id_remap_exec(), outliner_id_remap_invoke(), wmOperatorType::poll, wmOperatorType::prop, 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, rna_enum_id_type_items, and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_activate | ( | wmOperatorType * | ot | ) |
Definition at line 1914 of file outliner_select.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_item_activate_invoke(), OUTLINER_OT_item_activate(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes(), and OUTLINER_OT_item_activate().
| void blender::ed::outliner::OUTLINER_OT_item_drag_drop | ( | wmOperatorType * | ot | ) |
Definition at line 1549 of file outliner_dragdrop.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_item_drag_drop_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_openclose | ( | wmOperatorType * | ot | ) |
Definition at line 292 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, outliner_item_openclose_invoke(), outliner_item_openclose_modal(), wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_item_rename | ( | wmOperatorType * | ot | ) |
Definition at line 440 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, ot, outliner_item_rename_invoke(), wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_keyingset_add_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2117 of file outliner_edit.cc.
References wmOperatorType::description, ed_operator_outliner_datablocks_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_keyingset_additems_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_keyingset_remove_selected | ( | wmOperatorType * | ot | ) |
Definition at line 2158 of file outliner_edit.cc.
References wmOperatorType::description, ed_operator_outliner_datablocks_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_keyingset_removeitems_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_lib_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3133 of file outliner_tools.cc.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_lib_op_type_items, outliner_lib_operation_exec(), outliner_operation_tree_element_poll(), wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_lib_reload | ( | wmOperatorType * | ot | ) |
Definition at line 1058 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_lib_reload_invoke(), and wmOperatorType::poll.
| void blender::ed::outliner::OUTLINER_OT_lib_relocate | ( | wmOperatorType * | ot | ) |
Definition at line 1002 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_lib_relocate_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_liboverride_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2015 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_liboverride_troubleshoot_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2038 of file outliner_tools.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_liboverride_operation_exec(), outliner_liboverride_operation_poll(), wmOperatorType::poll, wmOperatorType::prop, prop_lib_op_selection_set, prop_liboverride_troubleshoot_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_material_drop | ( | wmOperatorType * | ot | ) |
Definition at line 658 of file outliner_dragdrop.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, material_drop_invoke(), wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_modifier_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3459 of file outliner_tools.cc.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_modifier_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_modifier_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_object_operation | ( | wmOperatorType * | ot | ) |
Definition at line 2574 of file outliner_tools.cc.
References ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_object_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_object_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_operation | ( | wmOperatorType * | ot | ) |
Definition at line 3755 of file outliner_tools.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_operation_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_orphans_manage | ( | wmOperatorType * | ot | ) |
Definition at line 2443 of file outliner_edit.cc.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, 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 2368 of file outliner_edit.cc.
References wmOperatorType::cancel, wmOperatorType::check, wmOperatorType::description, ed_operator_outliner_id_orphans_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, outliner_orphans_purge_cancel(), outliner_orphans_purge_check(), outliner_orphans_purge_exec(), outliner_orphans_purge_invoke(), outliner_orphans_purge_ui(), wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 533 of file outliner_dragdrop.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_clear_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_parent_drop | ( | wmOperatorType * | ot | ) |
Definition at line 444 of file outliner_dragdrop.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, parent_drop_invoke(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scene_drop | ( | wmOperatorType * | ot | ) |
Definition at line 603 of file outliner_dragdrop.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and scene_drop_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scene_operation | ( | wmOperatorType * | ot | ) |
Definition at line 748 of file outliner_tools.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, outliner_scene_operation_exec(), wmOperatorType::poll, wmOperatorType::prop, prop_scene_op_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_scroll_page | ( | wmOperatorType * | ot | ) |
Definition at line 1472 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_scroll_page_exec(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1237 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_select_all_exec(), wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 2017 of file outliner_select.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_box_select_exec(), outliner_box_select_invoke(), OUTLINER_OT_select_box(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, 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 2252 of file outliner_select.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, OUTLINER_OT_select_walk(), outliner_walk_select_invoke(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, 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 1434 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_show_active_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_show_hierarchy | ( | wmOperatorType * | ot | ) |
Definition at line 1639 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_show_hierarchy_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_show_one_level | ( | wmOperatorType * | ot | ) |
Definition at line 1544 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_region_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_one_level_exec(), wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_start_filter | ( | wmOperatorType * | ot | ) |
Definition at line 1270 of file outliner_edit.cc.
References wmOperatorType::description, ED_operator_outliner_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, outliner_start_filter_exec(), and wmOperatorType::poll.
Referenced by outliner_operatortypes().
| void blender::ed::outliner::OUTLINER_OT_unhide_all | ( | wmOperatorType * | ot | ) |
Definition at line 1617 of file outliner_collections.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, outliner_unhide_all_exec(), outliner_view_layer_collections_editor_poll(), and wmOperatorType::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 683 of file outliner_tree.cc.
References BLI_rctf_translate(), View2D::cur, outliner_find_tree_element(), outliner_set_coordinates(), SpaceOutliner::tree, rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_build_tree().
|
static |
Definition at line 1049 of file outliner_draw.cc.
References COLLECTION_IS_MASTER, blender::ed::outliner::TreeElement::directdata, 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(), TREESTORE, TSE_LAYER_COLLECTION, and TreeStoreElem::type.
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 967 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 1005 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 310 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 727 of file outliner_tools.cc.
References BLI_assert_unreachable, 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 1453 of file outliner_edit.cc.
References BLI_rcti_size_y(), CTX_wm_region(), CTX_wm_space_outliner(), ED_region_tag_redraw_no_rebuild(), OPERATOR_FINISHED, outliner_scroll_view(), wmOperator::ptr, and RNA_boolean_get().
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 421 of file outliner_utils.cc.
References outliner_tree_dimensions(), and UI_UNIT_Y.
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 255 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 240 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 1205 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(), 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 431 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 404 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 452 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 474 of file outliner_sync.cc.
References Sequence::flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementSequence::get_sequence(), SELECT, tree_element_cast(), TREESTORE, TSE_ACTIVE, and TSE_SELECTED.
Referenced by outliner_sync_selection_to_outliner().
|
static |
Definition at line 234 of file outliner_sync.cc.
References add_selected_item(), BKE_view_layer_edit_object_get(), BKE_view_layer_synced_ensure(), BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, 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, is_edit_bone_selected(), NC_OBJECT, ND_BONE_SELECT, TSE_SELECTED, and WM_main_add_notifier().
Referenced by outliner_sync_selection_from_outliner().
|
static |
Definition at line 213 of file outliner_sync.cc.
References add_selected_item(), blender::ed::object::BA_DESELECT, blender::ed::object::BA_SELECT, blender::ed::object::base_select(), BASE_SELECTABLE, BKE_view_layer_base_find(), blender::ed::outliner::TreeElement::directdata, Base::flag, TreeStoreElem::flag, TreeStoreElem::id, is_object_selected(), and TSE_SELECTED.
Referenced by outliner_sync_selection_from_outliner().
|
static |
Definition at line 267 of file outliner_sync.cc.
References add_selected_item(), bPoseChannel::bone, BONE_SELECTED, Object::data, DEG_id_tag_update(), blender::ed::outliner::TreeElement::directdata, Bone::flag, TreeStoreElem::flag, bArmature::id, TreeStoreElem::id, ID_RECALC_SELECT, is_pose_bone_selected(), 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 295 of file outliner_sync.cc.
References Sequence::flag, TreeStoreElem::flag, blender::ed::outliner::TreeElementSequence::get_sequence(), SELECT, 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 1308 of file outliner_edit.cc.
References blender::ed::outliner::tree_iterator::all_open(), float, int, UI_UNIT_Y, blender::ed::outliner::TreeElement::xs, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_restore_scrolling_position(), outliner_show_active(), and outliner_store_scrolling_position().
|
static |
Definition at line 1253 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(), Object::data, PointerRNA::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(), 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 3321 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 1377 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 1395 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, rctf::ymax, and blender::ed::outliner::TreeElement::ys.
Referenced by OUTLINER_OT_show_active().
|
static |
Definition at line 1339 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 1625 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 556 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_mallocN, 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 561 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.
|
static |
Definition at line 530 of file space_outliner.cc.
References BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), BLO_read_get_new_data_address_no_us(), TreeStore::data, ListBase::first, ListBase::last, SpaceOutliner::runtime, SO_TREESTORE_CLEANUP, SpaceOutliner::storeflag, SpaceOutliner::tree, SpaceOutliner::treestore, and TreeStore::usedelem.
|
static |
Definition at line 637 of file space_outliner.cc.
References write_space_outliner().
|
static |
Definition at line 1260 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 809 of file outliner_tree.cc.
References outliner_find_first_desired_element_at_y(), outliner_set_coordinates(), TREESTORE, 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 121 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, outliner_viewcontext_init(), SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::sequence, SO_SEQUENCE, and Object::type.
|
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 141 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, outliner_viewcontext_init(), SpaceOutliner::outlinevis, blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectTypes::sequence, 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, |
| SpaceOutliner * | space_outliner ) |
If outliner is dirty sync selection from view layer and sequencer.
Definition at line 560 of file outliner_sync.cc.
References CTX_data_scene(), CTX_data_view_layer(), 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::SyncSelectTypes::sequence, SpaceOutliner::sync_select_dirty, and SpaceOutliner::tree.
Referenced by draw_outliner().
|
static |
Sync select and active flags from outliner to active view layer, bones, and sequencer.
Definition at line 315 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_sequence(), outliner_sync_selection_from_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SelectedItems::pose_bones, blender::ed::outliner::SyncSelectTypes::sequence, tree, TREESTORE, TSE_EBONE, TSE_POSE_CHANNEL, TSE_SEQUENCE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_sync_selection_from_outliner().
|
static |
Sync select and active flags from active view layer, bones, and sequences to the outliner.
Definition at line 508 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_sequence(), outliner_sync_selection_to_outliner(), blender::ed::outliner::SyncSelectTypes::pose_bone, blender::ed::outliner::SyncSelectActiveData::pose_channel, blender::ed::outliner::SyncSelectActiveData::sequence, blender::ed::outliner::SyncSelectTypes::sequence, tree, TREESTORE, TSE_ACTIVE, TSE_EBONE, TSE_POSE_CHANNEL, TSE_SELECTED, TSE_SEQUENCE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_sync_selection(), and outliner_sync_selection_to_outliner().
|
static |
Definition at line 1235 of file outliner_select.cc.
References 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 444 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 1168 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 109 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 88 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 268 of file outliner_utils.cc.
References TreeStoreElem::flag, outliner_tree_traverse(), TRAVERSE_BREAK, TRAVERSE_CONTINUE, TRAVERSE_SKIP_CHILDS, tree, and TREESTORE.
Referenced by 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(), 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 1593 of file outliner_collections.cc.
References BKE_layer_collection_set_flag(), BKE_view_layer_need_resync_tag(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), CTX_data_scene(), CTX_data_view_layer(), DEG_id_tag_update(), ListBase::first, 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 4021 of file outliner_draw.cc.
References OL_Y_OFFSET, outliner_update_viewable_area(), outliner_width(), UI_view2d_totRect_set(), and V2D_SCROLL_HEIGHT.
Referenced by draw_outliner(), and outliner_update_viewable_area().
|
static |
Definition at line 168 of file outliner_collections.cc.
References 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_scene(), CTX_data_view_layer(), 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(), outliner_sync_select_from_outliner_set_types(), and outliner_sync_select_to_outliner_set_types().
|
static |
Definition at line 2114 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 2131 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 2206 of file outliner_select.cc.
References outliner_scroll_view(), outliner_walk_scroll(), UI_UNIT_Y, and blender::ed::outliner::TreeElement::ys.
Referenced by outliner_walk_scroll(), and outliner_walk_select_invoke().
|
static |
Definition at line 2221 of file outliner_select.cc.
References 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 4010 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 506 of file outliner_dragdrop.cc.
References 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 466 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), CTX_wm_space_outliner(), ELEM, GS, TreeStoreElem::id, ID_GR, ID_OB, KM_SHIFT, wmEvent::modifier, 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 271 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, and TreeStoreElem::type.
Referenced by parent_drop_poll().
|
static |
Definition at line 408 of file outliner_dragdrop.cc.
References 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 320 of file outliner_dragdrop.cc.
References allow_parenting_without_modifier_key(), 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 354 of file outliner_dragdrop.cc.
References BKE_id_is_editable(), BKE_report(), 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(), RPT_INFO, SpaceOutliner::tree, and WM_event_add_notifier().
Referenced by parent_drop_invoke().
|
static |
Definition at line 2093 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 1758 of file outliner_tools.cc.
References IdAdtTemplate::adt, AnimData::drivers, 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, CTX_wm_window(), DEG_id_tag_update(), wmWindow::eventstate, Bone::flag, bArmature::id, ID_RECALC_SYNC_TO_EVAL, KM_SHIFT, wmEvent::modifier, 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, CTX_wm_window(), wmWindow::eventstate, Bone::flag, KM_SHIFT, wmEvent::modifier, 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, CTX_wm_window(), wmWindow::eventstate, EditBone::flag, KM_SHIFT, wmEvent::modifier, 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, CTX_wm_window(), wmWindow::eventstate, EditBone::flag, KM_SHIFT, wmEvent::modifier, 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 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_FAKEUSER, id_us_min(), and id_us_plus().
Referenced by outliner_draw_userbuts().
|
static |
Definition at line 174 of file outliner_draw.cc.
References 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 562 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(), CTX_data_collection(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ELEM, ID_OB, ID_RECALC_SELECT, ID_SCE, LISTBASE_FOREACH, NC_SCENE, ND_OB_SELECT, OPERATOR_CANCELLED, OPERATOR_FINISHED, outliner_ID_drop_find(), WM_drag_get_local_ID_from_event(), and WM_main_add_notifier().
Referenced by OUTLINER_OT_scene_drop().
|
static |
Definition at line 555 of file outliner_dragdrop.cc.
References ID_OB, ID_SCE, outliner_ID_drop_find(), and WM_drag_get_local_ID().
Referenced by outliner_dropboxes().
|
static |
Definition at line 708 of file outliner_tools.cc.
References 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 680 of file outliner_draw.cc.
References outliner_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 182 of file outliner_sync.cc.
References BLI_gset_free(), blender::ed::outliner::SelectedItems::edit_bones, blender::ed::outliner::SelectedItems::objects, and blender::ed::outliner::SelectedItems::pose_bones.
|
static |
Definition at line 175 of file outliner_sync.cc.
References BLI_ghashutil_ptrcmp(), BLI_ghashutil_ptrhash(), BLI_gset_new(), blender::ed::outliner::SelectedItems::edit_bones, blender::ed::outliner::SelectedItems::objects, and blender::ed::outliner::SelectedItems::pose_bones.
|
static |
Definition at line 2150 of file outliner_tools.cc.
References BLI_findindex(), ED_sequencer_select_sequence_single(), Sequence::flag, blender::ed::outliner::TreeElementSequence::get_sequence(), OL_DOP_DESELECT, OL_DOP_HIDE, OL_DOP_SELECT, OL_DOP_UNHIDE, SEQ_editing_get(), SEQ_MUTE, SEQ_relations_invalidate_dependent(), Editing::seqbasep, and tree_element_cast().
Referenced by outliner_data_operation_exec().
|
static |
Definition at line 1630 of file outliner_tools.cc.
References IdAdtTemplate::adt, IdAdtTemplate::id, TreeStoreElem::id, ID_AC, id_single_user(), blender::ed::outliner::TreeElement::idcode, ptr, RNA_pointer_create(), and RNA_struct_find_property().
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1656 of file outliner_tools.cc.
References 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 3613 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().
Helper function for #tree_element_shwo_hierarchy() - recursively checks whether subtrees have any objects.
Definition at line 1574 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 707 of file outliner_tree.cc.
References outliner_is_collection_tree_element().
Referenced by outliner_find_first_desired_element_at_y().
|
static |
Definition at line 712 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 811 of file outliner_select.cc.
References 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 1143 of file outliner_select.cc.
References 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 638 of file outliner_select.cc.
References bArmature::act_edbone, ANIM_bone_is_visible_editbone(), BONE_UNSELECTABLE, CTX_data_edit_object(), ED_armature_ebone_select_set(), EditBone::flag, NC_OBJECT, ND_BONE_ACTIVE, and WM_event_add_notifier().
Referenced by tree_element_ebone_activate().
|
static |
Definition at line 1083 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 1117 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 1150 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 1129 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 594 of file outliner_select.cc.
References bArmature::act_bone, ANIM_bone_is_visible(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_UNSELECTABLE, bArmature::bonebase, blender::ed::outliner::TreeElement::directdata, do_outliner_bone_select_recursive(), ListBase::first, Bone::flag, TreeStoreElem::id, NC_OBJECT, ND_BONE_ACTIVE, OL_SETSEL_EXTEND, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1009 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 920 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 531 of file outliner_select.cc.
References ANIM_armature_bonecoll_active_set(), 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 437 of file outliner_select.cc.
References CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), ListBase::first, ID_OB, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_SCENE, outliner_search_back(), wmWindowManager::windows, 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 681 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(), 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_iconrow(), outliner_draw_overrides_restrictbuts(), outliner_draw_overrides_rna_buts(), outliner_draw_restrictbuts(), outliner_draw_rnabuts(), outliner_select_sync_from_sequence(), outliner_select_sync_to_sequence(), sequence_fn(), tree_element_get_icon(), tree_element_grease_pencil_node_activate(), tree_element_grease_pencil_node_state_get(), tree_element_sequence_activate(), tree_element_sequence_dup_state_get(), tree_element_sequence_state_get(), and tree_element_to_path().
|
static |
Definition at line 708 of file outliner_select.cc.
References 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 470 of file outliner_select.cc.
References BKE_object_defgroup_active_index_set(), BLI_assert, 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 905 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 649 of file outliner_select.cc.
References BKE_view_layer_array_from_bases_in_mode_params(), BONE_SELECTED, blender::ed::outliner::TreeElement::directdata, do_outliner_ebone_select_recursive(), ED_armature_edit_deselect_all_multi_ex(), EditBone::flag, TreeStoreElem::id, 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 937 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 258 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 2590 of file outliner_draw.cc.
References blender::ed::outliner::TreeElement::abstract_element, 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, PointerRNA::data, blender::ed::outliner::TreeElement::directdata, eGpencilModifierType_Armature, eGpencilModifierType_Array, eGpencilModifierType_Build, eGpencilModifierType_Color, eGpencilModifierType_Hook, eGpencilModifierType_Lattice, eGpencilModifierType_Mirror, eGpencilModifierType_Multiply, eGpencilModifierType_Noise, eGpencilModifierType_Offset, eGpencilModifierType_Opacity, eGpencilModifierType_Shrinkwrap, eGpencilModifierType_Simplify, eGpencilModifierType_Smooth, eGpencilModifierType_Subdiv, eGpencilModifierType_Texture, eGpencilModifierType_Thick, eGpencilModifierType_Time, eGpencilModifierType_Tint, eGpencilModifierType_WeightAngle, eGpencilModifierType_WeightProximity, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElementSequence::get_sequence_type(), Object::greasepencil_modifiers, blender::ed::outliner::TreeElementIcon::icon, ModifierTypeInfo::icon, blender::ed::outliner::TreeElementOverridesBase::id, TreeStoreElem::id, LAYERGROUP_COLOR_NONE, Object::modifiers, TreeStoreElem::nr, OB_GPENCIL_LEGACY, outliner_collection_from_tree_element(), blender::ed::outliner::TreeElement::parent, ptr, RNA_struct_is_ID(), RNA_struct_ui_icon(), SEQ_TYPE_ADD, SEQ_TYPE_ADJUSTMENT, SEQ_TYPE_ALPHAOVER, SEQ_TYPE_ALPHAUNDER, SEQ_TYPE_COLOR, SEQ_TYPE_COLORMIX, SEQ_TYPE_CROSS, SEQ_TYPE_GAMCROSS, SEQ_TYPE_GAUSSIAN_BLUR, SEQ_TYPE_GLOW, SEQ_TYPE_IMAGE, SEQ_TYPE_MASK, SEQ_TYPE_META, SEQ_TYPE_MOVIE, SEQ_TYPE_MOVIECLIP, SEQ_TYPE_MUL, SEQ_TYPE_MULTICAM, SEQ_TYPE_OVERDROP, SEQ_TYPE_SCENE, SEQ_TYPE_SOUND_RAM, SEQ_TYPE_SPEED, SEQ_TYPE_SUB, SEQ_TYPE_TEXT, SEQ_TYPE_TRANSFORM, SEQ_TYPE_WIPE, tree_element_cast(), tree_element_get_icon_from_id(), TREESTORE, 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_SEQ_STRIP, TSE_SEQUENCE, TSE_SEQUENCE_DUP, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, bConstraint::type, GpencilModifierData::type, ModifierData::type, Object::type, PointerRNA::type, and TreeStoreElem::type.
Referenced by merged_element_search_fn_recursive(), outliner_item_drag_drop_invoke(), and tselem_draw_icon().
Definition at line 2402 of file outliner_draw.cc.
References BKE_curve_type_get(), 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, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_DUPLICOLLECTION, OB_EMPTY, OB_EMPTY_IMAGE, OB_FONT, OB_GPENCIL_LEGACY, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, Object::pd, 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 481 of file outliner_select.cc.
References BKE_gpencil_layer_active_set(), 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 1044 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 495 of file outliner_select.cc.
References CTX_wm_message_bus(), DEG_id_tag_update(), GreasePencil::id, TreeStoreElem::id, ID_RECALC_GEOMETRY, 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 1052 of file outliner_select.cc.
References TreeStoreElem::id, 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 3148 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 792 of file outliner_select.cc.
References BKE_layer_collection_activate(), BKE_view_layer_find_from_collection(), 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 1073 of file outliner_select.cc.
References CTX_data_layer_collection(), blender::ed::outliner::TreeElement::directdata, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 781 of file outliner_select.cc.
References BKE_layer_collection_activate(), 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 1062 of file outliner_select.cc.
References CTX_data_layer_collection(), CTX_data_view_layer(), ListBase::first, ViewLayer::layer_collections, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 403 of file outliner_select.cc.
References Object::actcol, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), 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 687 of file outliner_select.cc.
References BKE_object_modifier_set_active(), 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 946 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 286 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(), 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, 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, OL_SETSEL_EXTEND, OL_SETSEL_NONE, outliner_search_back(), outliner_search_back_te(), SCE_OBJECT_MODE_LOCK, 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 955 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 961 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 541 of file outliner_select.cc.
References bArmature::act_bone, ANIM_bone_is_visible(), BKE_object_pose_armature_get(), BKE_object_pose_array_get_unique(), bPoseChannel::bone, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, 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 980 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 701 of file outliner_select.cc.
References TreeStoreElem::id, NA_EDITED, NC_OBJECT, ND_PARTICLE, and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 731 of file outliner_select.cc.
References BLI_findindex(), ED_sequencer_deselect_all(), Sequence::flag, blender::ed::outliner::TreeElementSequence::get_sequence(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OL_SETSEL_EXTEND, SELECT, SEQ_editing_get(), SEQ_select_active_set(), Editing::seqbasep, tree_element_cast(), and WM_event_add_notifier().
Referenced by tree_element_type_active_set().
|
static |
Definition at line 758 of file outliner_select.cc.
References StripElem::filename, ListBase::first, Sequence::next, SEQ_editing_get(), Editing::seqbasep, STREQ, Sequence::strip, and Strip::stripdata.
Referenced by tree_element_type_active_set().
|
static |
Definition at line 1033 of file outliner_select.cc.
References Sequence::flag, blender::ed::outliner::TreeElementSequenceStripDuplicate::get_sequence(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, SELECT, and tree_element_cast().
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 1021 of file outliner_select.cc.
References Editing::act_seq, Sequence::flag, blender::ed::outliner::TreeElementSequence::get_sequence(), OL_DRAWSEL_NONE, OL_DRAWSEL_NORMAL, SELECT, and tree_element_cast().
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 1589 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 803 of file outliner_select.cc.
References ED_text_activate_in_screen(), TreeStoreElem::id, and blender::ed::outliner::TreeElement::store_elem.
Referenced by tree_element_activate().
|
static |
Definition at line 1677 of file outliner_edit.cc.
References BLI_addhead(), BLI_freelistN(), LinkData::data, PointerRNA::data, flag, blender::ed::outliner::TreeElementRNACommon::get_pointer_rna(), blender::ed::outliner::TreeElement::index, KSP_FLAG_WHOLE_ARRAY, LISTBASE_FOREACH, MEM_freeN(), 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, PointerRNA::type, 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 841 of file outliner_select.cc.
References BLI_assert, 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_sequence_activate(), tree_element_sequence_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_SEQUENCE, TSE_SEQUENCE_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 bContext * | C, |
| 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 1171 of file outliner_select.cc.
References 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_sequence_dup_state_get(), tree_element_sequence_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_SEQUENCE, TSE_SEQUENCE_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 222 of file outliner_select.cc.
References BLI_findindex(), CTX_wm_window(), blender::ed::outliner::TreeElement::directdata, NC_SCREEN, ND_LAYER, blender::ed::outliner::TreeElement::store_elem, TSE_R_LAYER, TreeStoreElem::type, 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 994 of file outliner_select.cc.
References CTX_data_view_layer(), blender::ed::outliner::TreeElement::directdata, ID_SCE, blender::ed::outliner::TreeElement::idcode, OL_DRAWSEL_NONE, and OL_DRAWSEL_NORMAL.
Referenced by tree_element_type_active_state_get().
|
static |
Definition at line 452 of file outliner_select.cc.
References 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 498 of file outliner_tree.cc.
References BLI_strcasecmp_natural(), blender::ed::outliner::tTreeSort::name, and v2.
Referenced by outliner_sort().
|
static |
Definition at line 445 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 484 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 2988 of file outliner_draw.cc.
References bTheme::collection_color, COLLECTION_COLOR_NONE, ThemeCollectionColor::color, 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, and uiDefIconBut().
Referenced by outliner_draw_iconrow_doit(), and outliner_draw_tree_element().
|
static |
Definition at line 214 of file outliner_tools.cc.
References BKE_animdata_set_action(), BKE_reportf(), CTX_wm_reports(), DEG_id_tag_update(), TreeStoreElem::id, ID_RECALC_ANIMATION, ID::name, RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 372 of file outliner_tools.cc.
References BKE_collection_child_remove(), BKE_reportf(), CTX_data_main(), DEG_id_tag_update(), DEG_relations_tag_update(), GS, Collection::id, Object::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, ID::name, RPT_WARNING, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 238 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, PointCloud::mat, ID::name, RPT_WARNING, Curve::totcol, MetaBall::totcol, Object::totcol, PointCloud::totcol, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 428 of file outliner_tools.cc.
References BKE_collection_has_object(), BKE_collection_object_remove(), BKE_reportf(), BLI_assert_unreachable, 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, ID::name, blender::ed::outliner::TreeElement::parent, RPT_WARNING, SO_SCENES, and TREESTORE.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 333 of file outliner_tools.cc.
References BKE_reportf(), GS, Tex::id, TreeStoreElem::id, ID_LS, id_us_min(), blender::ed::outliner::TreeElement::index, MAX_MTEX, FreestyleLineStyle::mtex, ID::name, RPT_WARNING, MTex::tex, tex, and TSE_IS_REAL_ID.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 509 of file outliner_tools.cc.
References BKE_reportf(), TreeStoreElem::id, World::id, id_us_min(), ID::name, RPT_WARNING, TSE_IS_REAL_ID, and Scene::world.
Referenced by outliner_id_operation_exec().
|
static |
Definition at line 1736 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 2189 of file outliner_edit.cc.
References BKE_idtype_idcode_to_name(), BKE_idtype_idcode_to_name_plural(), BKE_idtype_index_to_idcode(), IFACE_, INDEX_ID_MAX, and INDEX_ID_NULL.
Referenced by outliner_orphans_purge_ui(), and unused_message_popup_width_compute().
Definition at line 2217 of file outliner_edit.cc.
References BKE_lib_query_unused_ids_amounts(), BLF_DRAW_STR_DUMMY_MAX, BLF_width(), CTX_data_main(), data, LibQueryUnusedIDsData::do_local_ids, int, UI_style_get_dpi(), uiFontStyle::uifont_id, unused_message_gen(), and uiStyle::widget.
Referenced by outliner_orphans_purge_invoke().
|
static |
Definition at line 2002 of file outliner_edit.cc.
References BKE_keyingset_add(), BLI_findlink(), BLI_listbase_count(), and KEYINGSET_ABSOLUTE.
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 668 of file outliner_draw.cc.
References 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 655 of file outliner_draw.cc.
References outliner_collection_set_flag_recursive_fn().
Referenced by outliner_draw_restrictbuts().
|
static |
Definition at line 582 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, TreeStore::data, MEM_allocN_len, MEM_freeN(), POINTER_OFFSET, SpaceOutliner::treestore, and TreeStore::usedelem.
Referenced by outliner_space_blend_write().
|
static |
Definition at line 97 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 3074 of file outliner_tools.cc.
Referenced by OUTLINER_OT_lib_operation().
|
static |
Definition at line 3283 of file outliner_tools.cc.
Referenced by OUTLINER_OT_animdata_operation().
|
static |
Definition at line 3384 of file outliner_tools.cc.
Referenced by OUTLINER_OT_constraint_operation().
|
static |
Definition at line 2788 of file outliner_tools.cc.
Referenced by outliner_id_operation_itemf(), and OUTLINER_OT_id_operation().
|
static |
Definition at line 563 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation(), and OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 1794 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_operation().
|
static |
Definition at line 1815 of file outliner_tools.cc.
Referenced by OUTLINER_OT_liboverride_troubleshoot_operation().
|
static |
Definition at line 3430 of file outliner_tools.cc.
Referenced by OUTLINER_OT_modifier_operation().
|
static |
Definition at line 2477 of file outliner_tools.cc.
Referenced by OUTLINER_OT_object_operation().
|
static |
Definition at line 681 of file outliner_tools.cc.
Referenced by OUTLINER_OT_scene_operation().