WIP: Brush assets project #106303

Draft
Julian Eisel wants to merge 381 commits from brush-assets-project into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 11 additions and 10 deletions
Showing only changes of commit dc687427fc - Show all commits

View File

@ -496,7 +496,8 @@ void region_on_poll_success(const bContext *C, ARegion *region)
return;
}
update_active_shelf(*C, *area->type, *shelf_regiondata, [&](AssetShelf &new_shelf) {
update_active_shelf(
*C, *area->type, *shelf_regiondata, /*on_create=*/[&](AssetShelf &new_shelf) {
/* Update region visibility (`'DEFAULT_VISIBLE'` option). */
const int old_flag = region->flag;
SET_FLAG_FROM_TEST(region->flag,