UI: Cleanup Dialog to Manage Orphaned Data #106653

Merged
Harley Acheson merged 22 commits from Harley/blender:ManageData into main 2024-01-17 01:09:21 +01:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 56c2b3b3a3 - Show all commits

View File

@ -2347,7 +2347,6 @@ static std::string orphan_desc(const bContext *C, const bool local, bool linked,
static uiBlock *wm_block_create_orphans_cleanup(bContext *C, ARegion *region, void *arg)
{
OrphansPurgeData *purge_data = static_cast<OrphansPurgeData *>(arg);
Harley marked this conversation as resolved Outdated

Use static_cast here instead of C style cast

Use `static_cast` here instead of C style cast
wmOperator *op = purge_data->op;
uiBlock *block = UI_block_begin(C, region, "orphans_remove_popup", UI_EMBOSS);
UI_block_flag_enable(
block, UI_BLOCK_KEEP_OPEN | UI_BLOCK_LOOP | UI_BLOCK_NO_WIN_CLIP | UI_BLOCK_NUMSELECT);