diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-08 05:48:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-08 05:48:31 +0300 |
commit | 7b663976645973f15b243c101497626c590c2cde (patch) | |
tree | 6fb5ff51cc47a3c256fa84ea1a07acd71217f2af /source/blender/blenloader/intern | |
parent | 901a03725ed58166e5b2401dfadd7c1cb7e490a2 (diff) |
Cleanup: spelling in comments, use C++ comments for disabled code
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 9539436cf69..370137908c3 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -161,7 +161,7 @@ * which keeps large arrays in memory from data-blocks we may not even use. * * \note This is disabled when using compression, - * while zlib supports seek it's unusably slow, see: T61880. + * while zlib supports seek it's unusable slow, see: T61880. */ #define USE_BHEAD_READ_ON_DEMAND @@ -4711,9 +4711,9 @@ static void read_library_linked_ids(FileData *basefd, read_library_linked_id(basefd, fd, mainvar, id, realid); } - /* realid shall never be NULL - unless some source file/lib is broken + /* `realid` shall never be NULL - unless some source file/lib is broken * (known case: some directly linked shapekey from a missing lib...). */ - /* BLI_assert(*realid != NULL); */ + // BLI_assert(*realid != NULL); /* Now that we have a real ID, replace all pointers to placeholders in * fd->libmap with pointers to the real data-blocks. We do this for all diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index 2908b2b151b..5b026c1cca0 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -1075,11 +1075,10 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) } } - /* ton: made this 230 instead of 229, - * to be sure (tuho files) and this is a reliable check anyway + /* NOTE(@ton): made this 230 instead of 229, + * to be sure (files from the `tuhopuu` branch) and this is a reliable check anyway * nevertheless, we might need to think over a fitness (initialize) - * check apart from the do_versions() - */ + * check apart from the do_versions(). */ if (bmain->versionfile <= 230) { bScreen *screen; |