From 0c0170f77a66eb07b2a59ea0303216df01bb09ac Mon Sep 17 00:00:00 2001 From: Ankit Date: Fri, 27 Mar 2020 18:56:01 +0100 Subject: [PATCH] Fix error in macOS system file detection in recent changes Differential Revision: https://developer.blender.org/D7250 --- source/blender/blenlib/intern/storage_apple.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenlib/intern/storage_apple.mm b/source/blender/blenlib/intern/storage_apple.mm index 7cb8ca28e24..0cc246b8d4f 100644 --- a/source/blender/blenlib/intern/storage_apple.mm +++ b/source/blender/blenlib/intern/storage_apple.mm @@ -87,7 +87,7 @@ eFileAttributes BLI_file_attributes(const char *path) if (is_readable && !is_writable) { ret |= FILE_ATTR_READONLY; } - if (is_readable) { + if (!is_readable) { ret |= FILE_ATTR_SYSTEM; } }