WIP: uv-simple-select #1

Closed
Chris Blackbourn wants to merge 182 commits from uv-simple-select into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit b69b8e5198 - Show all commits

View File

@ -148,9 +148,6 @@ static void file_but_enable_drag(uiBut *but,
(file->typeflag & FILE_TYPE_ASSET) != 0) { (file->typeflag & FILE_TYPE_ASSET) != 0) {
char blend_path[FILE_MAX_LIBEXTRA]; char blend_path[FILE_MAX_LIBEXTRA];
if (BLO_library_path_explode(path, blend_path, NULL, NULL)) { if (BLO_library_path_explode(path, blend_path, NULL, NULL)) {
const FileAssetSelectParams *asset_params = ED_fileselect_get_asset_params(sfile);
BLI_assert(asset_params != NULL);
const int import_method = ED_fileselect_asset_import_method_get(sfile, file); const int import_method = ED_fileselect_asset_import_method_get(sfile, file);
BLI_assert(import_method > -1); BLI_assert(import_method > -1);