diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-15 05:30:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-15 06:48:17 +0300 |
commit | d3b4ff6eaa1cb155adf4b2aad4775746bc3ca6df (patch) | |
tree | 61318f6b875426fd284c966212f4ca0f79ce530b /source/blender/blenkernel | |
parent | 042f06ef3cd8d2c39593258c5bc4198d647f573b (diff) |
Cleanup: rename G_FILE_RECOVER -> G_FILE_RECOVER_READ
No functional changes, make room for a write equivalent.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_global.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/blendfile.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index aa293e4c382..fc2ce4bf8a5 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -178,7 +178,7 @@ enum { * 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), + G_FILE_RECOVER_READ = (1 << 23), /** BMesh option to save as older mesh format */ /* #define G_FILE_MESH_COMPAT (1 << 26) */ /* #define G_FILE_GLSL_NO_ENV_LIGHTING (1 << 28) */ /* deprecated */ diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c index 967eb81026c..efbf19c7381 100644 --- a/source/blender/blenkernel/intern/blendfile.c +++ b/source/blender/blenkernel/intern/blendfile.c @@ -140,7 +140,7 @@ static void setup_app_data(bContext *C, { Main *bmain = G_MAIN; Scene *curscene = NULL; - const bool recover = (G.fileflags & G_FILE_RECOVER) != 0; + const bool recover = (G.fileflags & G_FILE_RECOVER_READ) != 0; const bool is_startup = params->is_startup; enum { LOAD_UI = 1, |