Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit <ankitm>2020-03-27 20:56:01 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-27 20:56:58 +0300
commit0c0170f77a66eb07b2a59ea0303216df01bb09ac (patch)
tree6bdb36960a73ac249c1a5d23f19fc8b5f2fcdb15 /source/blender/blenlib
parent9120191fe2a28a3d01a51f536df7b433a7764803 (diff)
Fix error in macOS system file detection in recent changes
Differential Revision: https://developer.blender.org/D7250
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/storage_apple.mm2
1 files changed, 1 insertions, 1 deletions
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;
}
}