Merge branch 'blender-v3.5-release'
This commit is contained in:
@@ -214,6 +214,9 @@ std::string AssetLibraryService::root_path_from_library_ref(
|
||||
if (ELEM(library_reference.type, ASSET_LIBRARY_ALL, ASSET_LIBRARY_LOCAL)) {
|
||||
return "";
|
||||
}
|
||||
if (ELEM(library_reference.type, ASSET_LIBRARY_ESSENTIALS)) {
|
||||
return essentials_directory_path();
|
||||
}
|
||||
|
||||
if (ELEM(library_reference.type, ASSET_LIBRARY_ESSENTIALS)) {
|
||||
return essentials_directory_path();
|
||||
|
||||
@@ -253,11 +253,20 @@ static void gather_search_link_ops_for_all_assets(const bContext &C,
|
||||
C, node_tree, socket, library_ref, true, search_link_ops);
|
||||
}
|
||||
|
||||
AssetLibraryReference library_ref{};
|
||||
library_ref.custom_library_index = -1;
|
||||
library_ref.type = ASSET_LIBRARY_LOCAL;
|
||||
gather_search_link_ops_for_asset_library(
|
||||
C, node_tree, socket, library_ref, false, search_link_ops);
|
||||
{
|
||||
AssetLibraryReference library_ref{};
|
||||
library_ref.custom_library_index = -1;
|
||||
library_ref.type = ASSET_LIBRARY_ESSENTIALS;
|
||||
gather_search_link_ops_for_asset_library(
|
||||
C, node_tree, socket, library_ref, true, search_link_ops);
|
||||
}
|
||||
{
|
||||
AssetLibraryReference library_ref{};
|
||||
library_ref.custom_library_index = -1;
|
||||
library_ref.type = ASSET_LIBRARY_LOCAL;
|
||||
gather_search_link_ops_for_asset_library(
|
||||
C, node_tree, socket, library_ref, false, search_link_ops);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user