Report/confirm overwrite of 'asset library' blendfiles. #117346

Merged
Bastien Montagne merged 5 commits from mont29/blender:bap-open-warning into brush-assets-project 2024-01-25 17:10:39 +01:00

5 Commits

Author SHA1 Message Date
Bastien Montagne 3195a0625a Updated tooltip message from review. 2024-01-25 11:02:15 +01:00
Bastien Montagne 5327a7e98e Merge branch 'brush-assets-project' into bap-open-warning 2024-01-25 10:55:56 +01:00
Bastien Montagne 97504185eb Update handling of 'data only' files from review.
buildbot/vexp-code-patch-lint 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-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-01-23 17:56:38 +01:00
Bastien Montagne 4decb79288 Merge branch 'brush-assets-project' into bap-open-warning 2024-01-23 15:56:23 +01:00
Bastien Montagne f2a8008869 Protoype to report/confirm overwrite of 'library' blendfiles.
This commit extends the reporting and overwrite confirmation system
created for blendfiles saved by later Blender version, to also detect
and handle 'library' blendfiles (typically saved by partial-write API,
they do not have a defined current Screen or Scene in their global
data).

the implementation details are fairly straightforward, but this commit
raises some design questions:

* Do we care reporting in the status bar about the 'library blendfile'
  case? Unlike opening a more recent blender version blendfile, opening
  a library file has no loss of data.
* When both issues are present (and potentially more in the future), do
  we want a merged info of all present issues, or do we define some sort
  of priority order, and only report the highest priority issue?

As it is right now, this commit can make both the status bar tooltip,
and the overwrite confirmation popup, fairly busy...

Obviously, naming and UI messages are also open for discussion.
2024-01-19 19:16:25 +01:00