|
Blender
V2.93
|
#include <math.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_cachefile_types.h"#include "DNA_camera_types.h"#include "DNA_collection_types.h"#include "DNA_constraint_types.h"#include "DNA_gpencil_modifier_types.h"#include "DNA_gpencil_types.h"#include "DNA_hair_types.h"#include "DNA_key_types.h"#include "DNA_light_types.h"#include "DNA_lightprobe_types.h"#include "DNA_linestyle_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_object_types.h"#include "DNA_particle_types.h"#include "DNA_pointcloud_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_shader_fx_types.h"#include "DNA_simulation_types.h"#include "DNA_speaker_types.h"#include "DNA_volume_types.h"#include "DNA_world_types.h"#include "BLI_blenlib.h"#include "BLI_fnmatch.h"#include "BLI_listbase.h"#include "BLI_mempool.h"#include "BLI_utildefines.h"#include "BLT_translation.h"#include "BKE_armature.h"#include "BKE_layer.h"#include "BKE_lib_id.h"#include "BKE_main.h"#include "BKE_modifier.h"#include "BKE_outliner_treehash.h"#include "ED_screen.h"#include "RNA_access.h"#include "UI_interface.h"#include "outliner_intern.h"#include "tree/tree_display.h"#include "tree/tree_element.h"Go to the source code of this file.
Classes | |
| struct | tTreeSort |
| struct | OutlinerTreeElementFocus |
Typedefs | |
| typedef struct tTreeSort | tTreeSort |
| typedef struct OutlinerTreeElementFocus | OutlinerTreeElementFocus |
| typedef struct OutlinerTreeElementFocus OutlinerTreeElementFocus |
|
static |
Definition at line 155 of file outliner_tree.c.
References BKE_outliner_treehash_add_element(), BKE_outliner_treehash_create_from_treestore(), BKE_outliner_treehash_lookup_unused(), BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), TreeStoreElem::flag, id, TreeStoreElem::id, TreeStoreElem::nr, NULL, SpaceOutliner::runtime, TreeElement::store_elem, SpaceOutliner_Runtime::treehash, SpaceOutliner::treestore, TSE_CLOSED, type, TreeStoreElem::type, and TreeStoreElem::used.
Referenced by outliner_add_element().
|
static |
Definition at line 247 of file outliner_tree.c.
References Freestyle::a, Bone::childbase, TreeElement::directdata, LISTBASE_FOREACH, TreeElement::name, Bone::name, outliner_add_element(), TreeElement::subtree, and TSE_BONE.
Referenced by outliner_add_id_contents().
| BLI_INLINE void outliner_add_collection_init | ( | TreeElement * | te, |
| Collection * | collection | ||
| ) |
Definition at line 1139 of file outliner_tree.c.
References BKE_collection_ui_name_get(), TreeElement::directdata, and TreeElement::name.
Referenced by outliner_add_collection_recursive().
| BLI_INLINE void outliner_add_collection_objects | ( | SpaceOutliner * | space_outliner, |
| ListBase * | tree, | ||
| Collection * | collection, | ||
| TreeElement * | parent | ||
| ) |
Definition at line 1145 of file outliner_tree.c.
References Collection::gobject, LISTBASE_FOREACH, outliner_add_element(), tree, and TSE_SOME_ID.
Referenced by outliner_add_collection_recursive().
| TreeElement* outliner_add_collection_recursive | ( | SpaceOutliner * | space_outliner, |
| Collection * | collection, | ||
| TreeElement * | ten | ||
| ) |
Definition at line 1155 of file outliner_tree.c.
References Collection::children, LISTBASE_FOREACH, outliner_add_collection_init(), outliner_add_collection_objects(), outliner_add_element(), SpaceOutliner::outlinevis, SO_SCENES, TreeElement::subtree, and TSE_SOME_ID.
Referenced by blender::ed::outliner::TreeElementCollectionBase::expand(), and outliner_add_id_contents().
| TreeElement* outliner_add_element | ( | SpaceOutliner * | space_outliner, |
| ListBase * | lb, | ||
| void * | idv, | ||
| TreeElement * | parent, | ||
| short | type, | ||
| short | index | ||
| ) |
TODO: this function needs to be split up! It's getting a bit too large...
TSE_ type must be added to #outliner_element_needs_rebuild_on_open_change(). Definition at line 832 of file outliner_tree.c.
References Freestyle::a, BLI_addtail(), BLI_assert, BLI_STATIC_ASSERT, BLI_strcasecmp(), Freestyle::c, check_persistent(), CLAMP_MAX, PointerRNA::data, Strip::dir, TreeElement::directdata, ELEM, TreeElement::flag, TreeStoreElem::flag, GS, id, TreeElement::idcode, IFACE_, TreeElement::index, LISTBASE_FOREACH, MEM_callocN, TreeElement::name, StripElem::name, Sequence::name, ID::name, NULL, outliner_add_id_contents(), outliner_tree_element_type_create(), outliner_tree_element_type_expand(), outliner_tree_element_type_expand_poll(), outliner_tree_element_type_is_expand_valid(), outliner_tree_element_type_post_expand(), TreeElement::parent, PROP_BOOLEAN, PROP_COLLECTION, PROP_FLOAT, PROP_HIDDEN, PROP_INT, PROP_POINTER, ptr, RNA_property_array_item_char(), RNA_property_array_length(), RNA_property_collection_length(), RNA_property_collection_lookup_int(), RNA_property_flag(), RNA_property_pointer_get(), RNA_property_type(), RNA_property_ui_name(), RNA_struct_iterator_property(), RNA_struct_name_get_alloc(), RNA_struct_ui_name(), TreeElement::rnaptr, SEARCHING_OUTLINER, SEQ_TYPE_EFFECT, SEQ_TYPE_META, Sequence::seqbase, Sequence::strip, Strip::stripdata, TreeElement::subtree, TE_FREE_NAME, TE_LAZY_CLOSED, TREESTORE, TREESTORE_ID_TYPE, TSE_ANIM_DATA, TSE_CHILDSEARCH, TSE_CLOSED, TSE_DRIVER_BASE, TSE_GP_LAYER, TSE_ID_BASE, TSE_IS_REAL_ID, TSE_LAYER_COLLECTION, TSE_LIBRARY_OVERRIDE, TSE_LIBRARY_OVERRIDE_BASE, TSE_NLA, TSE_NLA_ACTION, TSE_NLA_TRACK, TSE_RNA_ARRAY_ELEM, TSE_RNA_PROPERTY, TSE_RNA_STRUCT, TSE_SCENE_COLLECTION_BASE, TSE_SEQ_STRIP, TSE_SEQUENCE, TSE_SEQUENCE_DUP, TSE_SOME_ID, TSE_VIEW_COLLECTION_BASE, TSELEM_OPEN, TreeElement::type, type, Sequence::type, PointerRNA::type, and TreeStoreElem::used.
Referenced by blender::ed::outliner::TreeDisplayViewLayer::buildTree(), blender::ed::outliner::TreeDisplaySequencer::buildTree(), blender::ed::outliner::TreeDisplayIDOrphans::buildTree(), blender::ed::outliner::TreeDisplayScenes::buildTree(), blender::ed::outliner::TreeDisplayDataAPI::buildTree(), blender::ed::outliner::TreeElementOverridesBase::expand(), blender::ed::outliner::TreeElementSceneObjectsBase::expand(), blender::ed::outliner::TreeElementViewLayerBase::expand(), blender::ed::outliner::TreeElementAnimData::expand(), blender::ed::outliner::TreeElementDriverBase::expand(), blender::ed::outliner::TreeElementNLA::expand(), blender::ed::outliner::TreeElementNLATrack::expand(), blender::ed::outliner::TreeElementID::expand_animation_data(), outliner_add_bone(), outliner_add_collection_objects(), outliner_add_collection_recursive(), outliner_add_id_contents(), outliner_add_object_contents(), and blender::ed::outliner::TreeElementID::postExpand().
|
static |
Definition at line 581 of file outliner_tree.c.
References Freestyle::a, bArmature::adt, CacheFile::adt, Camera::adt, Curve::adt, bGPdata::adt, Hair::adt, Key::adt, Light::adt, LightProbe::adt, FreestyleLineStyle::adt, Material::adt, Mesh::adt, MetaBall::adt, PointCloud::adt, Simulation::adt, Speaker::adt, Tex::adt, Volume::adt, World::adt, BLI_addtail(), BLI_assert, BLI_remlink(), bArmature::bonebase, TreeElement::directdata, bArmature::edbo, ListBase::first, GS, id, TreeStoreElem::id, ID_AC, ID_AR, ID_CA, ID_CF, ID_CU, ID_GD, ID_GR, ID_HA, ID_KE, ID_LA, ID_LI, ID_LP, ID_LS, ID_MA, ID_MB, ID_ME, ID_OB, ID_PT, ID_SCE, ID_SIM, ID_SPK, ID_TE, ID_VO, ID_WO, TreeElement::idcode, if(), Tex::ima, Mesh::key, bGPdata::layers, linestyle, LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD, LISTBASE_FOREACH_INDEX, Curve::mat, Mesh::mat, MetaBall::mat, MAX_MTEX, FreestyleLineStyle::mtex, TreeElement::name, ID::name, TreeElement::next, NULL, OB_MODE_POSE, outliner_add_bone(), outliner_add_collection_recursive(), outliner_add_element(), outliner_add_object_contents(), outliner_animdata_test(), EditBone::p, EditBone::parent, TreeElement::parent, simulation, TreeElement::subtree, EditBone::temp, tex, MTex::tex, Curve::totcol, Mesh::totcol, MetaBall::totcol, TREESTORE, TSE_ANIM_DATA, TSE_EBONE, TSE_GP_LAYER, and TSE_SOME_ID.
Referenced by outliner_add_element().
|
static |
Definition at line 306 of file outliner_tree.c.
References Freestyle::a, Object::adt, bPose::agroups, BLI_addtail(), BLI_listbase_is_empty(), BLI_remlink(), bPose::chanbase, Object::constraints, Object::data, Object::defbase, TreeElement::directdata, bArmature::edbo, eGpencilModifierType_Armature, eGpencilModifierType_Hook, eGpencilModifierType_Lattice, eModifierType_Armature, eModifierType_Curve, eModifierType_Hook, eModifierType_Lattice, eModifierType_ParticleSystem, eShaderFxType_Swirl, ListBase::first, Object::greasepencil_modifiers, ParticleSettings::id, ID_IS_LINKED, if(), IFACE_, Object::instance_collection, LISTBASE_FOREACH, LISTBASE_FOREACH_INDEX, Object::mat, Object::mode, Object::modifiers, TreeElement::name, ID::name, TreeElement::next, NULL, OB_DUPLICOLLECTION, OB_MODE_POSE, outliner_add_element(), outliner_animdata_test(), TreeElement::parent, bPoseChannel::parent, ParticleSystem::part, Object::pose, Object::poselib, Object::proxy, Object::shader_fx, str, TreeElement::subtree, bPoseChannel::temp, Object::totcol, Object::transflag, TREESTORE, TSE_ANIM_DATA, TSE_CONSTRAINT, TSE_CONSTRAINT_BASE, TSE_DEFGROUP, TSE_DEFGROUP_BASE, TSE_GPENCIL_EFFECT, TSE_GPENCIL_EFFECT_BASE, TSE_LINKED_OB, TSE_LINKED_PSYS, TSE_MODIFIER, TSE_MODIFIER_BASE, TSE_POSE_BASE, TSE_POSE_CHANNEL, TSE_POSEGRP, TSE_POSEGRP_BASE, TSE_PROXY, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_add_id_contents().
| bool outliner_animdata_test | ( | const AnimData * | adt | ) |
Definition at line 265 of file outliner_tree.c.
References AnimData::action, AnimData::drivers, ListBase::first, and AnimData::nla_tracks.
Referenced by blender::ed::outliner::TreeElementID::expand_animation_data(), outliner_add_id_contents(), and outliner_add_object_contents().
| void outliner_build_tree | ( | Main * | mainvar, |
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| SpaceOutliner * | space_outliner, | ||
| ARegion * | region | ||
| ) |
Definition at line 1870 of file outliner_tree.c.
References BKE_main_id_clear_newpoins(), BKE_outliner_treehash_rebuild_from_treestore(), BLI_assert, TreeSourceData::bmain, ARegion::do_draw, SpaceOutliner::filter, SpaceOutliner::flag, NULL, outliner_collections_children_sort(), outliner_filter_tree(), outliner_free_tree(), outliner_restore_scrolling_position(), outliner_sort(), outliner_storage_cleanup(), outliner_store_scrolling_position(), outliner_tree_display_build_tree(), outliner_tree_display_create(), outliner_tree_display_destroy(), 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, SpaceOutliner::storeflag, SpaceOutliner::tree, SpaceOutliner_Runtime::tree_display, SpaceOutliner_Runtime::treehash, and SpaceOutliner::treestore.
Referenced by collection_new_exec(), and draw_outliner().
| void outliner_cleanup_tree | ( | SpaceOutliner * | space_outliner | ) |
Definition at line 199 of file outliner_tree.c.
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 1385 of file outliner_tree.c.
References BLI_addtail(), BLI_listbase_clear(), BLI_listbase_count(), ListBase::first, tTreeSort::id, TreeStoreElem::id, ID_OB, TreeElement::idcode, tTreeSort::idcode, ListBase::last, LISTBASE_FOREACH, MEM_freeN, MEM_mallocN, TreeElement::name, tTreeSort::name, TreeElement::next, NULL, tTreeSort::te, treesort_child_not_in_collection(), TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_build_tree().
|
static |
Definition at line 1741 of file outliner_tree.c.
References ID_OB, TreeElement::idcode, outliner_is_collection_tree_element(), TreeElement::parent, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_extract_children_from_subtree().
|
static |
Definition at line 1621 of file outliner_tree.c.
References BASACT, BASE_SELECTABLE, BASE_SELECTED, BASE_VISIBLE_VIEWLAYER, BKE_view_layer_base_find(), BLI_assert, TreeElement::directdata, TreeStoreElem::id, ID_OB, TreeElement::idcode, NULL, OB_ARMATURE, OB_CAMERA, OB_EMPTY, OB_LAMP, OB_MESH, 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_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 1583 of file outliner_tree.c.
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, 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 1757 of file outliner_tree.c.
References BLI_insertlinkafter(), BLI_remlink(), element, NULL, outliner_element_is_collection_or_object(), outliner_free_tree_element(), TreeElement::parent, and TreeElement::prev.
Referenced by outliner_filter_subtree().
|
static |
Definition at line 1730 of file outliner_tree.c.
References TreeElement::name, and SO_FIND_CASE_SENSITIVE.
Referenced by outliner_filter_subtree().
|
static |
Definition at line 1782 of file outliner_tree.c.
References BLI_listbase_is_empty(), ListBase::first, TreeStoreElem::flag, TreeElement::next, outliner_element_visible_get(), outliner_extract_children_from_subtree(), outliner_filter_has_name(), outliner_free_tree_element(), SpaceOutliner::search_flags, SO_FILTER_SEARCH, TreeElement::subtree, TREESTORE, TSE_SEARCHMATCH, and TSELEM_OPEN.
Referenced by outliner_filter_tree().
|
static |
Definition at line 1842 of file outliner_tree.c.
References BLI_strncpy_ensure_pad(), NULL, outliner_exclude_filter_get(), outliner_filter_subtree(), SpaceOutliner::search_flags, SpaceOutliner::search_string, SO_FIND_COMPLETE, and SpaceOutliner::tree.
Referenced by outliner_build_tree().
|
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 NULL.
Definition at line 1509 of file outliner_tree.c.
References SpaceOutliner::filter, TreeElement::next, NULL, outliner_find_first_desired_element_at_y_recursive(), outliner_find_item_at_y(), SpaceOutliner::outlinevis, TreeElement::parent, SO_FILTER_NO_COLLECTION, SO_VIEW_LAYER, test_collection_callback(), test_object_callback(), SpaceOutliner::tree, UI_UNIT_Y, and TreeElement::ys.
Referenced by outliner_store_scrolling_position().
|
static |
See if TreeElement or any of its children pass the callback_test.
Definition at line 1475 of file outliner_tree.c.
References ListBase::first, TreeElement::next, NULL, TreeElement::store_elem, TreeElement::subtree, and TSELEM_OPEN.
Referenced by outliner_find_first_desired_element_at_y().
| void outliner_free_tree | ( | ListBase * | tree | ) |
Definition at line 192 of file outliner_tree.c.
References element, LISTBASE_FOREACH_MUTABLE, outliner_free_tree_element(), and tree.
Referenced by outliner_build_tree(), outliner_cleanup_tree(), outliner_free(), and outliner_free_tree_element().
| void 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 211 of file outliner_tree.c.
References BLI_assert, BLI_findindex(), BLI_remlink(), element, MEM_freeN, outliner_free_tree(), outliner_tree_element_type_free(), and TE_FREE_NAME.
Referenced by outliner_extract_children_from_subtree(), outliner_filter_subtree(), and outliner_free_tree().
| void outliner_make_object_parent_hierarchy | ( | ListBase * | lb | ) |
Definition at line 1179 of file outliner_tree.c.
References BLI_addtail(), BLI_remlink(), ListBase::first, Object::id, TreeStoreElem::id, ID_OB, TreeElement::idcode, if(), ID::newid, TreeElement::next, TreeElement::parent, Object::parent, TreeElement::subtree, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by blender::ed::outliner::TreeDisplayViewLayer::buildTree(), blender::ed::outliner::TreeDisplayScenes::buildTree(), and blender::ed::outliner::TreeElementSceneObjectsBase::expand().
| bool outliner_requires_rebuild_on_open_change | ( | const SpaceOutliner * | space_outliner | ) |
Check if a display mode needs a full rebuild if the open/collapsed state changes. Element types in these modes don't actually add children if collapsed, so the rebuild is needed.
Definition at line 241 of file outliner_tree.c.
References ELEM, SpaceOutliner::outlinevis, and SO_DATA_API.
| bool outliner_requires_rebuild_on_select_or_active_change | ( | const SpaceOutliner * | space_outliner | ) |
Definition at line 229 of file outliner_tree.c.
References outliner_exclude_filter_get(), SO_FILTER_OB_STATE_ACTIVE, and SO_FILTER_OB_STATE_SELECTED.
|
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 1437 of file outliner_tree.c.
References BLI_rctf_translate(), View2D::cur, MIN2, NULL, outliner_find_tree_element(), outliner_set_coordinates(), SpaceOutliner::tree, OutlinerTreeElementFocus::tselem, ARegion::v2d, rctf::ymax, TreeElement::ys, and OutlinerTreeElementFocus::ys.
Referenced by outliner_build_tree().
|
static |
Definition at line 1319 of file outliner_tree.c.
References BLI_addtail(), BLI_listbase_clear(), BLI_listbase_count(), ELEM, ListBase::first, tTreeSort::id, TreeStoreElem::id, ID_OB, TreeElement::idcode, tTreeSort::idcode, ListBase::last, LISTBASE_FOREACH, MEM_freeN, MEM_mallocN, TreeElement::name, tTreeSort::name, TreeElement::next, NULL, tTreeSort::te, treesort_alpha(), treesort_alpha_ob(), TREESTORE, TSE_DEFGROUP, TSE_ID_BASE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_build_tree().
|
static |
Definition at line 91 of file outliner_tree.c.
References BKE_outliner_treehash_clear_used(), BKE_outliner_treehash_free(), BKE_outliner_treehash_rebuild_from_treestore(), BLI_mempool_alloc(), BLI_MEMPOOL_ALLOW_ITER, BLI_mempool_create(), BLI_mempool_destroy(), BLI_mempool_iternew(), BLI_mempool_iterstep(), BLI_mempool_len(), TreeStoreElem::id, NULL, SpaceOutliner::runtime, SO_TREESTORE_CLEANUP, SpaceOutliner::storeflag, SpaceOutliner_Runtime::treehash, 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 1563 of file outliner_tree.c.
References View2D::cur, NULL, outliner_find_first_desired_element_at_y(), outliner_set_coordinates(), TREESTORE, OutlinerTreeElementFocus::tselem, ARegion::v2d, rctf::ymax, rctf::ymin, TreeElement::ys, and OutlinerTreeElementFocus::ys.
Referenced by outliner_build_tree().
|
static |
Definition at line 1461 of file outliner_tree.c.
References outliner_is_collection_tree_element().
Referenced by outliner_find_first_desired_element_at_y().
|
static |
Definition at line 1466 of file outliner_tree.c.
References ID_OB, TreeElement::idcode, TREESTORE, TSE_SOME_ID, and TreeStoreElem::type.
Referenced by outliner_find_first_desired_element_at_y().
|
static |
Definition at line 1262 of file outliner_tree.c.
References BLI_strcasecmp_natural(), tTreeSort::name, v1, v2, and x2.
Referenced by outliner_sort().
|
static |
Definition at line 1211 of file outliner_tree.c.
References BLI_strcasecmp_natural(), TreeElement::flag, ID_OB, tTreeSort::idcode, tTreeSort::name, tTreeSort::te, TE_CHILD_NOT_IN_COLLECTION, v1, v2, and x2.
Referenced by outliner_sort().
|
static |
Definition at line 1249 of file outliner_tree.c.
References TreeElement::flag, tTreeSort::te, TE_CHILD_NOT_IN_COLLECTION, v1, v2, and x2.
Referenced by outliner_collections_children_sort().