From 4372775a18e0b5084f5e3a023547c5f585f1d955 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 3 Oct 2025 17:00:30 +0200 Subject: [PATCH] Fix missing libraries reported as older than 2.50 data, take II. Fix wrong logic in own recent ee9d7fc9a3a4df8, sorry for the noise. --- source/blender/blenkernel/BKE_main.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/blender/blenkernel/BKE_main.hh b/source/blender/blenkernel/BKE_main.hh index 5a9d2081ab8..94e4bf04f54 100644 --- a/source/blender/blenkernel/BKE_main.hh +++ b/source/blender/blenkernel/BKE_main.hh @@ -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.