IDManagement: Update the Purge operator to display an interactive popup. #117304

Merged
Bastien Montagne merged 2 commits from mont29/blender:tmp-purge-as-popup into main 2024-02-09 17:01:42 +01:00

2 Commits

Author SHA1 Message Date
Bastien Montagne 15024cd96f IDManagement: Update the Purge operator to display an interactive popup.
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
Make the 'purge' operation show an interactive popup by default, with
a preview of the type and amount of data-blocks to be deleted.

Idea and initial UI/UX design are from @Harley (see PR !117242).
2024-02-09 15:24:07 +01:00
Bastien Montagne 1409ff0a72 Refactor `BKE_lib_query_unused_ids` API.
Add a new `BKE_lib_query_unused_ids_amounts` to query expected amounts
of deleted IDs. This function does not tag IDs in main anymore.

Factorize most parameters (and output data) into a new struct
`LibQueryUnusedIDsData`.

Part of PR #117304.
2024-02-09 15:21:42 +01:00