Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/asset/asset_list.cc')
-rw-r--r--source/blender/editors/asset/asset_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/asset/asset_list.cc b/source/blender/editors/asset/asset_list.cc
index 3095239b711..e610a1dfbcd 100644
--- a/source/blender/editors/asset/asset_list.cc
+++ b/source/blender/editors/asset/asset_list.cc
@@ -500,7 +500,7 @@ std::string ED_assetlist_asset_filepath_get(const bContext *C,
return {};
}
const char *library_path = ED_assetlist_library_path(&library_reference);
- if (!library_path) {
+ if (!library_path && C) {
library_path = assetlist_library_path_from_sfile_get_hack(C);
}
if (!library_path) {