diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-15 03:27:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-15 06:48:17 +0300 |
commit | 042f06ef3cd8d2c39593258c5bc4198d647f573b (patch) | |
tree | de9a9c320c15b3eb15cab3bf8356fd77096721b4 /source/blender/blenkernel/BKE_global.h | |
parent | c23da7a5c9079702a33ea2309d9ee1d714481237 (diff) |
Cleanup: update comments, remove ifdef'd code
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r-- | source/blender/blenkernel/BKE_global.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index d6b6ffd425e..aa293e4c382 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -170,8 +170,14 @@ enum { /* Bits 11 to 22 (inclusive) are deprecated & need to be cleared */ - /** On read, use #FileGlobal.filename instead of the real location on-disk, - * needed for recovering temp files so relative paths resolve */ + /** + * On read, use #FileGlobal.filename instead of the real location on-disk, + * needed for recovering temp files so relative paths resolve. + * + * \note In some ways it would be nicer to make this an argument passed to file loading. + * In practice this means recover needs to be passed around to too many low level functions, + * so keep this as a flag. + */ G_FILE_RECOVER = (1 << 23), /** BMesh option to save as older mesh format */ /* #define G_FILE_MESH_COMPAT (1 << 26) */ |