WIP: Brush assets project #106303
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue