Blender V5.3
userpref_asset_libraries_list.cc File Reference
#include "BKE_blender_project.hh"
#include "BKE_global.hh"
#include "BKE_preferences.h"
#include "BLI_listbase.hh"
#include "BLT_translation.hh"
#include "DNA_screen_types.h"
#include "UI_interface_layout.hh"
#include "UI_tree_view.hh"
#include "RNA_access.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "ED_asset_library_ui.hh"
#include "ED_userpref.hh"
#include "userpref_intern.hh"

Go to the source code of this file.

Classes

struct  blender::AssetLibraryListItem
struct  blender::AssetLibraryRepoItem

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static Vector< AnyAssetLibraryDefinition > blender::userpref_ui_asset_libraries ()
static std::optional< int > blender::userpref_ui_asset_libraries_index_from_user_library (const bUserAssetLibrary &user_library)
struct bUserAssetLibrary * blender::ED_userpref_asset_library_active_get ()
void blender::ED_userpref_asset_library_active_set (const bUserAssetLibrary &asset_library)
static bool blender::asset_library_repo_is_disabled (const AnyAssetLibraryDefinition &library)
void blender::userpref_asset_libraries_panel_draw (const bContext *C, Panel *panel)
Asset UI List

The list in the UI includes the "All" & "Essentials" libraries and the extension repositories, so its size differs from #U.asset_libraries.

int blender::userpref_ui_asset_libraries_count ()

Variables

constexpr int blender::FIXED_ITEMS_COUNT = 2