Fix missing libraries reported as older than 2.50 data, take II.

Fix wrong logic in own recent ee9d7fc9a3, sorry for the noise.
This commit is contained in:
Bastien Montagne
2025-10-03 17:00:30 +02:00
parent 34ca3cb226
commit 4372775a18

View File

@@ -667,9 +667,8 @@ MainListsArray BKE_main_lists_get(Main &bmain);
* typically when a library is missing, by definition its data (placeholder IDs) does not need
* versionning anyway then. */
#define LIBRARY_VERSION_FILE_ATLEAST(lib, ver, subver) \
(((lib)->runtime->versionfile != 0) && \
((lib)->runtime->versionfile > (ver) || \
((lib)->runtime->versionfile == (ver) && (lib)->runtime->subversionfile >= (subver))))
((lib)->runtime->versionfile == 0 || (lib)->runtime->versionfile > (ver) || \
((lib)->runtime->versionfile == (ver) && (lib)->runtime->subversionfile >= (subver)))
/**
* The size of thumbnails (optionally) stored in the `.blend` files header.