diff options
author | Bastien Montagne <bastien@blender.org> | 2022-09-14 16:48:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-09-14 16:48:49 +0300 |
commit | 56fb2a5ed0f54af198d450542c3536be516d7214 (patch) | |
tree | bc214530037d22da2440ec021a5c0230689520e0 /source/blender/blenkernel/BKE_main.h | |
parent | 22bf5ba4d1526c9e942a2dbd6f25e3932e9d71f2 (diff) |
Cleanup: use proper `bool` variables in Main, instead of `char`.
Diffstat (limited to 'source/blender/blenkernel/BKE_main.h')
-rw-r--r-- | source/blender/blenkernel/BKE_main.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h index 4d26ed11f1b..b741489d929 100644 --- a/source/blender/blenkernel/BKE_main.h +++ b/source/blender/blenkernel/BKE_main.h @@ -116,25 +116,25 @@ typedef struct Main { uint64_t build_commit_timestamp; /* commit's timestamp from buildinfo */ char build_hash[16]; /* hash from buildinfo */ /** Indicate the #Main.filepath (file) is the recovered one. */ - char recovered; + bool recovered; /** All current ID's exist in the last memfile undo step. */ - char is_memfile_undo_written; + bool is_memfile_undo_written; /** * An ID needs its data to be flushed back. * use "needs_flush_to_id" in edit data to flag data which needs updating. */ - char is_memfile_undo_flush_needed; + bool is_memfile_undo_flush_needed; /** * Indicates that next memfile undo step should not allow reusing old bmain when re-read, but * instead do a complete full re-read/update from stored memfile. */ - char use_memfile_full_barrier; + bool use_memfile_full_barrier; /** * When linking, disallow creation of new data-blocks. * Make sure we don't do this by accident, see T76738. */ - char is_locked_for_linking; + bool is_locked_for_linking; BlendThumbnail *blen_thumb; |